Function at 0x45c2c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x543720]
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 - 0xa0], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
push 0x21
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x30]
push eax
push 0
push str.config1
push str.Profile
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0x30], 0
movdqu xmmword [ebp - 0x2f], xmm0
mov byte [ebp - 0x9c], 0
movdqu xmmword [ebp - 0x1f], xmm0
mov byte [ebp - 0x78], 0
movdqu xmmword [ebp - 0x9b], xmm0
mov byte [ebp - 0x54], 0
movdqu xmmword [ebp - 0x8b], xmm0
movdqu xmmword [ebp - 0x77], xmm0
movdqu xmmword [ebp - 0x67], xmm0
movdqu xmmword [ebp - 0x53], xmm0
movdqu xmmword [ebp - 0x43], xmm0
call esi
push edi
push 0x21
lea eax, [ebp - 0x9c]
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 - 0x54]
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 - 0xac], eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004e26fb
add esp, 8
test eax, eax
jne 0x45c3f6
push dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call fcn.004e26fb
add esp, 8
test eax, eax
je 0x45c3f2
push dword [ebp - 0xc]
lea eax, [ebp - 0x78]
push eax
call fcn.004e26fb
add esp, 8
test eax, eax
jne 0x45c3f6
mov bh, 1
jmp 0x45c3fc
mov bh, byte [ebp - 0xa1]
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c402
sub ecx, edx
cmp ecx, 0x20
je 0x45c423
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 0x24
test bh, bh
je 0x45c47c
xor eax, eax
mov dword [ebp - 0xa], 0
mov word [ebp - 8], ax
xor esi, esi
mov dword [ebp - 0xa0], eax
lea esp, [esp]
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 - 0xa0]
push eax
lea eax, [ebp - 0xc]
push 0x52e540
push eax
call fcn.004e4d01
mov al, byte [ebp - 0xa0]
add esp, 0xc
mov byte [esi + 0x548f70], al
inc esi
cmp esi, 0x10
jl 0x45c440
mov bl, byte [ebp + 0x20]
lea ecx, [ebp - 0x9c]
xor edx, edx
lea esi, [ecx + 1]
cmp byte [ebp + 0x18], dl
setne dl
xor eax, eax
cmp byte [ebp + 0x1c], al
setne al
add edx, eax
xor eax, eax
test bl, bl
setne al
add edx, eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c4a3
sub ecx, esi
xor eax, eax
cmp eax, ecx
lea ecx, [ebp - 0x78]
lea esi, [ecx + 1]
sbb edi, edi
neg edi
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c4c0
sub ecx, esi
xor eax, eax
cmp eax, ecx
lea ecx, [ebp - 0x54]
lea eax, [ecx + 1]
sbb esi, esi
mov dword [ebp - 0xc], eax
neg esi
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c4e0
sub ecx, dword [ebp - 0xc]
xor eax, eax
cmp eax, ecx
mov dword [ebp - 0xc], 0
movzx ecx, bh
sbb eax, eax
neg eax
add eax, esi
add eax, edi
cmp edx, eax
cmovg ecx, dword [ebp - 0xc]
cmp dword [ebp - 0xac], 0
jne 0x45c530
test bl, bl
je 0x45c530
cmp esi, 1
jne 0x45c51c
cmp edi, esi
je 0x45c530
cmp edx, 3
je 0x45c530
cmp edx, eax
jl 0x45c530
mov eax, dword [ebp - 0xa8]
xor cl, cl
mov byte [eax], 1
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 0x24