Function at 0x460220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7f3c
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.0045baf0
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], 0x27e7
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 0x460314
xor ecx, ecx
jmp 0x46032f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460320
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00439160
mov byte [ebp - 4], 1
call fcn.0047eb10
lea eax, [ebp - 0x2c]
push eax
call fcn.0047e9f0
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], edx
cmp eax, 8
jb 0x460370
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.0045cf40
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 0x4603da
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 0x4604d5
xor ebx, ebx
xor esi, esi
nop
mov eax, dword [edi + 0x134]
mov eax, dword [ebx + eax]
cmp dword [eax - 0xc], 0
je 0x4604a1
call fcn.0041bed0
test eax, eax
je 0x4603d0
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 0x46049b
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 0x460420
mov esi, dword [ebp - 0x1d0]
cmp dword [esi - 0xc], 0
jle 0x460543
push 3
lea eax, [ebp - 0xb0]
push esi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
call fcn.00468100
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x460508
xor ecx, ecx
jmp 0x460519
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460510
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 0x460543
push eax
call fcn.004af691
add esp, 4
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], 0
jle 0x4605b3
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.00468100
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x460579
xor ecx, ecx
jmp 0x460589
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460580
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 0x4605b3
push eax
call fcn.004af691
add esp, 4
mov eax, dword [edi + 0x68]
cmp dword [eax - 0xc], 0
jle 0x460623
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.00468100
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x4605e9
xor ecx, ecx
jmp 0x4605f9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4605f0
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 0x460623
push eax
call fcn.004af691
add esp, 4
lea eax, [ebp - 0x1c8]
lea ebx, [edi + 0x70]
push eax
mov ecx, ebx
call fcn.0045c180
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.00468100
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x46067e
xor ecx, ecx
jmp 0x46068f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460683
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 0x4606b5
push eax
call fcn.004af691
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 0x4606d7
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 0x4606f9
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.0045c1a0
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.00468100
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x46073a
xor ecx, ecx
jmp 0x460749
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460740
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 0x46076f
push eax
call fcn.004af691
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 0x460791
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 0x4607e0
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax + 0x14], 0
je 0x4607da
inc ebx
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x4607d0
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 0x460832
mov ecx, str.360tray.exe
mov dword [0x515c74], 1
call fcn.0045b000
neg eax
sbb eax, eax
add eax, 2
mov dword [0x511ea8], eax
jmp 0x460837
mov eax, dword [0x511ea8]
mov word [ebp - 0x1b0], ax
call fcn.0047eb10
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 0x4608b4
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], 4
test eax, eax
je 0x4608ba
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 0x4608b4
cmp dword [ebp - 0x1d4], 4
cmove ebx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c8]
mov byte [ebp - 4], 2
test eax, eax
je 0x4608c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xbc], ebx
test ebx, ebx
jne 0x4608df
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0xbc], eax
push ecx
lea eax, [ebp - 0x1c4]
push eax
call fcn.0047eb10
mov ecx, eax
call fcn.00466250
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46090f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c4]
call fcn.00460940
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.004a578d
mov esp, ebp
pop ebp
ret 4