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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f34b
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x63434c]
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.0055c530
push 0x22c
lea eax, [ebp - 0x64c]
push ebx
push eax
call fcn.0055c530
add esp, 0x18
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 4], ebx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x47ed74
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x650], eax
mov dword [ebp - 4], 1
call fcn.00484060
mov eax, dword [0x60e464]
cmp eax, 0xffffffff
jne 0x47e93f
push 0x5bd154
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 0x47e958
push 0x60e464
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x47e958
mov eax, dword [0x60e464]
test eax, eax
je 0x47e962
mov byte [ebp - 4], 2
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x47ed7e
jmp 0x47e971
mov dword [0x60e464], 0
test esi, esi
jne 0x47eab6
xor ecx, ecx
jmp 0x47eacf
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.0055c530
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x660]
push 0x5bd0fc
push eax
call fcn.0042c6c0
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 0x47e9d0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x650]
call fcn.0042a000
mov esi, dword [ebp - 0x650]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x47ea38
lea eax, [ecx - 1]
test eax, eax
js 0x47ed88
cmp eax, ecx
jg 0x47ed88
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x47ea38
cmp eax, 0x2f
je 0x47ea38
push 1
push 0x5b4804
lea ecx, [ebp - 0x650]
call fcn.00429970
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 0x47ea50
sub ecx, dword [ebp - 0x65c]
sar ecx, 1
cmp ecx, 3
jbe 0x47ea98
add edx, 6
jne 0x47ea71
xor ecx, ecx
jmp 0x47ea85
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ea76
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x650]
call fcn.00429970
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 0x47eae2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47eae2
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x47eac0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47eac0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x650]
call fcn.0042a000
mov esi, dword [ebp - 0x650]
cmp dword [esi - 0xc], 4
push esi
jg 0x47eb0c
push str.719_tKFunction::KillProcessByPath_tKillProcessByPath_path_to_short:_ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
xor ebx, ebx
jmp 0x47ed3e
push str.723_tKFunction::KillProcessByPath_tKillProcessByPath_path:_ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x65c], edi
cmp edi, 0xffffffff
je 0x47ed26
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47ed1f
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 0x47ecf9
test eax, eax
je 0x47ecf9
cmp eax, 4
je 0x47ecf9
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x47ecf9
mov ecx, dword [0x60e464]
cmp ecx, 0xffffffff
jne 0x47ebe7
push 0x5bd154
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 0x47ec05
push 0x60e464
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x47ec05
mov ecx, dword [0x60e464]
test ecx, ecx
je 0x47ec0f
mov eax, dword [0x63cc7c]
test eax, eax
je 0x47ec0f
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call eax
jmp 0x47ec2d
mov dword [0x60e464], 0
mov eax, dword [0x63cc78]
test eax, eax
je 0x47ecea
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x47ecea
cmp dword [ebp + 0x10], 0
mov ecx, dword [esi - 0xc]
je 0x47ec85
cmp eax, ecx
jle 0x47ecea
push ecx
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00567022
add esp, 0xc
test eax, eax
jne 0x47ecea
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.762_tKFunction::KillProcessByPath_tTerminate_Process_return:_d__error:_d__pid:_d__path:_ws
jmp 0x47ecc1
cmp eax, ecx
jne 0x47ecea
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00566ed2
add esp, 8
test eax, eax
jne 0x47ecea
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.772_tKFunction::KillProcessByPath_tTerminate_Process_return:_d__error:_d__pid:_d__path:_ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x20
test edi, edi
jne 0x47ece4
inc dword [ebp - 0x658]
jmp 0x47ecea
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 0x47eb70
test ebx, ebx
je 0x47ed1f
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 0x47ed38
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 0x47ed56
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3