Function at 0x5e0190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x28]
push 0x21
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x30]
push eax
push 0
push str.config1
push str.Profile
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x54], xmm0
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x8c], xmm0
call esi
push edi
push 0x21
lea eax, [ebp - 0x54]
push eax
push 0
push str.config2
push str.Profile
call esi
push edi
push 0x21
lea eax, [ebp - 0x78]
push eax
push 0
push str.config3
push str.Profile
call esi
push edi
push 0x21
lea eax, [ebp - 0x9c]
push eax
push 0
push str.config4
push str.Profile
call esi
push edi
push 0
push str.config5
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.0061daf7
add esp, 8
test eax, eax
je 0x5e0294
xor bl, bl
jmp 0x5e02c5
push dword [ebp - 0xa4]
lea eax, [ebp - 0x54]
mov bl, 1
push eax
call fcn.0061daf7
add esp, 8
test eax, eax
je 0x5e02c5
push dword [ebp - 0xc]
lea eax, [ebp - 0x78]
push eax
call fcn.0061daf7
xor ecx, ecx
movzx ebx, bl
add esp, 8
test eax, eax
cmovne ebx, ecx
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e02d0
sub ecx, edx
cmp ecx, 0x20
jne 0x5e03e2
test bl, bl
je 0x5e0339
mov edi, dword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 8], ax
xor esi, esi
mov dword [ebp - 0xa4], eax
nop word [eax + eax]
movsx eax, byte [ebp + esi*2 - 0x30]
mov word [ebp - 0xc], ax
movsx eax, byte [ebp + esi*2 - 0x2f]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xc]
push 0x692028
push eax
call fcn.005e28b0
mov al, byte [ebp - 0xa4]
add esp, 0xc
mov byte [edi + esi], al
inc esi
cmp esi, 0x10
jl 0x5e0300
movzx eax, byte [ebp + 0x1c]
lea edx, [ebp - 0x54]
movzx edi, byte [ebp + 0x18]
lea ecx, [edx + 1]
add edi, eax
movzx eax, byte [ebp + 0x20]
add edi, eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5e0350
lea esi, [ebp - 0x78]
sub edx, ecx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x5e0360
sub esi, ecx
lea ecx, [ebp - 0x9c]
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e0378
sub ecx, dword [ebp - 0xa0]
xor eax, eax
cmp eax, ecx
sbb ecx, ecx
neg ecx
cmp eax, esi
sbb eax, eax
neg eax
add ecx, eax
xor eax, eax
cmp eax, edx
sbb eax, eax
neg eax
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0xa0], eax
movzx eax, bl
mov ebx, dword [ebp - 0xa0]
cmp edi, ebx
cmovbe ecx, eax
cmp dword [ebp - 0xa8], 0
mov al, cl
jne 0x5e03e4
cmp byte [ebp + 0x20], 0
je 0x5e03e4
test esi, esi
je 0x5e03ce
test edx, edx
jne 0x5e03e4
mov al, cl
cmp edi, 3
je 0x5e03e4
cmp edi, ebx
jb 0x5e03e4
mov ecx, dword [ebp - 0xac]
mov byte [ecx], 1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0x24