Function at 0x41e310
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44d768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push 0
mov ebp, ecx
call fcn.0042d017
add esp, 4
mov dword [esp + 0x28], eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edx
call fcn.0041e240
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
lea esi, [ebp + 0x18]
push esi
add edx, 0x21c
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], 0
call fcn.00408560
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [esp + 0x10]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x41e3ee
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x21c
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00408560
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push edi
push esi
add ecx, 0x21c
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x48], 1
call fcn.00403e70
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x48], 2
call fcn.00408560
push str..ini
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x48], 3
call fcn.00403e70
mov edi, eax
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x224
push ecx
lea edx, [esp + 0x20]
mov bl, 4
push edx
mov byte [esp + 0x48], bl
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 5
call fcn.00403e70
mov edi, dword [edi]
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.InstallPath
push str.Globals
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e53c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e55f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x21c
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 6
call fcn.00403e70
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 7
push ecx
mov byte [esp + 0x48], bl
call fcn.00408560
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 8
call fcn.00403e70
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
push str.InstallTime
push str.Globals
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e609
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e62c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e64f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x21c
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 9
call fcn.00403e70
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xa
push ecx
mov byte [esp + 0x48], bl
call fcn.00408560
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xb
call fcn.00403e70
mov eax, dword [eax]
push eax
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x20c]
push edx
push str.ClientID
push str.Globals
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e6e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x21c
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00408560
push 0x44fef0
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 0xc
call fcn.00403e70
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xd
push ecx
mov byte [esp + 0x48], bl
call fcn.00408560
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xe
call fcn.00403e70
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 0x453ec8
push str.Globals
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x41e7d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebp
pop ebx
jg 0x41e7f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e83c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e861
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret