Function at 0x428eb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d4ca
mov eax, dword fs:[0]
push eax
sub esp, 0x9a4
mov eax, dword [0x43bc60]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9a0], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x258]
call fcn.00401ea0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00402840
movzx eax, al
test eax, eax
jne 0x428f2e
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00402000
jmp 0x428faf
xor edx, edx
mov word [ebp - 0x4b4], dx
push 0x256
push 0
lea eax, [ebp - 0x4b2]
push eax
call fcn.00412bb0
add esp, 0xc
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.00428c70
add esp, 4
test eax, eax
jne 0x428f9d
push 0
push 0x4351d4
push 0x4351d8
call fcn.00428830
add esp, 0xc
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x980], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401fe0
mov eax, dword [ebp - 0x980]
jmp 0x429341
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x258]
call fcn.00402020
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x428ffe
push 0
push 0x435244
push 0x435248
call fcn.00428830
add esp, 0xc
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x984], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401fe0
mov eax, dword [ebp - 0x984]
jmp 0x429341
mov dword [ebp - 0x24c], 0x22c
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x429059
push 0
push 0x435288
push 0x43528c
call fcn.00428830
add esp, 0xc
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x988], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401fe0
mov eax, dword [ebp - 0x988]
jmp 0x429341
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x4bc], edx
mov eax, dword [ebp - 0x4bc]
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
je 0x4292ef
cmp dword [ebp - 0x4b8], 0xffffffff
je 0x4292ef
lea ecx, [ebp - 0x14]
push ecx
push 0x20008
mov edx, dword [ebp - 0x4b8]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4292df
xor eax, eax
mov word [ebp - 0x974], ax
push 0x256
push 0
lea ecx, [ebp - 0x972]
push ecx
call fcn.00412bb0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x714], dx
push 0x256
push 0
lea eax, [ebp - 0x712]
push eax
call fcn.00412bb0
add esp, 0xc
lea ecx, [ebp - 0x978]
push ecx
lea edx, [ebp - 0x714]
push edx
lea eax, [ebp - 0x718]
push eax
lea ecx, [ebp - 0x974]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00428420
add esp, 0x14
test eax, eax
jne 0x429126
jmp 0x429305
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x990]
call fcn.00401ee0
mov dword [ebp - 0x9a4], eax
mov ecx, dword [ebp - 0x9a4]
mov dword [ebp - 0x9a8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x9a0]
or edx, 1
mov dword [ebp - 0x9a0], edx
mov eax, dword [ebp - 0x9a8]
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.00402700
add esp, 8
movzx edx, al
test edx, edx
je 0x4291c8
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x994]
call fcn.00401ee0
mov dword [ebp - 0x9ac], eax
mov ecx, dword [ebp - 0x9a0]
or ecx, 2
mov dword [ebp - 0x9a0], ecx
push str.regedit.exe
mov edx, dword [ebp - 0x9ac]
push edx
call fcn.00402720
add esp, 8
movzx eax, al
test eax, eax
je 0x4291c8
mov dword [ebp - 0x9b0], 1
jmp 0x4291d2
mov dword [ebp - 0x9b0], 0
mov cl, byte [ebp - 0x9b0]
mov byte [ebp - 0x989], cl
mov edx, dword [ebp - 0x9a0]
and edx, 2
je 0x4291fb
and dword [ebp - 0x9a0], 0xfffffffd
lea ecx, [ebp - 0x994]
call fcn.00401fe0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x9a0]
and eax, 1
je 0x42921f
and dword [ebp - 0x9a0], 0xfffffffe
lea ecx, [ebp - 0x990]
call fcn.00401fe0
movzx ecx, byte [ebp - 0x989]
test ecx, ecx
je 0x4292df
mov edx, dword [ebp - 0x14]
push edx
call fcn.00428540
add esp, 4
mov dword [ebp - 0x97c], eax
cmp dword [ebp - 0x97c], 0
jne 0x429266
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
push str.GetLinkedToken_failed_for_process:
call fcn.00428830
add esp, 0xc
jmp 0x4292df
push 0
lea ecx, [ebp - 0x228]
push ecx
push str.Linked_token_created_for_process:
call fcn.00428830
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x97c]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x4292df
push 0
push 0x435360
push 0x435368
call fcn.00428830
add esp, 0xc
mov dword [ebp - 0x998], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401fe0
mov eax, dword [ebp - 0x998]
jmp 0x429341
cmp dword [ebp - 0x14], 0
je 0x4292ef
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x4b8], 0
je 0x429305
mov edx, dword [ebp - 0x4b8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x429059
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x99c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401fe0
mov eax, dword [ebp - 0x99c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004125db
mov esp, ebp
pop ebp
ret