Function at 0x45e570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69ec
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.00459d70
mov dword [ebp - 4], 0
movzx eax, word [edi + 0x38]
mov edx, dword [edi + 0x5c]
mov word [ebp - 0x1c4], ax
movzx eax, word [edi + 0x114]
mov ecx, dword [edi + 0xf4]
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 + 0x12c]
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 + 0x124]
mov dword [ebp - 0x148], eax
mov eax, dword [edi + 0x128]
mov dword [ebp - 0x144], eax
xor eax, eax
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1ac], 0x27a8
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 0x45e664
xor ecx, ecx
jmp 0x45e67f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e670
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004393e0
mov byte [ebp - 4], 1
call fcn.0047d4e0
lea eax, [ebp - 0x2c]
push eax
call fcn.0047d3c0
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], edx
cmp eax, 8
jb 0x45e6c0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433850
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d0], 0
call fcn.0045b1c0
xor ecx, ecx
test eax, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x168], eax
setne cl
mov eax, dword [edi + 0x130]
add ecx, 0xb
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 0x11c]
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.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x45e72a
push 0x80004005
call fcn.0041ce60
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 + 0x144]
sub ecx, dword [edi + 0x140]
imul ecx
mov dword [ebp - 0x1c8], 0
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x45e825
xor ebx, ebx
xor esi, esi
nop
mov eax, dword [edi + 0x140]
mov eax, dword [eax + ebx]
cmp dword [eax - 0xc], 0
je 0x45e7f1
call fcn.0041bef0
test eax, eax
je 0x45e720
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 + 0x140]
push dword [eax + ebx]
lea eax, [ebp - 0x1cc]
push esi
push str._d:_s_
push eax
call fcn.00422000
mov esi, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1d0]
add esp, 0x10
push dword [esi - 0xc]
push esi
call fcn.0041c4b0
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e7eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c8]
mov ecx, dword [edi + 0x144]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x140]
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 0x45e770
mov esi, dword [ebp - 0x1d0]
cmp dword [esi - 0xc], 0
jle 0x45e893
push 3
lea eax, [ebp - 0xb0]
push esi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
call fcn.00467250
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x45e858
xor ecx, ecx
jmp 0x45e869
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e860
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x120]
call fcn.00438e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x45e893
push eax
call fcn.004ae6e1
add esp, 4
mov eax, dword [edi + 0x58]
cmp dword [eax - 0xc], 0
jle 0x45e903
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.00467250
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x45e8c9
xor ecx, ecx
jmp 0x45e8d9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e8d0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x160]
call fcn.00438e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x45e903
push eax
call fcn.004ae6e1
add esp, 4
mov eax, dword [edi + 0x74]
cmp dword [eax - 0xc], 0
jle 0x45e973
lea ecx, [ebp - 0xb0]
push 3
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xb4]
push eax
call fcn.00467250
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x45e939
xor ecx, ecx
jmp 0x45e949
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e940
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x180]
call fcn.00438e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
cmp eax, ecx
je 0x45e973
push eax
call fcn.004ae6e1
add esp, 4
lea eax, [ebp - 0x1c8]
lea ebx, [edi + 0x7c]
push eax
mov ecx, ebx
call fcn.0045a400
push 0xff
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004220d0
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.00467250
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x45e9ce
xor ecx, ecx
jmp 0x45e9df
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e9d3
sub ecx, ebx
lea ebx, [edi + 0x7c]
push ecx
push edx
lea ecx, [ebp - 0xec]
call fcn.00438e80
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x45ea05
push eax
call fcn.004ae6e1
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 0x45ea27
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 0x45ea49
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.0045a420
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.00467250
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xb4]
cmp byte [edx], 0
jne 0x45ea8a
xor ecx, ecx
jmp 0x45ea99
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ea90
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.00438e80
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x45eabf
push eax
call fcn.004ae6e1
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 0x45eae1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x88]
xor eax, eax
mov word [ebp - 0xf8], ax
xor ebx, ebx
mov eax, 0x51eb851f
lea ecx, [ecx + 0x32]
mul ecx
mov eax, dword [edi + 0x90]
shr edx, 5
mov word [ebp - 0xf6], dx
mov edx, dword [edi + 0x8c]
mov word [ebp - 0xf4], ax
mov ecx, dword [edx]
cmp ecx, edx
je 0x45eb30
nop
mov eax, dword [ecx + 8]
cmp dword [eax + 0x14], 0
je 0x45eb2a
inc ebx
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x45eb20
mov ecx, dword [edi + 0x98]
mov eax, 0x51eb851f
sub ecx, dword [edi + 0x94]
add ecx, 0x32
mov word [ebp - 0xf2], bx
mul ecx
shr edx, 5
cmp dword [0x515bf4], 0
mov word [ebp - 0xf0], dx
jne 0x45eb82
mov ecx, str.360tray.exe
mov dword [0x515bf4], 1
call fcn.00458fd0
neg eax
sbb eax, eax
add eax, 2
mov dword [0x511ea8], eax
jmp 0x45eb87
mov eax, dword [0x511ea8]
mov word [ebp - 0x1b0], ax
call fcn.0047d4e0
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 0x45ec04
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], 4
test eax, eax
je 0x45ec0a
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x1d4]
push ecx
push ebx
push 0x4f27c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45ec04
cmp dword [ebp - 0x1d4], 4
cmove ebx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c8]
mov byte [ebp - 4], 2
test eax, eax
je 0x45ec19
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xbc], ebx
test ebx, ebx
jne 0x45ec2f
mov eax, dword [edi + 0x118]
mov dword [ebp - 0xbc], eax
call fcn.0047d4e0
call fcn.0047d4e0
mov edi, eax
call fcn.0047d240
test edx, edx
jne 0x45ec48
test eax, eax
je 0x45ec5b
mov ecx, dword [edi + 0x28]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
test ecx, ecx
je 0x45ec5b
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
push ecx
lea eax, [ebp - 0x1c4]
push eax
call fcn.0047d4e0
mov ecx, eax
call fcn.004653a0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ec8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c4]
call fcn.0045ecc0
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.004a474b
mov esp, ebp
pop ebp
ret 4