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

Disassembly:
push 0xffffffffffffffff
push 0x4416c8
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.0042481b
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.00416390
mov ecx, dword [0x45616c]
mov edx, dword [ecx + 0x14]
lea esi, [ebp + 0x18]
push esi
add edx, 0x14
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], 0
call fcn.00407fd0
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 0x4164f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x416538
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00407fd0
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 0x416538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push edi
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x48], 1
call fcn.00403020
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x48], 2
call fcn.00407fd0
push str..ini
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x48], 3
call fcn.00403020
mov edi, eax
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x1c
push ecx
lea edx, [esp + 0x20]
mov bl, 4
push edx
mov byte [esp + 0x48], bl
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 5
call fcn.00403020
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 0x4165f5
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 0x416617
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 0x41663a
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 0x41665d
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 0x416680
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 0x4166a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 6
call fcn.00403020
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 7
push ecx
mov byte [esp + 0x48], bl
call fcn.00407fd0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 8
call fcn.00403020
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 0x416728
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 0x41674a
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 0x41676d
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 0x416790
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 9
call fcn.00403020
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xa
push ecx
mov byte [esp + 0x48], bl
call fcn.00407fd0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xb
call fcn.00403020
mov eax, dword [eax]
push eax
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
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 0x41681c
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 0x41683e
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 0x416861
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 0x416884
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407fd0
push 0x443cf8
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 0xc
call fcn.00403020
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xd
push ecx
mov byte [esp + 0x48], bl
call fcn.00407fd0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xe
call fcn.00403020
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 0x447490
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 0x416909
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 0x41692e
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 0x416951
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 0x416974
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 0x416999
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