Function at 0x5659b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1428]
mov dword [esp + 0x42c], eax
push eax
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00408c00
mov eax, dword [ebp - 8]
call fcn.00408c00
mov eax, dword [ebp - 0xc]
call fcn.00408c00
mov dword [ebp - 0x1424], 0
mov dword [ebp - 0x142c], 0
mov dword [ebp - 0x1428], 0
xor eax, eax
push fcn.00565970
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [str.acl.ini]
mov eax, dword [ebp - 4]
call fcn.00409870
test eax, eax
jne 0x565ab0
mov eax, dword [0x59c490]
mov dl, 1
call fcn.004467f0
test al, al
je 0x565ab0
mov edx, dword [str.acl.ini]
mov eax, dword [0x59c490]
call fcn.00409870
test eax, eax
je 0x565ab0
lea eax, [ebp - 0x1424]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x59c490]
call fcn.005659b0
cmp byte [0x59c110], 0
je 0x565a8b
mov eax, dword [ebp - 0x1424]
call fcn.00564600
test al, al
je 0x565a8b
mov al, 0xff
jmp 0x565a92
xor al, al
jmp 0x565ab0
test al, al
je 0x565ab0
mov edx, dword [ebp - 0x1424]
mov eax, ebx
call fcn.00408c30
jmp 0x565c34
lea ecx, [ebp - 0x1428]
mov edx, 0x401
mov al, 0x20
call fcn.00565d60
mov edx, dword [ebp - 0x1428]
mov eax, 0x59c4b0
call fcn.00408c30
lea eax, [ebp - 0x410]
mov edx, dword [0x59c4b0]
call fcn.0044d3d0
lea edi, [ebp - 0x814]
lea esi, [ebp - 0x410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xc18]
lea esi, [ebp - 0x410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x101c]
lea esi, [ebp - 0x410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1420]
mov edx, 0x5f77a8
call fcn.0044d3d0
lea edx, [ebp - 0x1428]
mov eax, dword [ebp - 4]
call fcn.004461d0
mov eax, dword [ebp - 0x1428]
call fcn.00564560
test al, al
je 0x565b90
lea eax, [ebp - 0x1428]
call fcn.00403cd0
push 0
lea eax, [ebp - 0x142c]
call fcn.005641a0
mov edx, dword [ebp - 0x142c]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1428]
call fcn.00408d20
mov edx, dword [ebp - 0x1428]
lea eax, [ebp - 0x410]
call fcn.0044d3d0
jmp 0x565b9e
lea eax, [ebp - 0x410]
mov edx, dword [ebp - 4]
call fcn.0044d3d0
lea eax, [ebp - 0x814]
mov edx, dword [ebp - 8]
call fcn.0044d3d0
lea eax, [ebp - 0xc18]
mov edx, dword [ebp - 0xc]
call fcn.0044d3d0
lea eax, [ebp - 0x410]
push eax
push 0x401
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x1420]
push eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0x814]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x101c]
lea edx, [ebp - 0x1424]
call fcn.0044d350
mov edx, 0x5f77a8
mov eax, dword [ebp - 0x1424]
call fcn.00409870
test eax, eax
jne 0x565c20
mov eax, ebx
xor edx, edx
call fcn.00408c30
mov byte [0x59c110], 0
jmp 0x565c34
mov edx, dword [ebp - 0x1424]
mov eax, ebx
call fcn.00408c30
mov byte [0x59c110], 1
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00565970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4