Function at 0x42c0be
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b897
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4b2d60]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2d60]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
push str.GetInteractiveUser...
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x28c], ebx
call fcn.00411806
or dword [esp + 0x28c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push ebx
push esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x42c193
push str.CreateToolhelp32Snapshot_failed:
lea ecx, [esp + 0x18]
call fcn.004012e2
xor esi, esi
inc esi
mov dword [esp + 0x280], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00411806
mov ecx, dword [esp + 0x20]
jmp 0x42c31a
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42c1cf
push str.Process32First_failed:
lea ecx, [esp + 0x18]
call fcn.004012e2
mov dword [esp + 0x280], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
push 1
jmp 0x42c185
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.004012e2
lea edi, [esp + 0x14]
mov dword [esp + 0x280], 3
call fcn.00408b79
push str.explorer.exe
mov ecx, edi
call fcn.004074fe
test eax, eax
jne 0x42c2c6
push dword [esp + 0x44]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x34], edi
cmp edi, ebx
je 0x42c404
cmp edi, 0xffffffff
je 0x42c404
lea eax, [esp + 0x20]
push eax
push 0xa
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42c283
mov eax, 0x104
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x34]
push dword [esp + 0x30]
call fcn.0042c44b
add esp, 0x14
test eax, eax
jne 0x42c34b
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42c2bf
push str.OpenProcessToken_explorer.exe_failed:
lea ecx, [esp + 0x20]
call fcn.004012e2
mov byte [esp + 0x280], 7
call esi
push eax
lea eax, [esp + 0x20]
push eax
push 1
call fcn.00411806
mov byte [esp + 0x28c], 3
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x280], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42c1d5
push str.explorer.exe_not_found
lea ecx, [esp + 0x1c]
call fcn.004012e2
push ebx
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x28c], 8
call fcn.00411806
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0044ff92
mov esp, ebp
pop ebp
ret
push dword [esp + 0x2c]
xor edi, edi
inc edi
push edi
push edi
push ebx
push 0x2000000
push dword [esp + 0x34]
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea ecx, [esp + 0x1c]
test eax, eax
je 0x42c3b0
push str.DuplicateTokenEx_success:
call fcn.004012e2
push ebx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x290], 5
call fcn.00411336
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov dword [esp + 0x18], edi
jmp 0x42c3ec
push str.DuplicateTokenEx_failed:
call fcn.004012e2
mov byte [esp + 0x280], 6
call esi
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00411336
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
push dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x34]
call esi
mov ebx, dword [esp + 0x18]
jmp 0x42c438
push str.OpenProcess_explorer.exe_failed:
lea ecx, [esp + 0x1c]
call fcn.004012e2
mov byte [esp + 0x280], 4
call esi
push eax
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.00411806
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, ebx
jmp 0x42c327