Function at 0x4604a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d853c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x1c4]
call fcn.0045bd30
mov dword [ebp - 4], 0
movzx eax, word [edi + 0x38]
mov edx, dword [edi + 0x50]
mov word [ebp - 0x1c4], ax
movzx eax, word [edi + 0x108]
mov ecx, dword [edi + 0xe8]
mov word [ebp - 0x1c2], ax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x1c0], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1b8], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x1b4], eax
mov ax, word [ebp + 8]
mov word [ebp - 0x140], ax
mov al, byte [edi + 4]
mov byte [ebp - 0x13d], al
mov eax, dword [edi + 0x118]
mov dword [ebp - 0x148], eax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x144], eax
xor eax, eax
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1ac], 0x2899
mov dword [ebp - 0x108], 0x1b5b
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x460594
xor ecx, ecx
jmp 0x4605af
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4605a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00439160
mov byte [ebp - 4], 1
call fcn.0047f030
lea eax, [ebp - 0x2c]
push eax
call fcn.0047ef10
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], edx
cmp eax, 8
jb 0x4605f0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433600
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d0], 0
call fcn.0045d190
xor ecx, ecx
test eax, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x168], eax
setne cl
mov eax, dword [edi + 0x124]
add ecx, 0xb
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x104], eax
xor eax, eax
cmp dword [edi + 0x30], eax
mov dword [ebp - 0x164], ecx
setne al
inc eax
mov dword [ebp - 0xfc], eax
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x46065a
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1d0], esi
mov byte [ebp - 4], 2
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x138]
sub ecx, dword [edi + 0x134]
imul ecx
mov dword [ebp - 0x1c8], 0
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x460755
xor ebx, ebx
xor esi, esi
nop
mov eax, dword [edi + 0x134]
mov eax, dword [ebx + eax]
cmp dword [eax - 0xc], 0
je 0x460721
call fcn.0041bed0
test eax, eax
je 0x460650
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x134]
push dword [ebx + eax]
lea eax, [ebp - 0x1cc]
push esi
push str._d:_s_
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1d0]
add esp, 0x10
push dword [esi - 0xc]
push esi
call fcn.0041c490
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46071b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c8]
mov ecx, dword [edi + 0x138]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x134]
inc esi
imul ecx
add ebx, 0xc
mov dword [ebp - 0x1c8], esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jl 0x4606a0
mov esi, dword [ebp - 0x1d0]
cmp dword [esi - 0xc], 0
jle 0x4607c3
push 3
lea eax, [ebp - 0xb0]
push esi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
call fcn.004683f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x460788
xor ecx, ecx
jmp 0x460799
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460790
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x120]
call fcn.00438c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x4607c3
push eax
call fcn.004afc2c
add esp, 4
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], 0
jle 0x460833
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.004683f0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x4607f9
xor ecx, ecx
jmp 0x460809
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460800
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x160]
call fcn.00438c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x460833
push eax
call fcn.004afc2c
add esp, 4
mov eax, dword [edi + 0x68]
cmp dword [eax - 0xc], 0
jle 0x4608a3
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.004683f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x460869
xor ecx, ecx
jmp 0x460879
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460870
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x180]
call fcn.00438c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x4608a3
push eax
call fcn.004afc2c
add esp, 4
lea eax, [ebp - 0x1c8]
lea ebx, [edi + 0x70]
push eax
mov ecx, ebx
call fcn.0045c3c0
push 0xff
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00421e80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
mov eax, dword [eax]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.004683f0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x4608fe
xor ecx, ecx
jmp 0x46090f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460903
sub ecx, ebx
lea ebx, [edi + 0x70]
push ecx
push edx
lea ecx, [ebp - 0xec]
call fcn.00438c00
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x460935
push eax
call fcn.004afc2c
add esp, 4
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x1cc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460957
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460979
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1cc]
mov ecx, ebx
push eax
call fcn.0045c3e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb0]
mov eax, dword [eax]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.004683f0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x4609ba
xor ecx, ecx
jmp 0x4609c9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4609c0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.00438c00
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x4609ef
push eax
call fcn.004afc2c
add esp, 4
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x1cc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460a11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x7c]
xor eax, eax
mov word [ebp - 0xf8], ax
xor ebx, ebx
mov eax, 0x51eb851f
lea ecx, [ecx + 0x32]
mul ecx
mov eax, dword [edi + 0x84]
shr edx, 5
mov word [ebp - 0xf6], dx
mov edx, dword [edi + 0x80]
mov word [ebp - 0xf4], ax
mov ecx, dword [edx]
cmp ecx, edx
je 0x460a60
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax + 0x14], 0
je 0x460a5a
inc ebx
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x460a50
mov ecx, dword [edi + 0x8c]
mov eax, 0x51eb851f
sub ecx, dword [edi + 0x88]
add ecx, 0x32
mov word [ebp - 0xf2], bx
mul ecx
shr edx, 5
cmp dword [0x515c74], 0
mov word [ebp - 0xf0], dx
jne 0x460ab2
mov ecx, str.360tray.exe
mov dword [0x515c74], 1
call fcn.0045b240
neg eax
sbb eax, eax
add eax, 2
mov dword [0x511ea8], eax
jmp 0x460ab7
mov eax, dword [0x511ea8]
mov word [ebp - 0x1b0], ax
call fcn.0047f030
xor ebx, ebx
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], ebx
push eax
push 0x20019
push ebx
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460b34
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], 4
test eax, eax
je 0x460b3a
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x1d4]
push ecx
push ebx
push 0x4f338c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x460b34
cmp dword [ebp - 0x1d4], 4
cmove ebx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c8]
mov byte [ebp - 4], 2
test eax, eax
je 0x460b49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xbc], ebx
test ebx, ebx
jne 0x460b5f
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0xbc], eax
push ecx
lea eax, [ebp - 0x1c4]
push eax
call fcn.0047f030
mov ecx, eax
call fcn.00466540
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x460b8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c4]
call fcn.00460bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4