Function at 0x464205
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x70a034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0xa4], eax
lea edi, [ebp - 0x30]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x24]
push 8
pop edx
mov dword [ebp - 0xac], eax
mov ecx, edx
xor eax, eax
mov ebx, dword [ebp + 8]
rep stosd dword es:[edi], eax
mov ecx, edx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0x21
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov ecx, edx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov ecx, edx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x30]
pop edi
push edi
push eax
push 0
push str.config1
push str.Profile
call esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
push 0
push str.config2
push str.Profile
call esi
push ebx
push edi
lea eax, [ebp - 0x78]
push eax
push 0
push str.config3
push str.Profile
call esi
push ebx
push edi
lea eax, [ebp - 0x9c]
mov edi, str.Profile
push eax
push 0
push str.config4
push edi
call esi
push ebx
push 0
push str.config5
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
xor ebx, ebx
lea eax, [ebp - 0x9c]
push eax
call fcn.00651e99
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
je 0x464300
lea ebx, [ecx + 1]
jmp 0x46432b
push dword [ebp - 0xa4]
lea eax, [ebp - 0x54]
push eax
call fcn.00651e99
pop ecx
pop ecx
test eax, eax
je 0x46432b
push dword [ebp - 8]
lea eax, [ebp - 0x78]
push eax
call fcn.00651e99
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne ebx, eax
lea eax, [ebp - 0x30]
xor bl, 1
push eax
call fcn.00641b80
pop ecx
cmp eax, 0x20
jne 0x464436
test bl, bl
je 0x464395
and dword [ebp - 0xa], 0
xor eax, eax
and dword [ebp - 0xa0], eax
xor esi, esi
mov word [ebp - 8], ax
movsx ax, byte [ebp + esi*2 - 0x30]
mov word [ebp - 0xc], ax
movsx ax, byte [ebp + esi*2 - 0x2f]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc]
push 0x6d9474
push eax
call fcn.00463d7b
mov al, byte [ebp - 0xa0]
add esp, 0xc
mov byte [esi + section..QMGuid], al
inc esi
cmp esi, 0x10
jl 0x464357
xor ecx, ecx
cmp byte [ebp + 0x18], cl
setne cl
xor eax, eax
cmp byte [ebp + 0x1c], al
setne al
lea esi, [eax + ecx]
xor eax, eax
cmp byte [ebp + 0x20], al
setne al
add esi, eax
lea eax, [ebp - 0x54]
push eax
call fcn.00641b80
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x78]
push eax
call fcn.00641b80
xor ecx, ecx
cmp ecx, eax
lea eax, [ebp - 0x9c]
push eax
sbb edi, edi
neg edi
call fcn.00641b80
mov edx, dword [ebp - 8]
xor ecx, ecx
add esp, 0xc
cmp ecx, eax
sbb eax, eax
neg eax
add eax, edi
add eax, edx
mov dword [ebp - 8], eax
movzx eax, bl
mov ebx, dword [ebp - 8]
cmp esi, ebx
cmovbe ecx, eax
cmp dword [ebp - 0xa8], 0
mov al, cl
jne 0x464438
cmp byte [ebp + 0x20], 0
je 0x464438
xor eax, eax
inc eax
cmp edi, eax
jne 0x464422
mov al, cl
cmp edx, 1
je 0x464438
mov al, cl
cmp esi, 3
je 0x464438
cmp esi, ebx
jb 0x464438
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.006255fe
mov esp, ebp
pop ebp
ret 0x24