Function at 0x4ec4e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb2f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x6646f8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
je 0x4ec53e
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], edi
call fcn.00595172
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov byte [eax], 0
call fcn.00593d4b
mov ecx, dword [ebp + 0x1c]
push edi
push 0x7040
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.005951e7
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x4ec5cf
push 0x44
call fcn.0058ecf8
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
mov byte [ebp - 4], 3
je 0x4ec5a9
push edi
push 0x1000
lea edx, [ebp - 0x34]
push 1
push edx
call fcn.00597946
mov dword [ebp - 0x14], eax
jmp 0x4ec5cf
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4ec5cf
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00593d89
cmp esi, edi
je 0x4ec7c4
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x4ec7c4
mov edx, dword [0x639698]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x440]
push 0x400
push eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], edi
call fcn.00597e10
test eax, eax
je 0x4ec6a5
cmp byte [ebp - 0x440], 0x5b
jne 0x4ec67f
mov al, byte [ebp - 0x43f]
mov ebx, dword [ebp + 8]
test al, al
lea esi, [ebp - 0x43f]
mov dword [ebp + 0x1c], edi
je 0x4ec67f
mov dl, byte [esi]
cmp dl, 0x5d
jne 0x4ec64f
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
not ecx
dec ecx
cmp eax, ecx
je 0x4ec69e
movsx eax, byte [ebx]
inc esi
push eax
movsx edi, dl
inc ebx
call fcn.00573dae
mov edx, eax
push edi
mov dword [ebp - 0x1c], edx
call fcn.00573dae
mov ecx, dword [ebp - 0x1c]
add esp, 8
cmp eax, ecx
jne 0x4ec67f
mov ecx, dword [ebp + 0x1c]
mov al, byte [esi]
inc ecx
test al, al
mov dword [ebp + 0x1c], ecx
jne 0x4ec634
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x440]
push 0x400
push edx
call fcn.00597e10
test eax, eax
je 0x4ec6a5
xor edi, edi
jmp 0x4ec615
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x1c], 0
test eax, eax
je 0x4ec76b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x440]
push 0x400
push eax
call fcn.00597e10
test eax, eax
je 0x4ec76b
mov al, byte [ebp - 0x440]
mov ebx, dword [ebp + 0xc]
test al, al
lea esi, [ebp - 0x440]
mov dword [ebp + 8], 0
je 0x4ec738
mov dl, byte [esi]
cmp dl, 0x3d
jne 0x4ec708
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 8]
not ecx
dec ecx
cmp eax, ecx
je 0x4ec752
movsx eax, byte [ebx]
inc esi
push eax
movsx edi, dl
inc ebx
call fcn.00573dae
mov edx, eax
push edi
mov dword [ebp - 0x1c], edx
call fcn.00573dae
mov ecx, dword [ebp - 0x1c]
add esp, 8
cmp eax, ecx
jne 0x4ec738
mov ecx, dword [ebp + 8]
mov al, byte [esi]
inc ecx
test al, al
mov dword [ebp + 8], ecx
jne 0x4ec6ed
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x440]
push 0x400
push edx
call fcn.00597e10
test eax, eax
je 0x4ec76b
jmp 0x4ec6d3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
inc esi
push eax
push esi
push ecx
call fcn.00573cb0
add esp, 0xc
mov dword [ebp + 0x1c], 1
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00597aaa
mov ecx, esi
call fcn.00597a22
push esi
call fcn.0058ed21
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00595517
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4ec7a8
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
call fcn.00573cb0
add esp, 0xc
mov edi, dword [ebp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], al
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.005936db
jmp 0x4ec7e4
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.005951a4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret