Function at 0x40a300
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4870c3
mov eax, dword fs:[0]
push eax
sub esp, 0x7f4
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x7f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x804]
mov dword fs:[0], eax
mov eax, dword [esp + 0x814]
mov esi, dword [esp + 0x818]
mov edi, dword [esp + 0x81c]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.00402410
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x818], 0
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x4b36dc
mov byte [esp + 0x810], 1
call fcn.0044fa66
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401380
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a3d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a3f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x40a43f
lea esi, [ebx - 0x10]
push esi
call fcn.00401380
mov edi, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x80c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a438
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
jmp 0x40a688
lea eax, [esp + 0x24]
push eax
call fcn.00407280
push 0x490340
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x81c], 5
call fcn.00403080
push edi
push esi
mov byte [esp + 0x824], 6
call fcn.004090b0
add esp, 0x18
test eax, eax
je 0x40a50a
lea eax, [esp + 0x10]
push eax
call fcn.00408bb0
push 0x490340
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
mov bl, 7
push edx
mov byte [esp + 0x81c], bl
call fcn.00403080
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x810], 8
call fcn.004022f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x80c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a4e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a50a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48fda0
push 0x48fd98
lea ecx, [esp + 0x1c]
call fcn.00402d90
push 0x7d0
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00467da0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0x3e8
lea eax, [esp + 0x38]
push eax
push 0x494c78
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [esp + 0x14]
call fcn.00402410
push edi
push eax
lea ecx, [esp + 0x20]
mov bl, 9
push ecx
mov byte [esp + 0x818], bl
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x4b36dc
mov byte [esp + 0x810], 0xa
call fcn.0044fa66
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
jmp 0x40a590
mov si, word [edx]
add edx, 2
test si, si
jne 0x40a590
sub edx, ecx
sar edx, 1
push edx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
call fcn.00402100
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x80c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00402410
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a633
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a65b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x80c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x804]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7f0]
xor ecx, esp
call fcn.00467b90
add esp, 0x800
ret