Function at 0x4cfc30
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x73c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x738], ecx
mov dword [ebp - 0xc], 0x207
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x738]
push ecx
lea edx, [ebp - 4]
push edx
push 0x5af1f4
push 0x5af200
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x738]
push eax
push 0x5af288
push 0x104
mov ecx, dword [ebp - 0x738]
add ecx, 0x208
push ecx
call fcn.00424750
add esp, 0x10
push 0x5af290
mov ecx, dword [ebp - 0x738]
add ecx, 0x618
call fcn.00427020
push 0x5af294
mov ecx, dword [ebp - 0x738]
add ecx, 0x620
call fcn.00427020
push 0x5af298
mov ecx, dword [ebp - 0x738]
add ecx, 0x624
call fcn.00427020
push 0x5af29c
mov ecx, dword [ebp - 0x738]
add ecx, 0x62c
call fcn.00427020
push 0x5af2a0
mov ecx, dword [ebp - 0x738]
add ecx, 0x630
call fcn.00427020
push 0x5af2a4
mov ecx, dword [ebp - 0x738]
add ecx, 0x628
call fcn.00427020
mov edx, dword [ebp - 0x738]
push edx
lea ecx, [ebp - 8]
call fcn.00426f30
push 0x5af2a8
lea ecx, [ebp - 8]
call fcn.00427070
mov eax, dword [ebp - 0x738]
push eax
lea ecx, [ebp - 0x72c]
call fcn.00426f30
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00426e70
add esp, 8
lea ecx, [ebp - 0x72c]
call fcn.00426fe0
mov eax, dword [ebp - 0x738]
cmp dword [eax + 0x63c], 1
jne 0x4cfdcc
xor ecx, ecx
mov word [ebp - 0xd8], cx
push 0xc6
push 0
lea edx, [ebp - 0xd6]
push edx
call fcn.0055e2a0
add esp, 0xc
push 0x64
lea eax, [ebp - 0xd8]
push eax
call fcn.004d0580
add esp, 8
test eax, eax
je 0x4cfdcc
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x738]
add ecx, 0x618
call fcn.00427020
mov edx, dword [ebp - 0x738]
add edx, 0x61c
push edx
call fcn.00426c40
add esp, 4
xor eax, eax
mov word [ebp - 0x2e0], ax
push 0x206
push 0
lea ecx, [ebp - 0x2de]
push ecx
call fcn.0055e2a0
add esp, 0xc
push str.QHVer.dll
mov edx, dword [ebp - 0x738]
push edx
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0x730]
push edx
call fcn.004ba9a0
add esp, 8
push eax
mov ecx, dword [ebp - 0x738]
add ecx, 0x620
call fcn.00427000
lea ecx, [ebp - 0x730]
call fcn.00426fe0
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x734]
push ecx
call fcn.004cf9c0
add esp, 8
push eax
mov ecx, dword [ebp - 0x738]
add ecx, 0x634
call fcn.00427000
lea ecx, [ebp - 0x734]
call fcn.00426fe0
xor edx, edx
mov word [ebp - 0x4e8], dx
push 0x206
push 0
lea eax, [ebp - 0x4e6]
push eax
call fcn.0055e2a0
add esp, 0xc
push 0x5af2d8
mov ecx, dword [ebp - 0x738]
push ecx
lea edx, [ebp - 0x4e8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cfffc
lea ecx, [ebp - 0x4e8]
push ecx
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x738]
add ecx, 0x624
call fcn.00427700
push eax
push 0x5af2f0
push 0x5af2f8
push 0x5af30c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x738]
add ecx, 0x624
call fcn.0042bd10
lea edx, [ebp - 0x4e8]
push edx
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x738]
add ecx, 0x62c
call fcn.00427700
push eax
push 0x5af314
push str.channel
push 0x5af328
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x738]
add ecx, 0x62c
call fcn.0042bd10
lea eax, [ebp - 0x4e8]
push eax
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x738]
add ecx, 0x630
call fcn.00427700
push eax
push 0x5af330
push str.schannel
push 0x5af348
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x738]
add ecx, 0x630
call fcn.0042bd10
mov ecx, dword [ebp - 0x738]
add ecx, 0x630
call fcn.004273e0
movzx ecx, al
test ecx, ecx
jne 0x4cffe6
mov edx, dword [ebp - 0x738]
add edx, 0x630
push edx
push 0x5af350
call fcn.004b1b70
add esp, 8
movzx eax, al
test eax, eax
je 0x4cfffc
push 0x5af354
mov ecx, dword [ebp - 0x738]
add ecx, 0x630
call fcn.00427020
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x608], 0x114
push 0x110
push 0
lea ecx, [ebp - 0x604]
push ecx
call fcn.0055e2a0
add esp, 0xc
mov dword [ebp - 0x728], 0x11c
push 0x118
push 0
lea edx, [ebp - 0x724]
push edx
call fcn.0055e2a0
add esp, 0xc
push 0
lea eax, [ebp - 0x728]
push eax
call fcn.004d05a0
add esp, 8
test eax, eax
je 0x4d007f
mov ecx, dword [ebp - 0x724]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x4f0], edx
jmp 0x4d00a8
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d00a8
mov ecx, dword [ebp - 0x604]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x600]
mov dword [ebp - 0x4f0], edx
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x4d00c0
mov dword [ebp - 0x73c], 0x5af358
jmp 0x4d00ca
mov dword [ebp - 0x73c], 0x5af360
mov eax, dword [ebp - 0x73c]
push eax
mov ecx, dword [ebp - 0x4f0]
push ecx
mov edx, dword [ebp - 0x4ec]
push edx
push 0x5af368
mov eax, dword [ebp - 0x738]
add eax, 0x628
push eax
call fcn.0042fa10
add esp, 0x14
xor ecx, ecx
mov edx, dword [ebp - 0x738]
mov word [edx + 0x410], cx
mov eax, dword [ebp - 0x738]
push eax
push 0x104
mov ecx, dword [ebp - 0x738]
add ecx, 0x410
push ecx
call fcn.00429540
push 0
mov edx, dword [ebp - 0x738]
add edx, 0x798
push edx
call fcn.00435b50
mov ecx, eax
call fcn.004d0520
mov ecx, dword [ebp - 0x738]
mov dword [ecx + 0x640], eax
call fcn.00426790
push eax
mov ecx, dword [ebp - 0x738]
add ecx, 0x644
call fcn.0045b6a0
mov edx, dword [ebp - 0x738]
add edx, 0x630
push edx
mov eax, dword [ebp - 0x738]
add eax, 0x62c
push eax
mov ecx, dword [ebp - 0x738]
add ecx, 0x628
push ecx
mov edx, dword [ebp - 0x738]
add edx, 0x624
push edx
mov eax, dword [ebp - 0x738]
add eax, 0x620
push eax
mov ecx, dword [ebp - 0x738]
add ecx, 0x618
push ecx
call fcn.0044e820
add esp, 0x18
lea ecx, [ebp - 8]
call fcn.00426fe0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret