Function at 0x4687a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e30cc
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp word [esi], 0
jne 0x46880e
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x60c], 0x207
push eax
push esi
lea eax, [ebp - 0x610]
mov dword [ebp - 0x610], 1
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esi + 0x208], 0
lea eax, [esi + 0x208]
jne 0x468832
push esi
push 0x4f2718
push 0x104
push eax
call fcn.00414680
add esp, 0x10
cmp word [esi + 0x410], 0
lea ecx, [esi + 0x410]
jne 0x46887c
mov edi, esi
mov edx, 0x104
sub edi, ecx
jmp 0x468850
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x468870
movzx eax, word [edi + ecx]
test ax, ax
je 0x468870
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x468850
jmp 0x468874
test edx, edx
jne 0x468877
sub ecx, 2
xor eax, eax
mov word [ecx], ax
push 0x118
lea eax, [esi + 0x61c]
push 0
push eax
lea ebx, [esi + 0x618]
call sub.msvcrt.dll_memset
mov dword [ebx], 0x11c
add esp, 0xc
mov edi, dword [0x523934]
test edi, edi
jne 0x4688fa
mov ecx, 1
mov edx, 0x5236dc
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4688cd
call fcn.0047d380
mov dword [0x5236dc], 2
jmp 0x4688f2
cmp dword [0x5236dc], 2
je 0x4688ed
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 1
call edi
cmp dword [0x5236dc], 2
jne 0x4688e0
call fcn.0047d380
mov edi, eax
mov dword [0x523934], edi
cmp dword [edi + 4], 0xffffffff
je 0x46891b
mov eax, dword [ebx]
cmp eax, 0x11c
jb 0x46890e
mov eax, 0x11c
push eax
lea eax, [edi + 8]
push eax
push ebx
call sub.msvcrt.dll_memcpy
jmp 0x468984
push 0x118
lea eax, [ebp - 0x600]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x604], 0x11c
lea eax, [ebp - 0x604]
mov ecx, edi
push eax
call fcn.00452a10
test eax, eax
je 0x46896b
mov eax, dword [ebx]
cmp eax, 0x11c
jb 0x46895b
mov eax, 0x11c
push eax
lea eax, [ebp - 0x604]
push eax
push ebx
call sub.msvcrt.dll_memcpy
jmp 0x468984
push 0x118
lea eax, [esi + 0x61c]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebx], 0x11c
add esp, 0xc
lea ecx, [esi + 0x734]
push 0
push 0x4f1708
call fcn.00413d30
lea eax, [esi + 0x73c]
push 0
push 0x4f1708
mov ecx, eax
mov dword [ebp - 0x610], eax
call fcn.00413d30
lea eax, [esi + 0x740]
push 0
push 0x4f1708
mov ecx, eax
mov dword [ebp - 0x60c], eax
call fcn.00413d30
lea eax, [esi + 0x748]
push 0
push 0x4f1708
mov ecx, eax
mov dword [ebp - 0x624], eax
call fcn.00413d30
push 1
lea ebx, [esi + 0x74c]
push 0x4f045c
mov ecx, ebx
call fcn.00413d30
lea eax, [esi + 0x744]
push 0
push 0x4f1708
mov ecx, eax
mov dword [ebp - 0x620], eax
call fcn.00413d30
push esi
lea ecx, [ebp - 0x608]
call fcn.00406060
push 0xc
push str.360base.dll
lea ecx, [ebp - 0x608]
mov dword [ebp - 4], 0
call fcn.004096f0
push esi
lea ecx, [ebp - 0x614]
call fcn.00406060
lea eax, [ebp - 0x614]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.00410dc0
mov edx, dword [ebp - 0x614]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468a82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x758], 1
jne 0x468ae2
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.004ad960
test eax, eax
je 0x468ae2
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ac0
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x734]
call fcn.00413d30
lea eax, [esi + 0x738]
push eax
call fcn.0040aed0
push 0x208
lea eax, [ebp - 0x4e8]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x4e8]
add esp, 0x10
push str.QHVer.dll
push esi
push eax
call edi
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.0044e970
add esp, 8
push eax
lea ecx, [esi + 0x73c]
mov byte [ebp - 4], 2
call fcn.004081e0
mov edx, dword [ebp - 0x618]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468b61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0044e300
add esp, 8
push eax
lea ecx, [esi + 0x750]
mov byte [ebp - 4], 3
call fcn.004081e0
mov edx, dword [ebp - 0x61c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468ba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x2e0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2e0]
push str.config.ini
push esi
push eax
call edi
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468ddd
mov edx, dword [esi + 0x740]
mov ebx, 1
mov ecx, ebx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x3e8
or ecx, eax
jge 0x468c15
push 0x3e8
lea ecx, [esi + 0x740]
call fcn.00412d40
mov edx, dword [esi + 0x740]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push edx
push 0x4f1a10
push 0x4f3614
push 0x4f3628
call edi
mov eax, dword [esi + 0x740]
lea edx, [esi + 0x740]
test eax, eax
jne 0x468c4d
xor ecx, ecx
jmp 0x468c69
push dword [eax - 8]
push eax
call fcn.004cf440
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x468fc8
lea edx, [esi + 0x740]
mov eax, dword [edx]
cmp ecx, dword [eax - 8]
jg 0x468fc8
mov dword [eax - 0xc], ecx
mov eax, dword [edx]
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, ebx
mov edx, dword [esi + 0x748]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x3e8
or eax, ecx
jge 0x468cac
push 0x3e8
lea ecx, [esi + 0x748]
call fcn.00412d40
mov edx, dword [esi + 0x748]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push edx
push 0x4f1708
push str.channel
push 0x4f3628
call edi
mov eax, dword [esi + 0x748]
lea edx, [esi + 0x748]
test eax, eax
jne 0x468cde
xor ecx, ecx
jmp 0x468cfa
push dword [eax - 8]
push eax
call fcn.004cf440
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x468fc8
lea edx, [esi + 0x748]
mov eax, dword [edx]
cmp ecx, dword [eax - 8]
jg 0x468fc8
mov dword [eax - 0xc], ecx
mov eax, dword [edx]
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [esi + 0x74c]
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x3e8
or eax, ebx
lea ebx, [esi + 0x74c]
jge 0x468d39
push 0x3e8
mov ecx, ebx
call fcn.00412d40
mov ecx, dword [ebx]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push ecx
push 0x4f1708
push str.schannel
push 0x4f3628
call edi
mov eax, dword [ebx]
test eax, eax
jne 0x468d61
xor ecx, ecx
jmp 0x468d77
push dword [eax - 8]
push eax
call fcn.004cf440
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x468fc8
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x468fc8
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
mov eax, dword [ebx]
cmp dword [eax - 0xc], edx
je 0x468dcf
mov ecx, 0x4f7e84
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x468dc6
test dx, dx
je 0x468dc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x468dc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x468da0
xor eax, eax
jmp 0x468dcb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x468ddd
push 1
push 0x4f045c
mov ecx, ebx
call fcn.00413d30
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
mov eax, 0x4f9558
jne 0x468df3
mov eax, 0x4f9560
push eax
push dword [esi + 0x620]
lea eax, [esi + 0x744]
push dword [esi + 0x61c]
push str._d._d__s
push eax
call fcn.0040a500
add esp, 0x14
call fcn.0040bb30
mov edi, eax
cmp byte [edi + 0x270], 0
jne 0x468e2b
mov ecx, edi
call fcn.0040dfb0
cmp dword [edi], 0
je 0x468e4a
mov ecx, dword [edi + 0x230]
test ecx, ecx
je 0x468e4a
lea eax, [esi + 0x8b4]
push 0
push eax
call ecx
add esp, 8
jmp 0x468e4c
xor eax, eax
mov dword [esi + 0x75c], eax
call fcn.0040ac30
push eax
lea ecx, [esi + 0x760]
call fcn.0040e420
mov edx, dword [esi + 0x734]
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468e70
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51dc30
call fcn.004197d0
mov eax, dword [ebp - 0x610]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x468ea0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ea0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51dc48
call fcn.004197d0
mov eax, dword [ebp - 0x60c]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x468ed0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468ed0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51dc60
call fcn.004197d0
mov eax, dword [ebp - 0x620]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x468f00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468f00
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51dc78
call fcn.004197d0
mov eax, dword [ebp - 0x624]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x468f30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468f30
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51dc90
call fcn.004197d0
mov esi, dword [ebx]
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x468f52
sub edx, edi
mov ecx, 0x51dca8
sar edx, 1
push edx
push esi
call fcn.004197d0
mov ecx, 0x51dc30
call fcn.0044bf40
call fcn.0040ac30
push eax
mov ecx, 0x522c10
call fcn.0040e420
mov edx, dword [ebp - 0x608]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004098f0
int3