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

Disassembly:
push 0xffffffffffffffff
push 0x45b93c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x47bdb8]
push ebx
mov dword [esp + 0x214], eax
push esi
xor ebx, ebx
push ebx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x228], ebx
call fcn.004297b0
mov eax, dword [esp + 0x22c]
push ebx
push ebx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x230], 1
call fcn.0042a9a0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0x4620c8
lea ecx, [esp + 0xf8]
mov byte [esp + 0x230], 3
call fcn.0042a6f0
mov esi, eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esi
call fcn.00402e10
mov eax, dword [esp + 0x230]
mov byte [esp + 0x224], 4
mov dword [esp + 0x4c], eax
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov byte [esp + 0x224], 5
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor ecx, ecx
cmp esi, ebx
mov byte [esp + 0x224], 6
mov dword [esp + 0x10], ecx
jle 0x404195
push ebp
push edi
jmp 0x403f60
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx*4]
cmp eax, ebx
mov edx, dword [esp + 0x28]
mov ebp, dword [edx + ecx*4]
je 0x404182
cmp ebp, ebx
je 0x404182
mov esi, dword [eax + 4]
mov edi, dword [eax]
call fcn.00441045
push eax
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00402cf0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 7
call fcn.004018d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
jl 0x404093
push 0x4620c4
push esi
call fcn.00417f4f
add esp, 8
cmp eax, ebx
je 0x404093
sub eax, esi
mov esi, eax
cmp esi, 0xffffffff
je 0x404093
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.004032c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 8
call fcn.004018d0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40404a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00403150
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x230], 9
call fcn.004018d0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4040af
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.004018d0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004018d0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x60]
call fcn.004018d0
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
call fcn.00441045
push eax
push esi
push edi
lea ecx, [esp + 0x2c]
call fcn.00402cf0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x230], 0xa
call fcn.004018d0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404110
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x58]
call fcn.004034f0
mov ecx, dword [esp + 0x234]
mov eax, dword [eax]
push ecx
push 0x80
lea edx, [esp + 0x7c]
push edx
push 0x4620c0
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x74]
push eax
call fcn.004180c4
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
je 0x40417e
mov ecx, eax
call fcn.00403650
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x403f60
pop edi
pop ebp
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x224], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x224], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x224], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404225
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x224], 0xb
call fcn.00402d60
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x224], 2
je 0x40428b
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x224], 0xc
call fcn.00402d60
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x224], 1
je 0x4042b5
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x224], bl
call fcn.0042a8a0
mov eax, dword [esp + 0x22c]
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebx
jg 0x4042f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x210]
call fcn.0041723c
add esp, 0x220
ret 8