Function at 0x408ec0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x453e57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x472d88]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1a0], eax
mov edi, ecx
xor esi, esi
push 0x20
mov dword [esp + 0x1b0], esi
call fcn.00438f64
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x1ac], 1
je 0x408f19
mov ecx, eax
call fcn.00402d80
mov esi, eax
mov ebp, dword [edi + 0x6c]
test ebp, ebp
lea ebx, [edi + 0x64]
mov byte [esp + 0x1ac], 0
jge 0x408f30
call fcn.00431951
push 0xffffffffffffffff
lea eax, [ebp + 1]
push eax
mov ecx, ebx
call fcn.00407fa0
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], esi
mov ebp, dword [esp + 0x1b4]
mov edx, dword [ebp]
lea eax, [ebp + 8]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
mov dword [esi], edx
call fcn.00401880
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x1b8]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 4]
push edx
call fcn.00401880
add ebp, 0xc
lea ecx, [esi + 0xc]
push ebp
call fcn.00401880
xor eax, eax
mov al, byte [esi]
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.004050f0
add esp, 8
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x1bc], 2
call fcn.004030c0
add esp, 0x10
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push eax
mov byte [esp + 0x1bc], 3
call ebp
mov ecx, dword [esi + 4]
push ecx
inc eax
push eax
lea edx, [esp + 0x1c]
push 0x45ad38
push edx
call fcn.004030c0
mov eax, dword [edi + 0x1c]
add esp, 0x10
push 0
push 0
push 0x1004
push eax
call ebp
push esi
push 1
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
push eax
push 7
mov ecx, edi
call fcn.0043217f
cmp dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x1c], eax
mov ecx, 0x45ad30
jne 0x40904c
mov ecx, 0x45ad28
push ecx
push 1
push eax
mov ecx, edi
call fcn.0043206b
mov eax, dword [esi]
cmp eax, 7
mov ebp, dword [esi + 0x10]
jne 0x409094
mov edx, dword [0x48bf84]
mov ebx, dword [ebx]
push edx
push 0x80
lea eax, [esp + 0x24]
push eax
push 0x45a09c
push ebx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00417a52
add esp, 4
jmp 0x4090bd
cmp eax, 4
je 0x4090bf
mov ebx, dword [ebx]
push eax
push ecx
sub ebx, 0x10
mov dword [esp + 0x20], esp
mov ebp, esp
push ebx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.004056f0
add esp, 8
mov ebp, eax
call fcn.00439071
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
lea eax, [esp + 0x1c]
push 0x45a088
push eax
mov byte [esp + 0x1b8], 4
call fcn.004030c0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
push ebx
push 2
push ecx
mov ecx, edi
call fcn.0043206b
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0x1c]
push ebp
push 3
push edx
mov ecx, edi
call fcn.0043206b
lea eax, [ebx - 0x10]
mov byte [esp + 0x1ac], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1ac], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409159
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1ac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40917b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1b8]
add eax, 0xfffffff0
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a0]
mov eax, esi
call fcn.00416c7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret 8