Function at 0x42e9b0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a70c
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5c5244]
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 edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42ee75
call fcn.004332f0
test eax, eax
je 0x42ea08
push str.ComputerZ_Tray
mov ecx, edi
call fcn.0042e3c0
test eax, eax
jne 0x42ee37
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x434]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call fcn.0042e900
mov esi, dword [ebp - 0x434]
test eax, eax
jne 0x42eb05
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.ComputerZ_Tray
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42eb05
mov eax, dword [ebp - 0x424]
cmp eax, 1
je 0x42eaac
cmp eax, 2
jne 0x42eb05
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x42eafc
test al, 1
jne 0x42eb05
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
jne 0x42eb05
cmp word [ebp - 0x218], 0
je 0x42eb05
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42eaed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
jmp 0x42ee37
xor eax, eax
mov word [ebp - 0x218], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42eb21
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x430], 0
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x428]
call fcn.0042b850
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x42eb9f
test ecx, ecx
js 0x42ee8d
cmp word [eax], 0x22
jne 0x42eb9f
push 1
push 0
lea ecx, [ebp - 0x428]
call fcn.0042dd00
mov eax, dword [ebp - 0x428]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x42ebcf
lea ecx, [edx - 1]
test ecx, ecx
js 0x42ee8d
cmp ecx, edx
jg 0x42ee8d
cmp word [eax + ecx*2], 0x22
jne 0x42ebcf
push 1
push ecx
lea ecx, [ebp - 0x428]
call fcn.0042dd00
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x424], eax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x42ee97
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x438]
mov dword [ebp - 0x424], eax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x42eea1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x434]
mov dword [ebp - 0x424], eax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x42eeab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x430]
mov dword [ebp - 0x424], eax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x42eeb5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0xa
or esi, 0xffffffff
mov eax, dword [ebp - 0x428]
mov ebx, dword [ebp - 0x43c]
add ebx, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x42eced
cmp dword [ebx + 0xc], 0
jl 0x42ecde
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x42ecde
push edx
call fcn.00428580
add esp, 4
mov dword [ebp - 0x424], eax
mov ecx, esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ecd3
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x424]
add eax, 0x10
mov dword [ebp - 0x43c], eax
jmp 0x42eced
push dword [eax - 0xc]
lea ecx, [ebp - 0x43c]
push eax
call fcn.00429710
push 0x14
push str._autorun___fromtask
lea ecx, [ebp - 0x434]
call fcn.00429710
push 0x2a
push str.Starts_ComputerZ_Tray_when_a_user_logs_on.
lea ecx, [ebp - 0x430]
call fcn.00429710
mov dword [ebp - 0x42c], 0x3c
call fcn.004332f0
test eax, eax
je 0x42ed3b
lea eax, [ebp - 0x43c]
mov ecx, edi
push eax
push str.ComputerZ_Tray
call fcn.0042c250
test eax, eax
jne 0x42ed4e
lea eax, [ebp - 0x43c]
mov ecx, edi
push eax
push str.ComputerZ_Tray
call fcn.0042c060
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x430]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x430]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ed7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x434]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xc
mov eax, esi
mov edx, dword [ebp - 0x434]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42edb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x438]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xb
mov eax, esi
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ede1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x43c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ee12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42ee34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
call fcn.0042df90
mov ecx, eax
call fcn.0044a770
test eax, eax
je 0x42ee52
push dword [ebp + 0xc]
mov ecx, eax
push ebx
call fcn.00448b30
mov eax, 1
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.004da3bd
mov esp, ebp
pop ebp
ret 8
push str.ComputerZ_Tray
call fcn.0042da50
push str.ComputerZ_Tray
mov ecx, edi
call fcn.0042d9a0
jmp 0x42ee37
push 0x80070057
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3