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

Disassembly:
push 0x890
mov eax, 0x4fb71a
call fcn.00446110
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov esi, 0x206
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x898], ebx
mov dword [ebp - 0x890], ebx
call fcn.004463e0
push 0x228
lea eax, [ebp - 0x888]
push ebx
push eax
mov dword [ebp - 0x88c], ebx
call fcn.004463e0
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x650], ebx
mov word [ebp - 0x660], cx
mov dword [ebp - 0x630], eax
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x634], ebx
mov word [ebp - 0x644], ax
mov byte [ebp - 4], 1
call fcn.004039c9
push edi
call fcn.00444531
add esp, 0x1c
push eax
push edi
lea ecx, [ebp - 0x660]
call fcn.004020ab
xor eax, eax
push esi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004463e0
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004463e0
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x628]
push 0x4ffb50
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x420]
push eax
call fcn.00444531
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x644]
call fcn.004020ab
mov eax, dword [ebp - 0x634]
cmp eax, ebx
je 0x405e3f
cmp dword [ebp - 0x630], 8
mov ecx, dword [ebp - 0x644]
jae 0x405e14
lea ecx, [ebp - 0x644]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x405e3f
cmp eax, 0x2f
je 0x405e3f
push 0x4ffb4c
call fcn.00444531
pop ecx
push eax
push 0x4ffb4c
lea ecx, [ebp - 0x644]
call fcn.0040537e
push edi
call fcn.00444531
pop ecx
cmp eax, 3
jbe 0x405e62
add edi, 6
push edi
call fcn.00444531
pop ecx
push eax
push edi
lea ecx, [ebp - 0x644]
call fcn.0040537e
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x894], eax
cmp eax, 0xffffffff
jne 0x405e99
push ebx
push 1
lea ecx, [ebp - 0x644]
call fcn.004017df
push ebx
push 1
lea ecx, [ebp - 0x660]
call fcn.004017df
xor eax, eax
call fcn.00446193
ret
lea eax, [ebp - 0x88c]
push eax
push dword [ebp - 0x894]
mov dword [ebp - 0x88c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x405ee7
xor esi, esi
push dword [ebp - 0x894]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x644]
call fcn.004017df
push ebx
push 1
lea ecx, [ebp - 0x660]
call fcn.004017df
mov eax, esi
jmp 0x405e93
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x89c], eax
mov eax, dword [ebp - 0x884]
cmp eax, dword [ebp - 0x89c]
je 0x405fcd
cmp eax, ebx
je 0x405fcd
cmp eax, 4
je 0x405fcd
push eax
push ebx
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x890], edi
cmp edi, ebx
je 0x405fcd
call fcn.00403a25
test eax, eax
je 0x405f52
mov eax, dword [0x551a74]
cmp eax, ebx
je 0x405f52
push esi
lea ecx, [ebp - 0x218]
push ecx
push edi
call eax
jmp 0x405f7e
mov eax, dword [0x551a70]
cmp eax, ebx
je 0x405fc0
push esi
lea ecx, [ebp - 0x218]
push ecx
push ebx
push edi
call eax
cmp eax, ebx
jne 0x406006
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [0x551a74]
cmp eax, ebx
je 0x405fc0
cmp eax, dword [ebp - 0x634]
jne 0x405fc0
cmp dword [ebp - 0x630], 8
mov eax, dword [ebp - 0x644]
jae 0x405f9f
lea eax, [ebp - 0x644]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00446cc2
pop ecx
pop ecx
test eax, eax
jne 0x405fc0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x898], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x890], ebx
lea eax, [ebp - 0x88c]
push eax
push dword [ebp - 0x894]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405ef3
cmp dword [ebp - 0x890], ebx
je 0x405ffb
push dword [ebp - 0x890]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x898]
jmp 0x405ebb
cmp eax, dword [ebp - 0x650]
jne 0x405fc0
cmp dword [ebp - 0x64c], 8
mov eax, dword [ebp - 0x660]
jae 0x405f9f
lea eax, [ebp - 0x660]
jmp 0x405f9f