Function at 0x418ce0
Capabilities:
Enumerate processes
Get disk information
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4519a6
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
push 0x206
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x45a]
xor eax, eax
push ebx
push ecx
xor ebp, ebp
mov word [esp + 0x460], ax
call fcn.004375f0
push 0x228
lea edx, [esp + 0x34]
push ebx
push edx
mov dword [esp + 0x38], ebx
call fcn.004375f0
mov eax, dword [0x469ba8]
mov edx, dword [eax + 0xc]
add esp, 0x18
mov ecx, 0x469ba8
mov dword [esp + 0x1c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x668], ebx
call fcn.004187f0
cmp dword [0x468f6c], 0xffffffff
jne 0x418e92
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x418dbb
push 0x468f6c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x418e92
mov dword [0x468f6c], ebx
cmp esi, ebx
je 0x418de1
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418dd0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.00412770
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x419036
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41902f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x18]
je 0x419011
test eax, eax
je 0x419011
cmp eax, 4
je 0x419011
push eax
push 0
push 0x1f0fff
call esi
mov ebp, eax
test ebp, ebp
je 0x419011
call fcn.004187a0
test eax, eax
je 0x418fbc
mov eax, dword [0x46a964]
test eax, eax
je 0x418fbc
push 0x104
lea edx, [esp + 0x458]
push edx
push ebp
call eax
jmp 0x418fd7
cmp dword [0x468f6c], ebx
je 0x418dc1
mov eax, dword [0x469ba8]
mov edx, dword [eax + 0xc]
mov ecx, 0x469ba8
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x206
lea ecx, [esp + 0x252]
xor eax, eax
push ebx
mov byte [esp + 0x670], 1
push ecx
mov word [esp + 0x258], ax
call fcn.004375f0
movzx edx, word [esi]
push edx
push 0x45cf58
lea edi, [esp + 0x2c]
call fcn.00412990
mov edi, dword [esp + 0x2c]
add esp, 0x14
push 0x104
lea eax, [esp + 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [esp + 0x24c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418f10
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24c]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00412770
push 1
push 0x45bbbc
lea edx, [esp + 0x1c]
push edx
call fcn.00419100
mov eax, esi
lea edx, [eax + 2]
jmp 0x418f50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f50
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x418f8f
lea edx, [esi + 6]
test edx, edx
jne 0x418f6f
xor eax, eax
jmp 0x418f83
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f74
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00419100
lea eax, [edi - 0x10]
mov byte [esp + 0x668], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418deb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x418deb
mov eax, dword [0x46a960]
test eax, eax
je 0x419008
push 0x104
lea ecx, [esp + 0x458]
push ecx
push 0
push ebp
call eax
test eax, eax
je 0x419008
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
cmp eax, ecx
jbe 0x419008
push ecx
lea eax, [esp + 0x458]
push eax
push edx
call fcn.00431de0
add esp, 0xc
test eax, eax
jne 0x419008
push eax
push ebp
call ebx
test eax, eax
jne 0x419008
inc dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418e30
test ebp, ebp
je 0x41902f
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x668], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.00430900
add esp, 0x658
ret