Function at 0x4094d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45bef7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x47bdb8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1a4], eax
mov edi, ecx
xor esi, esi
push 0x20
mov dword [esp + 0x1b4], esi
call fcn.00440f38
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x1b0], 1
je 0x409529
mov ecx, eax
call fcn.00402e10
mov esi, eax
mov ebp, dword [edi + 0x6c]
test ebp, ebp
lea ebx, [edi + 0x64]
mov byte [esp + 0x1b0], 0
jge 0x409540
call fcn.0043998c
push 0xffffffffffffffff
lea eax, [ebp + 1]
push eax
mov ecx, ebx
call fcn.00428bb0
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4], esi
mov ebp, dword [esp + 0x1b8]
mov edx, dword [ebp]
lea eax, [ebp + 8]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
mov dword [esi], edx
call fcn.004018d0
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], ecx
cmp dword [ebp], 7
lea ecx, [esi + 4]
jne 0x409582
lea edx, [ebp + 4]
push edx
jmp 0x40958a
lea eax, [esp + 0x1bc]
push eax
call fcn.004018d0
add ebp, 0xc
lea ecx, [esi + 0xc]
push ebp
call fcn.004018d0
xor ecx, ecx
mov cl, byte [esi]
lea edx, [esp + 0xa0]
push ecx
push edx
call fcn.004055c0
add esp, 8
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x20]
push 0x461ff0
push edx
mov byte [esp + 0x1c0], 2
call fcn.004032f0
add esp, 0x10
call fcn.00441045
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 + 0x1c0], 3
call ebp
mov ecx, dword [esi + 4]
push ecx
inc eax
push eax
lea edx, [esp + 0x1c]
push 0x462d90
push edx
call fcn.004032f0
mov eax, dword [edi + 0x1c]
add esp, 0x10
push 0
push 0
push 0x1004
push eax
call ebp
mov ecx, dword [esp + 0x14]
push esi
push 1
push 0
push 0
push ecx
push eax
push 7
mov ecx, edi
call fcn.0043a1ba
cmp dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x1c], eax
mov ecx, 0x462d88
jne 0x409668
mov ecx, 0x462d80
push ecx
push 1
push eax
mov ecx, edi
call fcn.0043a0a6
mov eax, dword [esi]
cmp eax, 7
mov ebp, dword [esi + 0x10]
jne 0x4096da
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004034f0
mov ecx, dword [0x49ba24]
mov eax, dword [eax]
push ecx
push 0x80
lea edx, [esp + 0x28]
push edx
push 0x4620c0
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004180c4
add esp, 4
jmp 0x409703
cmp eax, 4
je 0x409705
mov ebx, dword [ebx]
push eax
push ecx
sub ebx, 0x10
mov dword [esp + 0x18], esp
mov ebp, esp
push ebx
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00405b80
add esp, 8
mov ebp, eax
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebp
lea eax, [esp + 0x20]
push 0x4620ac
push eax
mov byte [esp + 0x1bc], 4
call fcn.004032f0
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + 0x1c]
add esp, 0xc
push ebx
push 2
push ecx
mov ecx, edi
call fcn.0043a0a6
mov ebp, dword [esp + 0x18]
mov edx, dword [esi + 0x1c]
push ebp
push 3
push edx
mov ecx, edi
call fcn.0043a0a6
lea eax, [ebx - 0x10]
mov byte [esp + 0x1b0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409779
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 + 0x1b0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40979f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1b0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1bc]
add eax, 0xfffffff0
mov dword [esp + 0x1b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a4]
mov eax, esi
call fcn.0041723c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a4
ret 8