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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x664], eax
xor eax, eax
mov esi, 0x206
xor ebx, ebx
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x648], ebx
call fcn.004921d0
push 0x228
lea eax, [ebp - 0x63c]
push ebx
push eax
mov dword [ebp - 0x640], ebx
call fcn.004921d0
add esp, 0x18
lea ecx, [ebp - 0x644]
push 0x4eb630
mov dword [ebp - 0x654], ebx
call fcn.004044ee
call fcn.00469763
call fcn.00467330
test eax, eax
je 0x4674c4
push 0x4eb630
lea ecx, [ebp - 0x650]
call fcn.004044ee
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.004921d0
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x650]
push 0x4c1384
push eax
call fcn.00404994
mov esi, dword [ebp - 0x650]
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x414]
push eax
call fcn.0040481a
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x644]
call fcn.004047a1
lea eax, [ebp - 0x644]
push eax
call fcn.00468709
pop ecx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x46748f
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x4674ba
add edi, 6
push edi
call fcn.0040481a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x644]
call fcn.0041e1c3
lea ecx, [esi - 0x10]
call fcn.00404f8d
jmp 0x4674d8
push edi
call fcn.0040481a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x644]
call fcn.004047a1
mov esi, dword [ebp - 0x644]
push esi
push str.KillProcessByPath_path:_ws
push 0x4eee98
call fcn.004738c9
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x644], edi
cmp edi, 0xffffffff
je 0x4678c1
lea eax, [ebp - 0x640]
push eax
push edi
mov dword [ebp - 0x640], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4678ba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x660], ecx
mov eax, dword [ebp - 0x638]
cmp eax, ecx
je 0x46784a
test eax, eax
je 0x46784a
cmp eax, 4
je 0x46784a
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x648], eax
test eax, eax
je 0x46784a
call fcn.00467330
test eax, eax
je 0x46759b
mov ecx, dword [0x4eedc4]
test ecx, ecx
je 0x46759b
mov edi, dword [ebp - 0x648]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call ecx
jmp 0x4675be
mov eax, dword [0x4eedc0]
test eax, eax
je 0x467838
mov edi, dword [ebp - 0x648]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push edi
call eax
test eax, eax
je 0x467832
cmp dword [ebp + 0x10], ebx
je 0x4676da
cmp eax, dword [esi - 0xc]
jbe 0x467832
push dword [esi - 0xc]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004922ab
add esp, 0xc
test eax, eax
jne 0x467832
push dword [ebp - 0x638]
call fcn.00466635
pop ecx
test eax, eax
je 0x467643
lea eax, [ebp - 0x64c]
push eax
push edi
mov dword [ebp - 0x64c], ebx
call fcn.00468af5
pop ecx
pop ecx
test eax, eax
jne 0x467832
push dword [ebp - 0x64c]
push str.TerminateProcess_fail_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0xc
push dword [ebp - 0x64c]
jmp 0x46789a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4677f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x65c]
push eax
push dword [ebp - 0x648]
mov dword [ebp - 0x65c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x467693
cmp dword [ebp - 0x65c], 0x103
jne 0x467832
push edi
push str.TerminateProcess_fail_errcode_d
jmp 0x46788c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExitCodeProcess_errcode_d_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0xc
jmp 0x467832
push str.Terminate_process_noliebao_WaitForSingleObject_WAIT_OBJECT_0
push 0x4eee98
call fcn.004738c9
pop ecx
pop ecx
jmp 0x467832
cmp edi, 0x102
jne 0x467818
push str.Terminate_process_noliebao_WaitForSingleObject_WAIT_TIMEOUT
jmp 0x4676b6
cmp eax, dword [esi - 0xc]
jne 0x467832
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0048fb94
pop ecx
pop ecx
test eax, eax
jne 0x467832
push dword [ebp - 0x638]
call fcn.00466635
pop ecx
test eax, eax
je 0x467781
lea eax, [ebp - 0x658]
push eax
push edi
mov dword [ebp - 0x658], ebx
call fcn.00468af5
push dword [ebp - 0x658]
mov edi, eax
push edi
push str.TerminateBrowser_bReturn__d_dwCode_d
push 0x4eee98
call fcn.004738c9
add esp, 0x18
test edi, edi
jne 0x467832
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0x648]
mov dword [ebp - 0x64c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x467693
cmp dword [ebp - 0x64c], 0x103
je 0x467866
push dword [ebp - 0x64c]
push str.GetExitCodeProcess_ExitCode_d
jmp 0x46769f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4677f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push ebx
push str.TerminateProcess_bReturn__d_dwCode_d
push 0x4eee98
mov dword [ebp - 0x650], ebx
call fcn.004738c9
add esp, 0x10
lea eax, [ebp - 0x650]
push eax
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4677e6
cmp dword [ebp - 0x650], 0x103
je 0x467886
push dword [ebp - 0x650]
push str.GetExitCodeProcess_noliebao_ExitCode_d
jmp 0x46769f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExitCodeProcess_noliebao_errcode_d_r_n
jmp 0x46769f
inc dword [ebp - 0x654]
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x4676b1
jmp 0x4676c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Terminate_process_noliebao_WaitForSingleObject_dwRet_d_errcode_d_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0x10
mov edi, dword [ebp - 0x644]
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x648], ebx
lea eax, [ebp - 0x640]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4678a9
mov ecx, dword [ebp - 0x660]
jmp 0x467537
push dword [ebp - 0x658]
push str.GetExitCodeProcess_STILL_ACTIVE_fail_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0xc
push dword [ebp - 0x658]
jmp 0x46789a
push edi
push str.GetExitCodeProcess_noliebao_STILL_ACTIVE_fail_errcode_d
push 0x4eee98
call fcn.004738c9
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x644]
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x4678ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x664]
test ecx, ecx
je 0x4678d3
mov eax, dword [ebp - 0x654]
mov dword [ecx], eax
lea ecx, [esi - 0x10]
call fcn.00404f8d
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret