Function at 0x4037f0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45b898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov eax, dword [0x47bdb8]
push ebx
push esi
mov dword [esp + 0x24c], eax
push edi
xor esi, esi
push esi
lea ecx, [esp + 0x128]
mov dword [esp + 0x260], esi
call fcn.004297b0
mov eax, dword [esp + 0x264]
push esi
push esi
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x268], 1
call fcn.0042a9a0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
push 0x4620c8
lea ecx, [esp + 0x130]
mov byte [esp + 0x268], 3
call fcn.0042a6f0
mov edi, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], edi
call fcn.00402e10
mov eax, dword [esp + 0x268]
mov byte [esp + 0x25c], 4
mov dword [esp + 0x28], eax
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x25c], 5
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor ecx, ecx
cmp edi, esi
mov bl, 6
mov byte [esp + 0x25c], bl
mov dword [esp + 0x24], ecx
jle 0x403cc4
push ebp
lea esp, [esp]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + ecx*4]
cmp eax, esi
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + ecx*4]
je 0x403cae
cmp ebp, esi
je 0x403cae
mov esi, dword [eax + 4]
mov edi, dword [eax]
call fcn.00441045
push eax
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00402cf0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 7
call fcn.004018d0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x260], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40396f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x403a32
push 0x4620c4
push esi
call fcn.00417f4f
add esp, 8
test eax, eax
je 0x403a32
sub eax, esi
mov esi, eax
cmp esi, 0xffffffff
je 0x403a32
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x18]
call fcn.004032c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 8
call fcn.004018d0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x260], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4039ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
call fcn.00403150
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x264], 9
call fcn.004018d0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x260], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x403a4e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.004018d0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.004018d0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
call fcn.004018d0
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
call fcn.00441045
push eax
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00402cf0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x264], 0xa
call fcn.004018d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x260], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.004034f0
mov edi, dword [esp + 0x268]
mov eax, dword [eax]
push edi
push 0x80
lea ecx, [esp + 0xb0]
push ecx
push 0x4620c0
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xa8]
push eax
call fcn.004180c4
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
je 0x403cac
mov ecx, dword [esp + 0x270]
test ecx, ecx
je 0x403b3e
mov ecx, eax
call fcn.00403650
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403b8f
lea ecx, [esp + 0x2c]
call fcn.004035a0
test eax, eax
je 0x403cac
lea ecx, [esp + 0x80]
call fcn.00425260
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0x264], 0xb
call fcn.00424660
test eax, eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x260], bl
jne 0x403ca7
call fcn.00424ef0
lea ecx, [esp + 0x94]
call fcn.00425260
push 0x4681b4
lea ecx, [esp + 0x24]
mov byte [esp + 0x264], 0xc
call fcn.00401b00
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x270], 0xd
call fcn.004258d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x260], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
mov byte [esp + 0x260], 0xe
je 0x403c77
push eax
lea eax, [esp + 0x20]
push 0x4620ac
push eax
call fcn.004032f0
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x30]
call fcn.004034f0
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
push edi
push esi
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403c77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x260], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x260], bl
lea ecx, [esp + 0x94]
call fcn.00424ef0
xor esi, esi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x78]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x403900
pop ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x25c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cea
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 + 0x25c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x25c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x25c], 0xf
call fcn.00402d60
mov eax, dword [esp + 0x5c]
cmp eax, esi
mov byte [esp + 0x25c], 2
je 0x403dba
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x25c], 0x10
call fcn.00402d60
mov eax, dword [esp + 0x4c]
pop edi
cmp eax, esi
pop esi
mov byte [esp + 0x254], 1
pop ebx
je 0x403de7
push eax
call fcn.00440f68
add esp, 4
lea ecx, [esp + 0x118]
mov byte [esp + 0x250], 0
call fcn.0042a8a0
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
mov dword [esp + 0x250], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x244]
call fcn.0041723c
add esp, 0x254
ret 0x10