Function at 0x42dbd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4379eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x42dc05
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x42de3c
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00407b30
add esp, 4
mov dword [ebp - 4], 0
push str.QLiveQ.ini
lea ecx, [ebp - 0x2cc]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 0x2ac], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2ab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x2cc]
push edx
push 0x104
lea eax, [ebp - 0x2ac]
push eax
push 0x445fdc
push str.GUID
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
jbe 0x42dcb5
mov byte [ebp - 4], 1
cmp esi, 0x104
jb 0x42dc83
mov eax, 0x104
push eax
lea ecx, [ebp - 0x2ac]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov dword [edx], esi
jmp 0x42de2a
lea ecx, [ebp - 0x2c4]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jge 0x42dcd4
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x42de2a
mov word [ebp - 0x1a0], 0
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x19e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov ebx, eax
xor esi, esi
cmp ebx, esi
jle 0x42de25
mov edx, dword [ebp + 0xc]
cmp dword [edx], ebx
jl 0x42de25
mov byte [ebp - 4], 3
mov dword [ebp - 0x2dc], esi
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp - 0x1a0]
test ecx, ecx
je 0x42dd85
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov dword [ebp - 0x2e4], edi
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004327e0
mov esi, esp
mov dword [ebp - 0x2e8], esi
mov byte [esi], 0
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x1a0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push esi
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp - 0x1a0]
test ecx, ecx
jne 0x42ddb3
xor esi, esi
jmp 0x42ddfa
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov dword [ebp - 0x2e4], edi
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004327e0
mov esi, esp
mov dword [ebp - 0x2ec], esi
mov byte [esi], 0
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x1a0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x2cc]
push ecx
push esi
push str.GUID
push str.Common
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x42de2a
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call sub.MFC42.DLL_CString::CString
lea esp, [ebp - 0x2f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret