Function at 0x4032e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and byte [ebp - 8], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 7]
push 8
stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.004110b7
mov edi, 0x418c94
mov esi, eax
push edi
call sub.MSVCRT.dll_strlen
push eax
mov eax, dword [0x4196cc]
add eax, 0x9a
push edi
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0x14
test eax, eax
jne 0x403325
push 4
push edi
jmp 0x40332c
push 3
push 0x418c90
lea eax, [ebp - 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x28]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 8]
push 0x1e
push eax
push 0x418c88
lea eax, [ebp - 8]
push 0x418c7c
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_atol
pop ecx
mov ecx, 0x4b00
cmp eax, ecx
je 0x4033af
mov ecx, 0x9600
cmp eax, ecx
je 0x4033af
mov ecx, 0xdac0
cmp eax, ecx
je 0x4033af
mov ecx, 0xe100
cmp eax, ecx
je 0x4033af
mov ecx, 0x1c200
cmp eax, ecx
je 0x4033af
mov ecx, 0x1f400
cmp eax, ecx
je 0x4033af
mov ecx, 0x3e800
cmp eax, ecx
je 0x4033af
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_atol
pop ecx
mov dword [esi], eax
jmp 0x4033b1
mov dword [esi], ecx
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push 0x1e
push eax
push 0x418c78
lea eax, [ebp - 8]
push 0x418c6c
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_atoi
sub eax, 7
pop ecx
je 0x4033e0
dec eax
mov byte [esi + 4], 8
jmp 0x4033e4
mov byte [esi + 4], 7
push dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, 0x418c68
push 0x1e
push eax
push edi
lea eax, [ebp - 8]
push 0x418c5c
push eax
call ebx
lea eax, [ebp - 0x28]
push edi
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
je 0x403442
lea eax, [ebp - 0x28]
push 0x418c58
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x403428
mov byte [esi + 6], 1
jmp 0x403446
lea eax, [ebp - 0x28]
push 0x418c54
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x403442
mov byte [esi + 6], 2
jmp 0x403446
and byte [esi + 6], 0
push dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, 0x418c4c
push 0x1e
push eax
push edi
lea eax, [ebp - 8]
push 0x418c44
push eax
call ebx
lea eax, [ebp - 0x28]
push edi
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
je 0x4034a4
lea eax, [ebp - 0x28]
push 0x418c40
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x40348a
mov byte [esi + 5], 1
jmp 0x4034a8
lea eax, [ebp - 0x28]
push 0x418c38
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x4034a4
mov byte [esi + 5], 2
jmp 0x4034a8
and byte [esi + 5], 0
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push 0x1e
push eax
push edi
lea eax, [ebp - 8]
push 0x418c28
push eax
call ebx
lea eax, [ebp - 0x28]
push edi
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
pop ecx
pop ebx
test eax, eax
je 0x40351c
lea eax, [ebp - 0x28]
push 0x418c20
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x4034e8
mov byte [esi + 7], 2
jmp 0x403520
lea eax, [ebp - 0x28]
push 0x418c18
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x403502
mov byte [esi + 7], 1
jmp 0x403520
lea eax, [ebp - 0x28]
push 0x418c0c
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
test eax, eax
pop ecx
jne 0x40351c
mov byte [esi + 7], 4
jmp 0x403520
and byte [esi + 7], 0
push esi
call fcn.00403800
push esi
call fcn.004110c2
pop ecx
pop ecx
pop edi
pop esi
leave
ret