Function at 0x10032070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1007b00c]
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 - 0xa4], eax
mov eax, dword [ebp + 0x24]
push 0x21
mov dword [ebp - 0xac], 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 esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x9c]
push ebx
push eax
call esi
add esp, 8
test eax, eax
je 0x10032174
mov edx, 1
jmp 0x100321a6
push dword [ebp - 0xa0]
lea eax, [ebp - 0x54]
push eax
call esi
add esp, 8
test eax, eax
je 0x100321a4
push dword [ebp - 0xa4]
lea eax, [ebp - 0x78]
push eax
call esi
xor edx, edx
add esp, 8
test eax, eax
mov ecx, 1
cmovne edx, ecx
jmp 0x100321a6
xor edx, edx
xor dl, 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xa4], edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100321b5
sub ecx, esi
cmp ecx, 0x20
jne 0x100322dd
test dl, dl
je 0x10032222
xor eax, eax
mov dword [ebp - 0xa], 0
mov word [ebp - 8], ax
xor esi, esi
mov dword [ebp - 0xa0], 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 - 0xa0]
push eax
lea eax, [ebp - 0xc]
push 0x10068bb8
push eax
call fcn.10031990
mov al, byte [ebp - 0xa0]
add esp, 0xc
mov byte [esi + section..QMGuid], al
inc esi
cmp esi, 0x10
jl 0x100321e0
mov edx, dword [ebp - 0xa4]
xor ecx, ecx
cmp byte [ebp + 0x18], cl
setne cl
xor eax, eax
cmp byte [ebp + 0x1c], al
setne al
lea ebx, [eax + ecx]
xor eax, eax
cmp byte [ebp + 0x20], al
lea ecx, [ebp - 0x54]
lea esi, [ecx + 1]
setne al
add ebx, eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032245
sub ecx, esi
xor eax, eax
cmp eax, ecx
lea ecx, [ebp - 0x78]
lea esi, [ecx + 1]
sbb edi, edi
neg edi
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032260
sub ecx, esi
xor eax, eax
cmp eax, ecx
lea ecx, [ebp - 0x9c]
lea eax, [ecx + 1]
sbb esi, esi
mov dword [ebp - 0xa4], eax
neg esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032280
sub ecx, dword [ebp - 0xa4]
xor eax, eax
cmp eax, ecx
sbb eax, eax
xor ecx, ecx
neg eax
add eax, esi
add eax, edi
mov dword [ebp - 0xa4], eax
movzx eax, dl
mov edx, dword [ebp - 0xa4]
cmp ebx, edx
cmovbe ecx, eax
cmp dword [ebp - 0xa8], 0
mov al, cl
jne 0x100322df
cmp byte [ebp + 0x20], 0
je 0x100322df
cmp esi, 1
jne 0x100322c9
cmp edi, esi
je 0x100322df
mov al, cl
cmp ebx, 3
je 0x100322df
cmp ebx, edx
jb 0x100322df
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.1005b6db
mov esp, ebp
pop ebp
ret 0x24