Function at 0x407be0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d350
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x480], ecx
push 0x104
push 0
lea eax, [ebp - 0x43c]
push eax
call fcn.00486c20
add esp, 0xc
push 0x50
call fcn.0047b43a
add esp, 4
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x44c], 0
je 0x407c5a
mov ecx, dword [ebp - 0x44c]
call fcn.00459160
mov dword [ebp - 0x484], eax
jmp 0x407c64
mov dword [ebp - 0x484], 0
mov ecx, dword [ebp - 0x484]
mov dword [ebp - 0x448], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x250], edx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x24c], eax
mov byte [ebp - 0x22c], 0
push 0x103
push 0
lea eax, [ebp - 0x22b]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.00486c20
add esp, 0xc
push 0x549e64
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x22c]
push edx
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0x549e74
push 0x549e84
push 0x549e94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x549ea0
lea ecx, [ebp - 0x2b0]
call fcn.00405f30
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.00404280
push 0x549ea8
lea ecx, [ebp - 0x2b0]
call fcn.00404280
push 0x549eac
lea ecx, [ebp - 0x2b0]
call fcn.00404280
push 0x549eb8
lea ecx, [ebp - 0x2b0]
call fcn.00404280
push 0x549ebc
lea ecx, [ebp - 0x2b0]
call fcn.00404280
lea ecx, [ebp - 0x2b4]
call fcn.00402870
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.00404140
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 4]
push eax
push 0x549ec8
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.00405a00
add esp, 0xc
push 0x549ecc
lea ecx, [ebp - 0x28c]
call fcn.00405fd0
lea ecx, [ebp - 0x2b4]
call fcn.00404550
push eax
lea ecx, [ebp - 0x270]
call fcn.00405fd0
lea edx, [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.004593c0
push 0x549ed0
lea ecx, [ebp - 0x28c]
call fcn.00405fd0
push 0x549ed8
lea ecx, [ebp - 0x270]
call fcn.00405fd0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.004593c0
push 0x104
push 0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
call fcn.00408b60
add esp, 4
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], edx
mov edx, dword [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x32c]
push eax
push 0x549ee0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00487c8c
add esp, 0x10
push 0x549ee4
lea ecx, [ebp - 0x28c]
call fcn.00405fd0
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x270]
call fcn.00405fd0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.004593c0
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00408b80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x254]
call fcn.00404530
push 0x549eec
lea ecx, [ebp - 0x254]
call fcn.00404530
lea ecx, [ebp - 0x254]
call fcn.00404550
push eax
lea ecx, [ebp - 0x468]
call fcn.00405f30
mov byte [ebp - 4], 5
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x324]
call fcn.00452f60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.00405fb0
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x324]
call fcn.004543b0
mov byte [ebp - 4], 6
push 0x549f1c
lea ecx, [ebp - 0x28c]
call fcn.00405fd0
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x270]
call fcn.00404260
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.004593c0
lea ecx, [ebp - 0x2b0]
call fcn.00405ff0
push eax
mov ecx, dword [ebp - 0x250]
call fcn.004593e0
mov ecx, dword [ebp - 0x250]
call fcn.00459620
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00404120
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00404470
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x407fb9
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x294], 0
mov byte [ebp - 0x32d], 0
mov dword [ebp - 0x440], 0
jmp 0x408018
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
mov ecx, dword [ebp - 0x18]
call fcn.00404470
cmp dword [ebp - 0x440], eax
jae 0x408055
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0045d9c0
mov cl, byte [eax]
mov byte [ebp - 0x441], cl
mov edx, dword [ebp - 0x290]
add edx, dword [ebp - 0x440]
mov al, byte [ebp - 0x441]
mov byte [edx], al
jmp 0x408009
mov ecx, dword [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x480]
call fcn.00408170
cmp dword [ebp - 0x290], 0
je 0x408095
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x470], edx
mov eax, dword [ebp - 0x470]
push eax
call fcn.0047b474
add esp, 4
mov dword [ebp - 0x290], 0
cmp dword [ebp - 0x250], 0
je 0x4080ef
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x478]
mov dword [ebp - 0x474], edx
cmp dword [ebp - 0x474], 0
je 0x4080db
push 1
mov eax, dword [ebp - 0x474]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x474]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x488], eax
jmp 0x4080e5
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x47c], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00405fb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.00402890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.00412760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.00405fb0
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret