Function at 0x407660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4389f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x168]
lea eax, [esi + 0xa4]
push eax
mov ecx, edi
call fcn.00423881
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x448934
call fcn.004237f6
mov ecx, esi
call fcn.00407250
mov eax, dword [esi + 0x140]
test eax, eax
jne 0x40772b
mov ecx, dword [0x44d1a4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40772b
push 0x58
call fcn.0041f236
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x60], 0
je 0x4076f7
mov edx, dword [0x441950]
mov ecx, dword [0x44d1a4]
push 1
push edx
push 2
push ecx
mov ecx, eax
call fcn.00418d00
jmp 0x4076f9
xor eax, eax
test eax, eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esi + 0x140], eax
je 0x40772b
push 3
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push 0x44d1a4
push 0x4488f4
push edx
call fcn.00423a53
mov ecx, esi
call fcn.00407250
mov eax, dword [esi + 0x7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x81
push 0
push 0x464
push eax
call ebp
mov ecx, dword [esi + 0x7c]
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push ecx
call ebp
mov eax, dword [edi]
cmp byte [eax], 0x2f
jne 0x40778c
push 0x4488dc
lea ecx, [esi + 0x138]
call fcn.004238d0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.0042364d
mov ecx, esi
call fcn.00407940
mov ecx, esi
call fcn.00407c80
jmp 0x4078bc
push eax
push 0
push 0x4488d4
push 0x4488cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4077bb
lea ebp, [esi + 0xa8]
push 1
mov ecx, ebp
call fcn.00422f9a
push 1
mov ecx, ebp
call fcn.00422fdc
lea ecx, [esp + 0x3c]
call fcn.0040c887
mov edx, dword [edi]
push 0
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 1
call fcn.0040c977
test eax, eax
jne 0x407855
push edi
lea eax, [esp + 0x14]
push 0x4488b8
push eax
call fcn.00423a53
push 0x4488a8
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x6c], 2
call fcn.004239df
mov edx, dword [eax]
push 0
push 0
push edx
mov byte [esp + 0x6c], 3
call fcn.0042aea4
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 2
call fcn.00423788
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 1
call fcn.00423788
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0040c8eb
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x58
ret
lea ecx, [esp + 0x28]
call fcn.0041e59d
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call fcn.0041e59d
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
push ecx
mov byte [esp + 0x6c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.0042364d
mov ecx, esi
call fcn.00408010
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call fcn.0041e5d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.0041e5d0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0040c8eb
mov eax, dword [esi + 0x140]
test eax, eax
je 0x407913
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 4]
cmp dword [edx + 0x4c], 0xffffffff
je 0x4078fa
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x448890
call fcn.004237f6
mov ecx, esi
call fcn.00407250
mov ecx, dword [esi + 0x140]
call fcn.00418e30
mov eax, dword [esi + 0x140]
test eax, eax
je 0x407913
mov ecx, dword [eax]
push 1
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [edx + eax]
call dword [eax]
push 0
mov ecx, esi
call fcn.00422ac3
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x58
ret