Function at 0x4226f0
Capabilities:
Access peb ldr_data
Enumerate processes
Get disk information
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x4e3c56
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x658], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x674]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x684]
xor esi, esi
push 0x206
lea eax, [esp + 0x262]
push esi
push eax
mov dword [esp + 0x30], esi
mov word [esp + 0x268], si
call fcn.004be320
push 0x228
lea ecx, [esp + 0x40]
push esi
push ecx
mov dword [esp + 0x44], esi
call fcn.004be320
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x5143ac
mov dword [esp + 0x20], esi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x67c], esi
call fcn.004221c0
call fcn.004226a0
test eax, eax
je 0x4228e4
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x206
lea ecx, [esp + 0x46a]
push esi
mov byte [esp + 0x684], 1
push ecx
mov word [esp + 0x470], si
call fcn.004be320
movzx edx, word [ebp]
push edx
push 0x4f2df8
lea edi, [esp + 0x30]
call fcn.00406040
mov ecx, dword [esp + 0x30]
add esp, 0x14
push 0x104
lea eax, [esp + 0x468]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [esp + 0x464]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x422810
sub eax, edx
sar eax, 1
lea edx, [esp + 0x464]
mov ebx, eax
push edx
lea eax, [esp + 0x1c]
call fcn.00401450
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x42286e
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4228da
cmp ecx, eax
jg 0x4228da
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x42286e
cmp ax, 0x2f
je 0x42286e
mov edx, 0x4f09a4
lea edi, [esp + 0x18]
call fcn.00413750
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422873
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x4228b0
add ebp, 6
jne 0x422890
xor eax, eax
jmp 0x4228a4
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422895
sub eax, edx
sar eax, 1
push eax
push ebp
lea eax, [esp + 0x20]
push eax
call fcn.00405fb0
mov byte [esp + 0x67c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42290c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42290c
push 0x80070057
call fcn.00401340
cmp ebp, esi
jne 0x4228ec
xor eax, eax
jmp 0x422900
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4228f1
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x1c]
call fcn.00401450
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
je 0x422a5f
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422a58
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x28]
je 0x422a36
test eax, eax
je 0x422a36
cmp eax, 4
je 0x422a36
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
je 0x422a36
call fcn.004226a0
test eax, eax
je 0x4229b4
mov eax, dword [0x51552c]
test eax, eax
je 0x4229b4
push 0x104
lea edx, [esp + 0x260]
push edx
push edi
call eax
jmp 0x4229cf
mov eax, dword [0x515528]
test eax, eax
je 0x422a27
push 0x104
lea ecx, [esp + 0x260]
push ecx
push 0
push edi
call eax
test eax, eax
je 0x422a27
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 0xc]
jne 0x422a27
lea edx, [esp + 0x25c]
push edx
push ecx
call fcn.004b9e54
add esp, 8
test eax, eax
jne 0x422a27
push eax
push edi
call ebp
mov ecx, dword [esp + 0x34]
mov esi, eax
lea eax, [esp + 0x25c]
push eax
push ecx
call ebx
push eax
push esi
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
mov ecx, 0x515890
call fcn.004899e0
add esp, 0x14
test esi, esi
mov esi, dword [esp + 0x1c]
jne 0x422a27
add dword [esp + 0x20], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], 0
lea edx, [esp + 0x2c]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422955
mov eax, dword [esp + 0x24]
test eax, eax
je 0x422a58
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x67c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x674]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.004b84de
add esp, 0x66c
ret