Function at 0x5ad530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638e7a
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
push 0x682374
mov ecx, dword [ebp - 0xb0]
add ecx, 0xc
call fcn.00401640
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x10], 0x64
cmp dword [ebp + 8], 0
je 0x5ad5af
mov ecx, dword [ebp - 0xb0]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0xb0]
add edx, 0xc
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xb0]
call fcn.005ad060
jmp 0x5ad668
push 0x68237c
mov ecx, dword [ebp - 0xb0]
add ecx, 4
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00587e90
push eax
push 0x80
lea eax, [ebp - 0x9c]
push eax
push 0x6822d1
push 0x682390
push 0x68239c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004015a0
mov byte [ebp - 4], 1
push 0x6822d2
lea edx, [ebp - 0x14]
push edx
call fcn.0040cd70
add esp, 8
movzx eax, al
test eax, eax
je 0x5ad63b
push 0x6823a4
mov ecx, dword [ebp - 0xb0]
add ecx, 0xc
call fcn.00401640
jmp 0x5ad64d
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xb0]
add ecx, 0xc
call fcn.0040bb70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401620
lea ecx, [ebp - 0x10]
call fcn.00404aa0
mov dword [ebp - 4], 2
push 0xc0
call fcn.005c4745
add esp, 4
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xa0]
mov dword [edx + 0x40], eax
push 0xc0
push 0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x40]
push edx
call fcn.005e5330
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 0xc
call fcn.00587e90
push eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x40]
add ecx, 0x40
push ecx
call fcn.005e5450
add esp, 8
push 0x6823ac
mov edx, dword [ebp - 0xb0]
add edx, 0xc
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00401620
lea ecx, [ebp - 0x10]
call fcn.00587e90
push eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x40]
push ecx
call fcn.005e5450
add esp, 8
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xb0]
add eax, 8
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0040ed60
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
call fcn.0040bb70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00401620
mov dword [ebp - 0xac], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401620
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret 4