Function at 0x418bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x49c4b0]
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.00462acf
add esp, 8
test eax, eax
jne 0x418d26
push dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call fcn.00462acf
add esp, 8
test eax, eax
je 0x418d22
push dword [ebp - 0xc]
lea eax, [ebp - 0x78]
push eax
call fcn.00462acf
add esp, 8
test eax, eax
jne 0x418d26
mov bh, 1
jmp 0x418d2c
mov bh, byte [ebp - 0xa1]
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418d32
sub ecx, edx
cmp ecx, 0x20
je 0x418d53
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 0x24
test bh, bh
je 0x418dac
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 0x48e224
push eax
call fcn.00462bb4
mov al, byte [ebp - 0xa0]
add esp, 0xc
mov byte [esi + section..xxx], al
inc esi
cmp esi, 0x10
jl 0x418d70
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 0x418dd3
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 0x418df0
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 0x418e10
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 0x418e60
test bl, bl
je 0x418e60
cmp esi, 1
jne 0x418e4c
cmp edi, esi
je 0x418e60
cmp edx, 3
je 0x418e60
cmp edx, eax
jl 0x418e60
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.0045eb02
mov esp, ebp
pop ebp
ret 0x24