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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3346
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [section..data]
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 esi, ecx
mov dword [ebp - 0x654], esi
xor eax, eax
xor ebx, ebx
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR120.dll_memset
push 0x228
lea eax, [ebp - 0x648]
mov dword [ebp - 0x64c], ebx
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0x18
mov dword [ebp - 0x658], ebx
call fcn.00418c10
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41b6f0
push 0x80004005
call fcn.0041c6b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x650], eax
mov dword [ebp - 4], 0
call fcn.0041b5a0
mov eax, dword [0x4fff64]
cmp eax, 0xffffffff
jne 0x41b748
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
test edi, edi
je 0x41b768
push 0x4fff64
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x41b768
mov eax, dword [0x4fff64]
test eax, eax
je 0x41b772
call fcn.00418c10
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41b781
push 0x80004005
call fcn.0041c6b0
mov dword [0x4fff64], 0
test esi, esi
jne 0x41b8d3
xor ecx, ecx
jmp 0x41b8ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x65c]
push 0x4e91b4
push eax
call fcn.0041c3f0
mov edi, dword [ebp - 0x65c]
lea eax, [ebp - 0x218]
add esp, 0x18
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x41b7f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b7f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x650]
call fcn.0041c330
mov esi, dword [ebp - 0x650]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x41b850
lea eax, [ecx - 1]
test eax, eax
js 0x41b882
cmp eax, ecx
jg 0x41b882
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x41b850
cmp eax, 0x2f
je 0x41b850
push 1
push 0x4e9384
lea ecx, [ebp - 0x650]
call fcn.0041c260
mov esi, dword [ebp - 0x650]
mov edx, dword [ebp - 0x654]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x654], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b861
sub ecx, dword [ebp - 0x654]
sar ecx, 1
cmp ecx, 3
jbe 0x41b8b3
add edx, 6
jne 0x41b88c
xor ecx, ecx
jmp 0x41b8a0
push 0x80070057
call fcn.0041c6b0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b891
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x650]
call fcn.0041c260
mov esi, dword [ebp - 0x650]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b902
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b902
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x41b8e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b8e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x650]
call fcn.0041c330
mov esi, dword [ebp - 0x650]
push esi
push str.KillProcessByFilePath_strPath__s
push 0xf3
push str.ProcessCommon.cpp
call fcn.004c27e0
add esp, 0x10
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x41ba38
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x41ba31
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x654], ecx
lea ecx, [ecx]
mov eax, dword [ebp - 0x644]
cmp eax, ecx
je 0x41ba0a
test eax, eax
je 0x41ba0a
cmp eax, 4
je 0x41ba0a
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x41ba0a
call fcn.0041b610
test eax, eax
je 0x41b9b7
mov ecx, dword [0x505350]
test ecx, ecx
je 0x41b9b7
push 0x104
lea eax, [ebp - 0x420]
push eax
push ebx
call ecx
jmp 0x41b9d1
mov eax, dword [0x505354]
test eax, eax
je 0x41ba01
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x41ba01
cmp eax, dword [esi - 0xc]
jne 0x41ba01
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41ba01
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
jne 0x41ba01
inc dword [ebp - 0x658]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
lea eax, [ebp - 0x64c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
mov ecx, dword [ebp - 0x654]
test eax, eax
jne 0x41b960
test ebx, ebx
je 0x41ba31
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ba59
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x658]
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.0046bea8
mov esp, ebp
pop ebp
ret