Function at 0x47492c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov edi, 0x4d74f0
mov esi, 0x4d745c
xor eax, eax
push ebp
push 0x474c30
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x4d7594], eax
xor ebx, ebx
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402d40
push 0x474c40
push 0x50
lea eax, [esi + 1]
push eax
push 0x474c4c
push 0x474c64
push 0x474c70
call sub.kernel32.dll_GetPrivateProfileStringA
mov byte [esi], al
lea eax, [ebp - 0x1ec]
push eax
mov ecx, 2
mov edx, 1
mov eax, esi
call fcn.00402cfc
lea edx, [ebp - 0x1ec]
lea eax, [ebp - 0x158]
call fcn.00405344
mov eax, dword [ebp - 0x158]
call fcn.00402cd0
call fcn.00402e28
test eax, eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402d40
lea eax, [ebp - 0x1f0]
mov edx, esi
call fcn.00405344
mov eax, dword [ebp - 0x1f0]
call fcn.00402cd0
call fcn.00402e28
test eax, eax
jne 0x474bd5
xor eax, eax
mov al, byte [esi]
cmp byte [esi + eax], 0x5c
je 0x474a2c
mov eax, esi
mov edx, 0x474c7c
mov cl, 0x90
call fcn.00403454
push 0x474c40
push 0x50
lea eax, [edi + 1]
push eax
push 0x474c80
push 0x474c98
push 0x474c70
call sub.kernel32.dll_GetPrivateProfileStringA
mov byte [edi], al
lea eax, [ebp - 0x1f4]
mov edx, edi
call fcn.00405344
mov eax, dword [ebp - 0x1f4]
call fcn.00402cd0
call fcn.00402e28
test eax, eax
jne 0x474bd5
xor eax, eax
mov al, byte [edi]
cmp byte [edi + eax], 0x5c
je 0x474a8a
mov eax, edi
mov edx, 0x474c7c
mov cl, 0x90
call fcn.00403454
mov edx, edi
lea eax, [ebp - 0x294]
call fcn.00403484
mov edx, 0x4d7584
lea eax, [ebp - 0x294]
mov cl, 0x98
call fcn.00403454
lea edx, [ebp - 0x294]
lea eax, [ebp - 0x334]
call fcn.00403484
mov edx, 0x474ca4
lea eax, [ebp - 0x334]
mov cl, 0x9c
call fcn.00403454
lea edx, [ebp - 0x334]
lea eax, [ebp - 0x1f8]
call fcn.00405344
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0x154]
call fcn.00403258
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004039f0
call fcn.00402e28
test eax, eax
jne 0x474bd5
lea eax, [ebp - 0x154]
call fcn.00403644
call fcn.00402c94
mov esi, eax
mov eax, esi
mov ecx, 0xf
cdq
idiv ecx
mov dword [0x4d7598], eax
mov eax, esi
call fcn.00402b08
mov dword [0x4d7594], eax
push 0
mov edx, dword [0x4d7594]
mov ecx, esi
lea eax, [ebp - 0x154]
call fcn.004033bc
call fcn.00402c94
lea eax, [ebp - 0x154]
call fcn.004033fc
call fcn.00402c94
mov edx, edi
lea eax, [ebp - 0x294]
call fcn.00403484
mov edx, 0x4d7584
lea eax, [ebp - 0x294]
mov cl, 0x98
call fcn.00403454
lea edx, [ebp - 0x294]
lea eax, [ebp - 0x334]
call fcn.00403484
mov edx, 0x474cac
lea eax, [ebp - 0x334]
mov cl, 0x9c
call fcn.00403454
lea edx, [ebp - 0x334]
lea eax, [ebp - 0x338]
call fcn.00405344
mov eax, dword [ebp - 0x338]
mov edx, 0x40
call fcn.0040999c
mov dword [0x4d759c], eax
cmp dword [0x4d759c], 0
jl 0x474bd5
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.00402cd0
call fcn.00402c94
mov eax, dword [ebp - 4]
call fcn.00402cd0
call fcn.00402c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c37
lea eax, [ebp - 0x338]
call fcn.004050e0
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.00405104
lea eax, [ebp - 0x158]
call fcn.004050e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405104
ret