Function at 0x4024f0
Capabilities:
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x824]
sub esp, 0x824
push 0xffffffffffffffff
push 0x43e7b0
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x456528]
xor eax, ebp
mov dword [ebp + 0x820], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp + 0xc], 0
push str.snxhk.exe
lea ecx, [ebp - 0x84]
movq qword [ebp + 4], xmm0
call fcn.00404020
push str.sandboxie.exe
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0
call fcn.00404020
push str.avast___sandbox
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00404020
push str.cmdagent.exe
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00404020
push str.ekrn.exe
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00404020
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 4
push ecx
lea eax, [ebp - 0xc]
push eax
push ecx
lea ecx, [ebp + 4]
call fcn.00402d20
push 0x403fc0
push 5
push 0x18
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 6
push eax
call fcn.0041bcf5
xorps xmm0, xmm0
mov dword [ebp + 0x18], 0
push str.VBox
lea ecx, [ebp - 0xfc]
movq qword [ebp + 0x10], xmm0
call fcn.00404020
push str.VBoxMouse
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00404020
push str.VBoxGuest
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 8
call fcn.00404020
push str.vmware
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 9
call fcn.00404020
push str.vmxnet
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
call fcn.00404020
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x84]
push eax
push ecx
lea ecx, [ebp + 0x10]
call fcn.00402d20
push 0x403fc0
push 5
push 0x18
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xd
push eax
call fcn.0041bcf5
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4026e2
lea eax, [ebp + 0x5f4]
mov dword [ebp + 0x5f4], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
cmp esi, edi
je 0x4026c9
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4026aa
mov eax, dword [esi]
push eax
lea eax, [ebp + 0x618]
push eax
call fcn.00426a72
add esp, 8
test eax, eax
je 0x4027d7
add esi, 0x18
cmp esi, edi
jne 0x4026a0
lea eax, [ebp + 0x5f4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402692
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
mov dword [ebp], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E96D_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4027a0
push 0x800
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041e580
add esp, 0xc
mov dword [ebp + 0x1c], 0x800
lea eax, [ebp + 0x1c]
xor ebx, ebx
push eax
lea eax, [ebp + 0x20]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x402797
mov esi, dword [ebp + 0x10]
inc ebx
mov edi, dword [ebp + 0x14]
cmp esi, edi
je 0x402772
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40275a
mov eax, dword [esi]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041dd73
add esp, 8
test eax, eax
jne 0x4027e2
add esi, 0x18
cmp esi, edi
jne 0x402750
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0x800
push eax
lea eax, [ebp + 0x20]
push eax
push 0
push 0
push 0
push 0
push ebx
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402741
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
lea ecx, [ebp + 0x10]
call fcn.004045a0
lea ecx, [ebp + 4]
call fcn.004045a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x820]
xor ecx, ebp
call fcn.0041ba65
lea esp, [ebp + 0x824]
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x4027a2
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x4027a2