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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511fbf
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x559910]
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 - 0x234], ebx
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004e09b0
push 0x228
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], ebx
push ebx
push eax
call fcn.004e09b0
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 0x419590
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419590
push 0
mov ecx, 7
mov esi, 0x53e2d0
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 edi, eax
cmp edi, 0xffffffff
jne 0x4195c7
call esi
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4195f0
call esi
mov dword [ebp - 0x470], eax
jmp 0x4195f0
push dword [ebp - 0x460]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x419812
mov edx, dword [ebp - 0x460]
lea ecx, [ebp - 0x230]
call fcn.00419400
mov dword [ebp - 4], 0
cmp dword [ebp - 0x220], 0
jne 0x419667
cmp word [ebp - 0x444], 0
jne 0x41963c
xor eax, eax
jmp 0x419654
lea eax, [ebp - 0x444]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419645
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403580
xor eax, eax
mov dword [ebp - 0x490], 7
mov dword [ebp - 0x494], 0
mov word [ebp - 0x4a4], ax
cmp word [ebp - 0x218], ax
jne 0x419691
xor ecx, ecx
jmp 0x4196af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4196a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00403580
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4a4]
push dword [ebp - 0x494]
or ebx, 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x490], 8
mov dword [ebp - 0x234], ebx
cmovae eax, dword [ebp - 0x4a4]
push eax
push dword [ebp - 0x220]
push 0
call fcn.00402c70
test eax, eax
je 0x419779
push 0xc
xor eax, eax
mov dword [ebp - 0x474], 7
push 0x53e2ec
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
call fcn.00403580
mov dword [ebp - 4], 2
lea eax, [ebp - 0x488]
push dword [ebp - 0x478]
or ebx, 2
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x474], 8
mov dword [ebp - 0x234], ebx
cmovae eax, dword [ebp - 0x488]
push eax
push dword [ebp - 0x220]
push 0
call fcn.00402c70
mov byte [ebp - 0x469], 0
test eax, eax
jne 0x419780
mov byte [ebp - 0x469], 1
test bl, 2
je 0x4197bc
and ebx, 0xfffffffd
cmp dword [ebp - 0x474], 8
jb 0x41979f
push dword [ebp - 0x488]
call fcn.004d6720
add esp, 4
xor eax, eax
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x4197e2
and ebx, 0xfffffffe
cmp dword [ebp - 0x490], 8
jb 0x4197e2
push dword [ebp - 0x4a4]
call fcn.004d6720
add esp, 4
cmp byte [ebp - 0x469], 0
jne 0x41982a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
jb 0x419812
push dword [ebp - 0x230]
call fcn.004d6720
add esp, 4
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4195f0
jmp 0x4198a1
lea eax, [ebp - 0x238]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41988a
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x234]
push dword [ebp - 0x238]
mov dword [ebp - 0x470], 0
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x21c], 8
jb 0x4198a1
push dword [ebp - 0x230]
call fcn.004d6720
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4198ae
push esi
call ebx
test edi, edi
je 0x4198b5
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.004d6710
mov esp, ebp
pop ebp
ret