Function at 0x434d75
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474d4c
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4bfd60]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4bfd60]
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.004020a6
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x28c], ebx
call fcn.004152d1
or dword [esp + 0x28c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push ebx
push esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x434e4a
push str.CreateToolhelp32Snapshot_failed:
lea ecx, [esp + 0x18]
call fcn.004020a6
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.004152d1
mov ecx, dword [esp + 0x20]
jmp 0x434fd1
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x434e86
push str.Process32First_failed:
lea ecx, [esp + 0x18]
call fcn.004020a6
mov dword [esp + 0x280], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
push 1
jmp 0x434e3c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.004020a6
lea edi, [esp + 0x14]
mov dword [esp + 0x280], 3
call fcn.0040c442
push str.explorer.exe
mov ecx, edi
call fcn.0040ae5c
test eax, eax
jne 0x434f7d
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 0x4350bb
cmp edi, 0xffffffff
je 0x4350bb
lea eax, [esp + 0x20]
push eax
push 0xa
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x434f3a
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.00435102
add esp, 0x14
test eax, eax
jne 0x435002
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x434f76
push str.OpenProcessToken_explorer.exe_failed:
lea ecx, [esp + 0x20]
call fcn.004020a6
mov byte [esp + 0x280], 7
call esi
push eax
lea eax, [esp + 0x20]
push eax
push 1
call fcn.004152d1
mov byte [esp + 0x28c], 3
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x280], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434e8c
push str.explorer.exe_not_found
lea ecx, [esp + 0x1c]
call fcn.004020a6
push ebx
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x28c], 8
call fcn.004152d1
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
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.00458e0e
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 0x435067
push str.DuplicateTokenEx_success:
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x290], 5
call fcn.00414e01
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov dword [esp + 0x18], edi
jmp 0x4350a3
push str.DuplicateTokenEx_failed:
call fcn.004020a6
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.00414e01
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
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 0x4350ef
push str.OpenProcess_explorer.exe_failed:
lea ecx, [esp + 0x1c]
call fcn.004020a6
mov byte [esp + 0x280], 4
call esi
push eax
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.004152d1
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
jmp 0x434fde