Function at 0x403470
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45384c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x472d88]
push esi
mov dword [esp + 0x230], eax
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x10c]
mov dword [esp + 0x244], edi
call fcn.00428420
mov eax, dword [esp + 0x248]
push edi
push edi
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x24c], 1
call fcn.00429610
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
push 0x45a0a0
lea ecx, [esp + 0x114]
mov byte [esp + 0x24c], 3
call fcn.00429360
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], esi
call fcn.00402d80
mov eax, dword [esp + 0x24c]
xor ecx, ecx
cmp esi, edi
mov byte [esp + 0x240], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jle 0x4037b8
push ebx
push ebp
mov bl, 5
mov edx, dword [esp + 0x54]
mov eax, dword [edx + ecx*4]
cmp eax, edi
mov edx, dword [esp + 0x44]
mov esi, dword [edx + ecx*4]
je 0x40379f
cmp esi, edi
je 0x40379f
mov edi, dword [eax + 4]
mov ebp, dword [eax]
call fcn.00439071
push eax
push edi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00402c80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24c], bl
call fcn.00401880
mov edi, dword [esi + 4]
mov esi, dword [esi]
call fcn.00439071
push eax
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.00402c80
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x24c], 6
call fcn.00401880
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x248], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4035de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x250]
mov ecx, dword [esp + 0x2c]
push edi
push 0x80
lea eax, [esp + 0x98]
push eax
push 0x45a09c
push ecx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x90]
push edx
call fcn.00417a52
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x403779
mov ecx, dword [esp + 0x258]
test ecx, ecx
je 0x403644
mov ecx, eax
call fcn.004032d0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40368c
lea ecx, [esp + 0x24]
call fcn.00403220
test eax, eax
je 0x403779
lea ecx, [esp + 0x68]
call fcn.00424bc0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x24c], 7
call fcn.00424000
test eax, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x248], bl
jne 0x403774
call fcn.00424850
lea ecx, [esp + 0x7c]
call fcn.00424bc0
push 0x46014c
lea ecx, [esp + 0x18]
mov byte [esp + 0x24c], 8
call fcn.00401ab0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x258], 9
call fcn.004251e0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x248], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
mov byte [esp + 0x248], 0xa
je 0x403747
push eax
lea eax, [esp + 0x1c]
push 0x45a088
push eax
call fcn.004030c0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push edi
push esi
push ecx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x248], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x7c]
call fcn.00424850
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x248], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40379f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
inc ecx
xor edi, edi
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x403544
pop ebp
pop ebx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x240], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4037de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
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 0x4037fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40381a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x240], 0xb
call fcn.00402cf0
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov byte [esp + 0x240], 2
je 0x403862
push eax
call fcn.00438f94
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x240], 0xc
call fcn.00402cf0
mov eax, dword [esp + 0x4c]
cmp eax, edi
pop edi
mov byte [esp + 0x23c], 1
pop esi
je 0x40388e
push eax
call fcn.00438f94
add esp, 4
lea ecx, [esp + 0x100]
mov byte [esp + 0x238], 0
call fcn.00429510
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.00416c7b
add esp, 0x23c
ret 0x10