Function at 0x4937ec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov edi, 0x4e87d0
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
mov edx, dword [ebx + 0x2c]
mov eax, dword [edx]
mov dword [edi], eax
cmp byte [eax], 0x2d
jne 0x49382f
inc dword [edi]
mov edx, dword [edi]
cmp byte [edx], 0x6e
jne 0x49381f
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x2c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f72c
mov dword [ebp + 8], eax
push 0
mov eax, dword [ebp + 0x1c]
push eax
mov edx, dword [ebx + 0x2c]
push edx
lea ecx, [ebp + 8]
push ecx
call fcn.0048994c
dec eax
je 0x49384c
xor eax, eax
jmp 0x4939e6
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0040b314
test eax, eax
jne 0x493864
xor eax, eax
jmp 0x4939e6
push 0x5d
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx]
push eax
call fcn.004bce0c
add esp, 8
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x493884
mov byte [esi], 0x7e
jmp 0x493864
mov edx, dword [ebp + 0x1c]
push edx
push 0x3b5
mov ecx, dword [ebp + 0x18]
push ecx
push 0x4d247e
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx]
push ecx
mov eax, dword [eax]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov edx, dword [ebx + 0x2c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f72c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x2c]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0046f72c
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0x2c]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0046f72c
mov dword [ebp + 8], eax
mov edx, dword [ebp + 0x18]
cmp byte [edx], 0
jne 0x4938ea
mov eax, dword [ebp + 8]
jmp 0x4939e6
mov edx, dword [ebp + 0x20]
cmp dword [edx], 0
je 0x4939ad
push 0x4d2482
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004bd134
add esp, 8
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x493994
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x493923
mov byte [esi], 0
add dword [edi], 3
jmp 0x493928
mov edx, dword [ebp + 0x18]
mov dword [edi], edx
mov ecx, dword [edi]
cmp byte [ecx], 0
je 0x493994
push 0x4e87d4
mov eax, dword [ebp + 0x1c]
push eax
mov edx, dword [edi]
push edx
call fcn.004891f4
mov esi, eax
mov dword [0x4e87c8], esi
test esi, esi
jne 0x493953
xor eax, eax
jmp 0x4939e6
mov edx, dword [ebp + 0x10]
mov edi, dword [edx]
test edi, edi
je 0x49397f
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [0x4e87cc], edx
push esi
mov ecx, dword [0x4e87cc]
mov eax, dword [ecx + 0x2c]
push eax
push edi
call fcn.0046f7ec
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x493994
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x4e87c8]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x4e87c8]
mov dword [edx], ecx
mov eax, dword [ebp + 0x18]
push eax
call fcn.00488a30
mov esi, eax
mov dword [0x4e87c8], esi
test esi, esi
jne 0x4939cc
xor eax, eax
jmp 0x4939e6
push 0
push 0
mov edx, dword [ebp + 0x18]
push edx
push 0
call fcn.0046f388
mov esi, eax
mov dword [0x4e87c8], esi
test esi, esi
jne 0x4939cc
xor eax, eax
jmp 0x4939e6
mov edx, dword [0x4e87c8]
push edx
mov ecx, dword [ebx + 0x2c]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0046f7ec
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c