Function at 0x42acf4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46790e
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4add60]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4add60]
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.00410d56
or dword [esp + 0x28c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push ebx
push esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x42adc9
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.00410d56
mov ecx, dword [esp + 0x20]
jmp 0x42af50
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42ae05
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 0x42adbb
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.00407f2a
push str.explorer.exe
mov ecx, edi
call fcn.00406a03
test eax, eax
jne 0x42aefc
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 0x42b03a
cmp edi, 0xffffffff
je 0x42b03a
lea eax, [esp + 0x20]
push eax
push 0xa
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42aeb9
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.0042b081
add esp, 0x14
test eax, eax
jne 0x42af81
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42aef5
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.00410d56
mov byte [esp + 0x28c], 3
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x280], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42ae0b
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.00410d56
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
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.0044da13
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 0x42afe6
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.00410886
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov dword [esp + 0x18], edi
jmp 0x42b022
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.00410886
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
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 0x42b06e
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.00410d56
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, ebx
jmp 0x42af5d