Function at 0x572530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634f69
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x54], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00503da0
lea ecx, [ebp - 0x24]
call fcn.005236e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.005236e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.005236e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.005236e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00404aa0
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
push eax
push 0x67bcc4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x572688
mov edx, dword [ebp + 8]
push edx
push 0x67bcd4
lea eax, [ebp - 0x38]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0x40
lea ecx, [ebp - 0x94]
push ecx
push 0x67bb13
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x94]
push edx
call fcn.004015a0
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.00572210
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x572698
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00422580
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xb8]
add edx, 0x10
push edx
call fcn.00580910
add esp, 8
mov eax, esp
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0x18
push ecx
call fcn.00580910
add esp, 8
mov edx, esp
mov eax, dword [ebp - 0x34]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xb8]
add eax, 0x20
push eax
call fcn.00580910
add esp, 8
mov ecx, esp
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xb8]
add edx, 0x28
push edx
call fcn.00580910
add esp, 0x18
mov eax, dword [ebp + 8]
push eax
push str._s_Align
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00575280
mov eax, dword [ebp + 8]
push eax
push str._s_Offset
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.005752a0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x5000000b
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0x134]
call eax
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0057fc30
mov edx, dword [ebp + 8]
push edx
push 0x67bcf8
lea eax, [ebp - 0x38]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0x40
lea ecx, [ebp - 0x94]
push ecx
push 0x67bb23
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x94]
push edx
call fcn.005e51c0
add esp, 4
test eax, eax
jbe 0x5728e6
push ecx
mov esi, esp
mov dword [ebp - 0xac], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea eax, [ebp - 0x94]
push eax
call fcn.004015a0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 8
push esi
call fcn.005acd80
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.005adbf0
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp + 0x14]
call fcn.00580370
mov eax, dword [ebp + 8]
push eax
push 0x67bd04
lea ecx, [ebp - 0x38]
push ecx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0x40
lea edx, [ebp - 0x94]
push edx
push 0x67bb31
lea ecx, [ebp - 0x38]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea eax, [ebp - 0x94]
push eax
call fcn.004015a0
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xb8]
call fcn.00570fd0
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00580340
lea ecx, [ebp - 0x24]
call fcn.005cc52c
lea ecx, [ebp - 0x44]
call fcn.005cc52c
lea ecx, [ebp - 0x14]
call fcn.005cc52c
lea ecx, [ebp - 0x1c]
call fcn.005cc52c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00401620
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00523730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00523730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00523730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00523730
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401620
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret 0x14