Function at 0x573c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6351a7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00503da0
lea ecx, [ebp - 0x24]
call fcn.00404aa0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
push 0x67be00
lea ecx, [ebp - 0x24]
push ecx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x573d8b
mov edx, dword [ebp + 8]
push edx
push 0x67be10
lea eax, [ebp - 0x24]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0x40
lea ecx, [ebp - 0x6c]
push ecx
push 0x67bbb6
lea ecx, [ebp - 0x24]
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 - 0x70], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.004015a0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.00572210
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x573d9b
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00422580
mov ecx, dword [ebp + 8]
push ecx
push str._s_Flag
lea edx, [ebp - 0x24]
push edx
call fcn.00405010
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00587e90
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.00587e90
push eax
lea ecx, [ebp + 0xc]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x573e00
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x10000080
mov ecx, dword [ebp + 0x14]
call fcn.005cd34e
jmp 0x573e94
cmp dword [ebp - 0x20], 1
jne 0x573e27
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x10002080
mov ecx, dword [ebp + 0x14]
call fcn.005cd34e
jmp 0x573e94
cmp dword [ebp - 0x20], 2
jne 0x573e4e
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x100000a0
mov ecx, dword [ebp + 0x14]
call fcn.005cd34e
jmp 0x573e94
cmp dword [ebp - 0x20], 3
jne 0x573e75
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x10000880
mov ecx, dword [ebp + 0x14]
call fcn.005cd34e
jmp 0x573e94
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x10000000
mov ecx, dword [ebp + 0x14]
call fcn.005cd34e
push 0x10
mov ecx, dword [ebp + 0x14]
call fcn.00458580
push 0x67bbb7
mov ecx, dword [ebp + 0x14]
call fcn.005cb022
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401620
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
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret 0x14