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

Disassembly:
push 0xffffffffffffffff
push 0x447338
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.00429f0f
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.0041b8c0
mov ecx, dword [0x45d16c]
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.00407ec0
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 0x41ba24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x41ba68
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00407ec0
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 0x41ba68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push edi
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x48], 1
call fcn.00403800
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x48], 2
call fcn.00407ec0
push str..ini
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x48], 3
call fcn.00403800
mov edi, eax
mov eax, dword [0x45d16c]
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.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 5
call fcn.00403800
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 0x41bb25
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 0x41bb47
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 0x41bb6a
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 0x41bb8d
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 0x41bbb0
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 0x41bbd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 6
call fcn.00403800
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 7
push ecx
mov byte [esp + 0x48], bl
call fcn.00407ec0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 8
call fcn.00403800
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 0x41bc58
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 0x41bc7a
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 0x41bc9d
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 0x41bcc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 9
call fcn.00403800
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xa
push ecx
mov byte [esp + 0x48], bl
call fcn.00407ec0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xb
call fcn.00403800
mov eax, dword [eax]
push eax
mov eax, dword [0x45d16c]
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 0x41bd4c
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 0x41bd6e
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 0x41bd91
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 0x41bdb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push esi
add ecx, 0x14
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x48], 0xc
call fcn.00403800
push esi
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xd
push ecx
mov byte [esp + 0x48], bl
call fcn.00407ec0
push str..ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x48], 0xe
call fcn.00403800
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 0x44df98
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 0x41be39
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 0x41be5e
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 0x41be81
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 0x41bea4
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 0x41bec9
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