Function at 0x4668b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d9c
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x51cbc0]
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 0x46691e
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 0x466942
push esi
push 0x4f0668
push 0x104
push eax
call fcn.00412a40
add esp, 0x10
cmp word [esi + 0x410], 0
lea ecx, [esi + 0x410]
jne 0x46698c
mov edi, esi
mov edx, 0x104
sub edi, ecx
jmp 0x466960
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x466980
movzx eax, word [edi + ecx]
test ax, ax
je 0x466980
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x466960
jmp 0x466984
test edx, edx
jne 0x466987
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 [0x52186c]
test edi, edi
jne 0x466a0a
mov ecx, 1
mov edx, 0x52162c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4669dd
call fcn.0047b510
mov dword [0x52162c], 2
jmp 0x466a02
cmp dword [0x52162c], 2
je 0x4669fd
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 1
call edi
cmp dword [0x52162c], 2
jne 0x4669f0
call fcn.0047b510
mov edi, eax
mov dword [0x52186c], edi
cmp dword [edi + 4], 0xffffffff
je 0x466a2b
mov eax, dword [ebx]
cmp eax, 0x11c
jb 0x466a1e
mov eax, 0x11c
push eax
lea eax, [edi + 8]
push eax
push ebx
call sub.msvcrt.dll_memcpy
jmp 0x466a94
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.00450b10
test eax, eax
je 0x466a7b
mov eax, dword [ebx]
cmp eax, 0x11c
jb 0x466a6b
mov eax, 0x11c
push eax
lea eax, [ebp - 0x604]
push eax
push ebx
call sub.msvcrt.dll_memcpy
jmp 0x466a94
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 0x4ef6f8
call fcn.004120f0
lea eax, [esi + 0x73c]
push 0
push 0x4ef6f8
mov ecx, eax
mov dword [ebp - 0x610], eax
call fcn.004120f0
lea eax, [esi + 0x740]
push 0
push 0x4ef6f8
mov ecx, eax
mov dword [ebp - 0x60c], eax
call fcn.004120f0
lea eax, [esi + 0x748]
push 0
push 0x4ef6f8
mov ecx, eax
mov dword [ebp - 0x624], eax
call fcn.004120f0
push 1
lea ebx, [esi + 0x74c]
push 0x4ee454
mov ecx, ebx
call fcn.004120f0
lea eax, [esi + 0x744]
push 0
push 0x4ef6f8
mov ecx, eax
mov dword [ebp - 0x620], eax
call fcn.004120f0
push esi
lea ecx, [ebp - 0x608]
call fcn.00405ac0
push 0xc
push str.360base.dll
lea ecx, [ebp - 0x608]
mov dword [ebp - 4], 0
call fcn.00408f10
push esi
lea ecx, [ebp - 0x614]
call fcn.00405ac0
lea eax, [ebp - 0x614]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.0040fed0
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 0x466b92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x758], 1
jne 0x466bf2
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.004ab920
test eax, eax
je 0x466bf2
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466bd0
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x734]
call fcn.004120f0
lea eax, [esi + 0x738]
push eax
call fcn.0040a150
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.0044ca70
add esp, 8
push eax
lea ecx, [esi + 0x73c]
mov byte [ebp - 4], 2
call fcn.00407b70
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 0x466c71
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.0044c400
add esp, 8
push eax
lea ecx, [esi + 0x750]
mov byte [ebp - 4], 3
call fcn.00407b70
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 0x466cb9
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 0x466eed
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 0x466d25
push 0x3e8
lea ecx, [esi + 0x740]
call fcn.00411100
mov edx, dword [esi + 0x740]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push edx
push 0x4ef9fc
push 0x4f1408
push 0x4f141c
call edi
mov eax, dword [esi + 0x740]
lea edx, [esi + 0x740]
test eax, eax
jne 0x466d5d
xor ecx, ecx
jmp 0x466d79
push dword [eax - 8]
push eax
call fcn.004cd400
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4670d8
lea edx, [esi + 0x740]
mov eax, dword [edx]
cmp ecx, dword [eax - 8]
jg 0x4670d8
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 0x466dbc
push 0x3e8
lea ecx, [esi + 0x748]
call fcn.00411100
mov edx, dword [esi + 0x748]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push edx
push 0x4ef6f8
push str.channel
push 0x4f141c
call edi
mov eax, dword [esi + 0x748]
lea edx, [esi + 0x748]
test eax, eax
jne 0x466dee
xor ecx, ecx
jmp 0x466e0a
push dword [eax - 8]
push eax
call fcn.004cd400
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4670d8
lea edx, [esi + 0x748]
mov eax, dword [edx]
cmp ecx, dword [eax - 8]
jg 0x4670d8
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 0x466e49
push 0x3e8
mov ecx, ebx
call fcn.00411100
mov ecx, dword [ebx]
lea eax, [ebp - 0x2e0]
push eax
push 0x3e8
push ecx
push 0x4ef6f8
push str.schannel
push 0x4f141c
call edi
mov eax, dword [ebx]
test eax, eax
jne 0x466e71
xor ecx, ecx
jmp 0x466e87
push dword [eax - 8]
push eax
call fcn.004cd400
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4670d8
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x4670d8
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 0x466edf
mov ecx, 0x4f5c74
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466ed6
test dx, dx
je 0x466ed2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466ed6
add eax, 4
add ecx, 4
test dx, dx
jne 0x466eb0
xor eax, eax
jmp 0x466edb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x466eed
push 1
push 0x4ee454
mov ecx, ebx
call fcn.004120f0
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
mov eax, 0x4f7348
jne 0x466f03
mov eax, 0x4f7350
push eax
push dword [esi + 0x620]
lea eax, [esi + 0x744]
push dword [esi + 0x61c]
push str._d._d__s
push eax
call fcn.00409d30
add esp, 0x14
call fcn.0040adb0
mov edi, eax
cmp byte [edi + 0x270], 0
jne 0x466f3b
mov ecx, edi
call fcn.0040d0c0
cmp dword [edi], 0
je 0x466f5a
mov ecx, dword [edi + 0x230]
test ecx, ecx
je 0x466f5a
lea eax, [esi + 0x8b4]
push 0
push eax
call ecx
add esp, 8
jmp 0x466f5c
xor eax, eax
mov dword [esi + 0x75c], eax
call fcn.0040a140
push eax
lea ecx, [esi + 0x760]
call fcn.0040d530
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 0x466f80
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51bb80
call fcn.00417870
mov eax, dword [ebp - 0x610]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x466fb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466fb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51bb98
call fcn.00417870
mov eax, dword [ebp - 0x60c]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x466fe0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466fe0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51bbb0
call fcn.00417870
mov eax, dword [ebp - 0x620]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x467010
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467010
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51bbc8
call fcn.00417870
mov eax, dword [ebp - 0x624]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x467040
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467040
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x51bbe0
call fcn.00417870
mov esi, dword [ebx]
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x467062
sub edx, edi
mov ecx, 0x51bbf8
sar edx, 1
push edx
push esi
call fcn.00417870
mov ecx, 0x51bb80
call fcn.0044a040
call fcn.0040a140
push eax
mov ecx, 0x521450
call fcn.0040d530
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 0x4670bc
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.004d55dc
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00409110
int3