Function at 0x427df7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e3af
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x497d50]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x497d50]
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.00402060
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x28c], ebx
call fcn.00411fad
or dword [esp + 0x28c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push ebx
push esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x427ecc
push str.CreateToolhelp32Snapshot_failed:
lea ecx, [esp + 0x18]
call fcn.00402060
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.00411fad
mov ecx, dword [esp + 0x20]
jmp 0x428053
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x427f08
push str.Process32First_failed:
lea ecx, [esp + 0x18]
call fcn.00402060
mov dword [esp + 0x280], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
push 1
jmp 0x427ebe
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.00402060
lea edi, [esp + 0x14]
mov dword [esp + 0x280], 3
call fcn.0040a506
push str.explorer.exe
mov ecx, edi
call fcn.00408ff7
test eax, eax
jne 0x427fff
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 0x42813d
cmp edi, 0xffffffff
je 0x42813d
lea eax, [esp + 0x20]
push eax
push 0xa
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x427fbc
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.00428184
add esp, 0x14
test eax, eax
jne 0x428084
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427ff8
push str.OpenProcessToken_explorer.exe_failed:
lea ecx, [esp + 0x20]
call fcn.00402060
mov byte [esp + 0x280], 7
call esi
push eax
lea eax, [esp + 0x20]
push eax
push 1
call fcn.00411fad
mov byte [esp + 0x28c], 3
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x280], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x427f0e
push str.explorer.exe_not_found
lea ecx, [esp + 0x1c]
call fcn.00402060
push ebx
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x28c], 8
call fcn.00411fad
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
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.00445157
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 0x4280e9
push str.DuplicateTokenEx_success:
call fcn.00402060
push ebx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x290], 5
call fcn.00411b27
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [esp + 0x18], edi
jmp 0x428125
push str.DuplicateTokenEx_failed:
call fcn.00402060
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.00411b27
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
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 0x428171
push str.OpenProcess_explorer.exe_failed:
lea ecx, [esp + 0x1c]
call fcn.00402060
mov byte [esp + 0x280], 4
call esi
push eax
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.00411fad
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, ebx
jmp 0x428060