Function at 0x570b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634d73
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x14]
call fcn.00404aa0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 4]
push edx
push 0x67bc20
lea eax, [ebp - 0x14]
push eax
call fcn.00405010
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00587e90
push eax
push 0
push str.IsUseMask
push 0x67bc34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x570ce7
lea ecx, [ebp - 0x14]
call fcn.00587e90
push eax
push 0x40
lea ecx, [ebp - 0x74]
push ecx
push 0x67baf2
push 0x67bc44
push 0x67bc54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea edx, [ebp - 0x74]
push edx
call fcn.004015a0
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00570e20
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.00422540
push 1
lea ecx, [ebp - 0x24]
call fcn.004225d0
push eax
lea ecx, [ebp - 0x24]
call fcn.004225b0
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x14]
call fcn.00587e90
push eax
push 0
push 0x67bc64
push 0x67bc74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0x400
jl 0x570ce2
cmp dword [ebp - 0x2c], 0x300
jl 0x570ce2
cmp dword [ebp - 0x28], 0
je 0x570ce2
push 0
push 0x300
push 0x400
mov ecx, dword [ebp - 0xe0]
call fcn.00570fc0
jmp 0x570de9
lea ecx, [ebp - 0x14]
call fcn.00587e90
push eax
push 0x40
lea edx, [ebp - 0xd4]
push edx
push 0x67baf3
push 0x67bc84
push 0x67bc94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea eax, [ebp - 0xd4]
push eax
call fcn.004015a0
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00570e20
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x90]
push eax
push 0
push 0
lea ecx, [ebp - 0x84]
call fcn.00422540
push 1
lea ecx, [ebp - 0x84]
call fcn.004225d0
push eax
lea ecx, [ebp - 0x84]
call fcn.004225b0
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x14]
call fcn.00587e90
push eax
push 0
push str.IsFullScreen
push 0x67bcb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x90], 0x320
jl 0x570de9
cmp dword [ebp - 0x8c], 0x258
jl 0x570de9
cmp dword [ebp - 0x88], 0
je 0x570de9
push 0
push 0x300
push 0x400
mov ecx, dword [ebp - 0xe0]
call fcn.00570fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret