Function at 0x43c001
Capabilities:
Enumerate processes

Disassembly:
push 0x258
mov eax, 0x4b0f63
call fcn.00469d7c
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x244]
push str.GetInteractiveUser...
mov dword [ebp - 0x254], eax
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x244]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00414da1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
jne 0x43c0a7
push str.CreateToolhelp32Snapshot_failed:
lea ecx, [ebp - 0x244]
call fcn.00402829
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
lea edx, [ebp - 0x244]
push eax
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x244]
jmp 0x43c240
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43c0e1
push str.Process32First_failed:
lea ecx, [ebp - 0x244]
call fcn.00402829
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
inc ecx
jmp 0x43c08f
xor esi, esi
inc esi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00402829
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 3
call fcn.0040b5ea
push str.explorer.exe
lea ecx, [ebp - 0x244]
call fcn.00409f0b
test eax, eax
jne 0x43c1e6
push dword [ebp - 0x238]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x43c2f9
cmp ebx, 0xffffffff
je 0x43c2f9
lea eax, [ebp - 0x24c]
push eax
push 0xa
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43c1a8
mov edx, dword [ebp - 0x25c]
mov eax, 0x104
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x254]
lea eax, [ebp - 0x258]
push eax
call fcn.0043c345
add esp, 0xc
test eax, eax
jne 0x43c250
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43c1df
push str.OpenProcessToken_explorer.exe_failed:
lea ecx, [ebp - 0x248]
call fcn.00402829
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43c0e4
push str.explorer.exe_not_found
lea ecx, [ebp - 0x248]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x248]
mov dword [ebp - 4], 8
pop ecx
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.00469d26
ret
push dword [ebp - 0x264]
push esi
push esi
push edi
push 0x2000000
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea ecx, [ebp - 0x248]
test eax, eax
je 0x43c2ab
push str.DuplicateTokenEx_success:
call fcn.00402829
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 5
push edi
push eax
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, esi
jmp 0x43c2e4
push str.DuplicateTokenEx_failed:
call fcn.00402829
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
lea edx, [ebp - 0x248]
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43c330
push str.OpenProcess_explorer.exe_failed:
lea ecx, [ebp - 0x248]
call fcn.00402829
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
jmp 0x43c24a