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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a38ab
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x639354]
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 eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x664], eax
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0x65c], esi
call fcn.00560a80
push 0x22c
lea eax, [ebp - 0x64c]
push ebx
push eax
call fcn.00560a80
add esp, 0x18
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 4], ebx
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x47ef54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x650], eax
mov dword [ebp - 4], 1
call fcn.004849c0
mov eax, dword [0x613464]
cmp eax, 0xffffffff
jne 0x47eb1f
push 0x5c20b4
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 0x47eb38
push 0x613464
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x47eb38
mov eax, dword [0x613464]
test eax, eax
je 0x47eb42
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x47ef5e
jmp 0x47eb51
mov dword [0x613464], 0
test esi, esi
jne 0x47ec96
xor ecx, ecx
jmp 0x47ecaf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00560a80
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x660]
push 0x5c205c
push eax
call fcn.0042c720
mov edi, dword [ebp - 0x660]
lea eax, [ebp - 0x420]
add esp, 0x18
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ebb0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x650]
call fcn.0042a060
mov esi, dword [ebp - 0x650]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x47ec18
lea eax, [ecx - 1]
test eax, eax
js 0x47ef68
cmp eax, ecx
jg 0x47ef68
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x47ec18
cmp eax, 0x2f
je 0x47ec18
push 1
push 0x5b9804
lea ecx, [ebp - 0x650]
call fcn.004299d0
mov esi, dword [ebp - 0x650]
mov edx, dword [ebp - 0x65c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x65c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ec30
sub ecx, dword [ebp - 0x65c]
sar ecx, 1
cmp ecx, 3
jbe 0x47ec78
add edx, 6
jne 0x47ec51
xor ecx, ecx
jmp 0x47ec65
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ec56
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x650]
call fcn.004299d0
mov esi, dword [ebp - 0x650]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47ecc2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47ecc2
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x47eca0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47eca0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x650]
call fcn.0042a060
mov esi, dword [ebp - 0x650]
cmp dword [esi - 0xc], 4
push esi
jg 0x47ecec
push str.720_tKFunction::KillProcessByPath_tKillProcessByPath_path_to_short:_ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x14
xor ebx, ebx
jmp 0x47ef1e
push str.724_tKFunction::KillProcessByPath_tKillProcessByPath_path:_ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x14
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x65c], edi
cmp edi, 0xffffffff
je 0x47ef06
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47eeff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x660], ecx
nop
mov eax, dword [ebp - 0x644]
cmp eax, ecx
je 0x47eed9
test eax, eax
je 0x47eed9
cmp eax, 4
je 0x47eed9
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x47eed9
mov ecx, dword [0x613464]
cmp ecx, 0xffffffff
jne 0x47edc7
push 0x5c20b4
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 0x47ede5
push 0x613464
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x47ede5
mov ecx, dword [0x613464]
test ecx, ecx
je 0x47edef
mov eax, dword [0x641d94]
test eax, eax
je 0x47edef
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call eax
jmp 0x47ee0d
mov dword [0x613464], 0
mov eax, dword [0x641d90]
test eax, eax
je 0x47eeca
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x47eeca
cmp dword [ebp + 0x10], 0
mov ecx, dword [esi - 0xc]
je 0x47ee65
cmp eax, ecx
jle 0x47eeca
push ecx
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0056b572
add esp, 0xc
test eax, eax
jne 0x47eeca
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.763_tKFunction::KillProcessByPath_tTerminate_Process_return:_d__error:_d__pid:_d__path:_ws
jmp 0x47eea1
cmp eax, ecx
jne 0x47eeca
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0056b422
add esp, 8
test eax, eax
jne 0x47eeca
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.773_tKFunction::KillProcessByPath_tTerminate_Process_return:_d__error:_d__pid:_d__path:_ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x20
test edi, edi
jne 0x47eec4
inc dword [ebp - 0x658]
jmp 0x47eeca
inc dword [ebp - 0x654]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x65c]
xor ebx, ebx
lea eax, [ebp - 0x64c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp - 0x660]
test eax, eax
jne 0x47ed50
test ebx, ebx
je 0x47eeff
push ebx
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 0x47ef18
mov eax, dword [ebp - 0x654]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x658]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47ef36
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80070057
call fcn.00429b60
int3