Function at 0x571620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b97c5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
cmp dword [ebp + 8], 0
jne 0x571653
jmp 0x57188b
mov ecx, dword [ebp - 0x80]
add ecx, 0x4c
call fcn.00405e80
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x44]
call fcn.00405ef0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x40]
call fcn.00405e90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
add ecx, 0x4c
call fcn.00405e80
push eax
push 0x800
push 0x800
lea ecx, [ebp - 0x40]
call fcn.00403b40
push eax
push 0x7f82fc
push 0x7f8300
push 0x7f830c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.00403ba0
cmp dword [ebp - 0x18], 0x7fe
jne 0x57173c
mov ecx, dword [ebp - 0x80]
add ecx, 0x4c
call fcn.00405e80
push eax
push 0x5000
push 0x5000
lea ecx, [ebp - 0x40]
call fcn.00403b40
push eax
push 0x7f8318
push 0x7f831c
push 0x7f8328
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x3c]
call fcn.00531d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00570ad0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00531e40
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00531e10
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.005728c0
add esp, 0x18
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00531e40
push eax
lea ecx, [ebp - 0x14]
call fcn.00572740
movzx eax, al
test eax, eax
je 0x5717ca
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00572640
lea ecx, [ebp - 0x20]
call fcn.00405e90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00531e10
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x5717f7
lea ecx, [ebp - 0x14]
call fcn.005726d0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00531e40
push eax
lea ecx, [ebp - 0x14]
call fcn.00572740
movzx ecx, al
test ecx, ecx
je 0x571833
lea ecx, [ebp - 0x14]
call fcn.005726b0
push eax
lea ecx, [ebp - 0x20]
call fcn.00403690
push 0x7f8334
lea ecx, [ebp - 0x20]
call fcn.004036b0
jmp 0x5717ef
mov ecx, dword [ebp - 0x80]
add ecx, 0x4c
call fcn.00405e80
push eax
lea ecx, [ebp - 0x20]
call fcn.00405e80
push eax
push 0x7f8338
push 0x7f8344
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00531db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4