Function at 0x49ce87
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ebx, ebx
mov word [ebp - 0x20c], ax
push 0x206
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x650], esi
push ebx
push eax
mov edi, ebx
call fcn.004bf240
push 0x228
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x640], ebx
push ebx
push eax
call fcn.004bf240
add esp, 0x18
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x644]
call fcn.00423e41
call fcn.0049fbf1
call fcn.0049ce3b
test eax, eax
je 0x49cfd9
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x648]
call fcn.00423e41
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.004bf240
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x648]
push 0x4fc7e4
push eax
call fcn.00424501
mov esi, dword [ebp - 0x648]
lea eax, [ebp - 0x414]
add esp, 0x18
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x414]
push eax
call fcn.004241d7
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x644]
call fcn.0042415e
lea eax, [ebp - 0x644]
push eax
call fcn.0049dfdb
mov edx, dword [ebp - 0x650]
pop ecx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x650], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x49cf9e
sub ecx, dword [ebp - 0x650]
sar ecx, 1
cmp ecx, 3
jbe 0x49cfcf
lea edi, [edx + 6]
push edi
call fcn.004241d7
pop ecx
push eax
push edi
lea ecx, [ebp - 0x644]
call fcn.0043be5f
mov edi, ebx
lea ecx, [esi - 0x10]
call fcn.004206ab
jmp 0x49cfed
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x644]
call fcn.0042415e
mov esi, dword [ebp - 0x644]
push esi
push str.KillProcessByPath_path:_ws
push 0x55b31c
call fcn.004a9913
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x648], eax
cmp eax, 0xffffffff
je 0x49d148
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x640], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49d13c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x64c], eax
mov ecx, dword [ebp - 0x638]
cmp ecx, eax
je 0x49d10e
test ecx, ecx
je 0x49d10e
cmp ecx, 4
je 0x49d10e
push ecx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x49d10e
call fcn.0049ce3b
test eax, eax
je 0x49d0a1
mov eax, dword [0x55b260]
test eax, eax
je 0x49d0a1
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edi
call eax
jmp 0x49d0ba
mov eax, dword [0x55b25c]
test eax, eax
je 0x49d105
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push edi
call eax
test eax, eax
je 0x49d105
cmp dword [ebp + 0x10], ebx
je 0x49d0dd
cmp eax, dword [esi - 0xc]
jb 0x49d105
push dword [esi - 0xc]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004bf31b
add esp, 0xc
jmp 0x49d0f1
cmp eax, dword [esi - 0xc]
jne 0x49d105
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004bcbf4
pop ecx
pop ecx
test eax, eax
jne 0x49d105
push dword [ebp - 0x638]
call fcn.0049b3dd
pop ecx
test eax, eax
je 0x49d131
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x648]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x64c]
jne 0x49d048
xor ebx, ebx
inc ebx
test edi, edi
je 0x49d13c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret