Function at 0x423c90
Capabilities:
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5135ad
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
xor eax, eax
mov dword [ebp - 0x470], 2
xor ebx, ebx
push 0x206
mov dword [ebp - 0x490], ebx
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004de630
push 0x228
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], ebx
push ebx
push eax
call fcn.004de630
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
jmp 0x423d30
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x423d30
push 0
mov ecx, 7
mov esi, 0x53e838
rep movsd dword es:[edi], dword [esi]
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x46c], eax
cmp eax, 0xffffffff
jne 0x423d71
call esi
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x46c]
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x468], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x423d95
call esi
mov dword [ebp - 0x470], eax
mov edi, dword [ebp - 0x46c]
jmp 0x423da0
push dword [ebp - 0x460]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x238], esi
test esi, esi
je 0x424079
mov edx, dword [ebp - 0x460]
lea ecx, [ebp - 0x230]
call fcn.00423ba0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x220], 0
jne 0x423e22
cmp word [ebp - 0x444], 0
jne 0x423df2
xor eax, eax
jmp 0x423e0f
lea eax, [ebp - 0x444]
lea edx, [eax + 2]
jmp 0x423e00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423e00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407100
xor eax, eax
mov dword [ebp - 0x494], 7
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
cmp word [ebp - 0x218], ax
jne 0x423e4c
xor ecx, ecx
jmp 0x423e64
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423e55
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00407100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a8]
mov edi, dword [ebp - 0x498]
lea edx, [ebp - 0x230]
or ebx, 1
mov esi, edi
cmp dword [ebp - 0x494], 8
mov dword [ebp - 0x234], ebx
cmovae ecx, dword [ebp - 0x4a8]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x490], ebx
cmovae edx, dword [ebp - 0x230]
mov ebx, dword [ebp - 0x220]
cmp ebx, edi
cmovb esi, ebx
test esi, esi
jne 0x423ed8
xor eax, eax
test eax, eax
jne 0x423f00
cmp ebx, edi
jae 0x423ef7
or eax, 0xffffffff
jmp 0x423efe
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x423ee9
add edx, 2
add ecx, 2
dec esi
jmp 0x423ec7
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x423ecb
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
jne 0x423fc3
push 0xc
xor eax, eax
mov dword [ebp - 0x474], 7
push str.explorer.exe
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
call fcn.00407100
or dword [ebp - 0x234], 2
lea ecx, [ebp - 0x488]
cmp dword [ebp - 0x474], 8
lea edx, [ebp - 0x230]
mov edi, dword [ebp - 0x478]
mov esi, edi
cmovae ecx, dword [ebp - 0x488]
cmp dword [ebp - 0x21c], 8
mov ebx, dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
cmp ebx, edi
cmovb esi, ebx
test esi, esi
jne 0x423f90
xor eax, eax
test eax, eax
jne 0x423fb8
cmp ebx, edi
jae 0x423faf
or eax, 0xffffffff
jmp 0x423fb6
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x423fa1
add edx, 2
add ecx, 2
dec esi
jmp 0x423f7e
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x423f82
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
jne 0x423fc3
xor bl, bl
jmp 0x423fc5
mov bl, 1
mov eax, dword [ebp - 0x234]
test al, 2
je 0x424012
and eax, 0xfffffffd
cmp dword [ebp - 0x474], 8
mov dword [ebp - 0x234], eax
jb 0x423ff5
push dword [ebp - 0x488]
call fcn.004c8900
mov eax, dword [ebp - 0x234]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], cx
mov dword [ebp - 4], 0
test al, 1
je 0x42403d
and eax, 0xfffffffe
cmp dword [ebp - 0x494], 8
mov dword [ebp - 0x234], eax
jb 0x42403d
push dword [ebp - 0x4a8]
call fcn.004c8900
add esp, 4
test bl, bl
jne 0x424094
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
jb 0x42406d
push dword [ebp - 0x230]
call fcn.004c8900
add esp, 4
mov edi, dword [ebp - 0x46c]
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x423da0
jmp 0x424117
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x234]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4240fa
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x238]
push dword [ebp - 0x234]
mov dword [ebp - 0x470], 0
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x21c], 8
jb 0x424111
push dword [ebp - 0x230]
call fcn.004c8900
add esp, 4
mov edi, dword [ebp - 0x46c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x424124
push esi
call ebx
test edi, edi
je 0x42412b
push edi
call ebx
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret