Function at 0x451b10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e497
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x47800c]
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 + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push eax
push str.CProcessKiller::THFindProcess
push str._s_Started_for___s_
mov dword [ebp - 0x468], ecx
mov cl, byte [ebp + 0x10]
push 0
push 5
mov dword [ebp - 0x458], eax
mov byte [ebp - 0x44e], cl
mov dword [ebp - 0x460], ebx
call fcn.004506f0
push 0x22c
lea eax, [ebp - 0x44c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
mov dword [ebp - 0x44c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x45c], eax
cmp eax, 0xffffffff
jne 0x451bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.THFindProcess_CreateToolhelp32Snapshot__d
push ebx
call fcn.0042e6b0
push dword [ebx]
push str.CProcessKiller::THFindProcess
push str._s_CreateToolhelp32Snapshot_failed___s_
push 0
push 5
call fcn.004506f0
add esp, 0x20
xor eax, eax
jmp 0x4520be
xor ebx, ebx
mov cl, 1
mov dword [ebp - 0x454], ebx
or edi, 0xffffffff
nop dword [eax]
test cl, cl
lea ecx, [ebp - 0x44c]
push ecx
push eax
je 0x451c04
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x451c0a
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x45208c
lea eax, [ebp - 0x428]
mov byte [ebp - 0x44d], 0
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x451c39
lea ebx, [ebp - 0x428]
jmp 0x451c3c
add ebx, 2
call fcn.0040f730
test eax, eax
je 0x451f8e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push dword [ebp - 0x458]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.0042c540
push 0x461168
push 0x461f50
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0042c0f0
cmp byte [ebp - 0x44e], 0
je 0x451f16
test ebx, ebx
jne 0x451caa
or eax, 0xffffffff
jmp 0x451cd7
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
jge 0x451cbb
or eax, 0xffffffff
jmp 0x451cd7
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x451ccf
or eax, 0xffffffff
jmp 0x451cd7
sub eax, dword [ebp - 0x21c]
sar eax, 1
cmp eax, 0xffffffff
je 0x451d4c
push str.CProcessKiller::THFindProcess
push str._s_process_found
push 0
push 5
call fcn.004506f0
add esp, 0x10
push dword [ebp - 0x444]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x451d4c
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x451d45
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x462000
push eax
call fcn.0042e6b0
mov esi, dword [ebp - 0x220]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x451f98
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x451d7a
push edi
lea ecx, [ebp - 0x220]
call fcn.0042d950
mov esi, dword [ebp - 0x220]
lea eax, [edi + 1]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
add esp, 8
cmp edi, dword [esi - 8]
jg 0x451f98
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x21c]
mov edi, dword [eax - 0xc]
test edi, edi
js 0x451f98
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x451dce
push edi
lea ecx, [ebp - 0x21c]
call fcn.0042d950
mov eax, dword [ebp - 0x21c]
lea ecx, [edi + 1]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov eax, dword [ebp - 0x21c]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x451f98
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x451f8e
mov edx, eax
mov ecx, esi
nop dword [eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x451e36
test di, di
je 0x451e32
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x451e36
add ecx, 4
add edx, 4
test di, di
jne 0x451e10
xor ecx, ecx
jmp 0x451e3b
sbb ecx, ecx
or ecx, 1
or edi, 0xffffffff
test ecx, ecx
jne 0x451f34
push ebx
lea ecx, [ebp - 0x454]
call fcn.0042c540
mov byte [ebp - 4], 2
push dword [eax]
push str.CProcessKiller::THFindProcess
push str._s_Found_the_process_we_were_looking_for___s_
push 0
push 5
call fcn.004506f0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x454]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451e8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x21c]
cmp byte [ebp - 0x44e], 0
mov ecx, 0x461c94
push esi
mov eax, 0x461c88
cmove eax, ecx
push eax
push dword [ebp - 0x458]
push str.CProcessKiller::THFindProcess
push str._s_pstrProcessName___s__isPathCheck___s__strExePath___s__strProcessPath___s_
push 0
push 5
call fcn.004506f0
push dword [ebp - 0x444]
push str.CProcessKiller::THFindProcess
push str._sAttempting_to_open_PID___d_
push 0
push 5
call fcn.004506f0
add esp, 0x34
push dword [ebp - 0x444]
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x454], eax
test eax, eax
jne 0x451ff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x451fa2
mov edi, eax
jmp 0x451fab
push dword [ebp - 0x458]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x451e46
mov eax, dword [ebp - 0x21c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451f4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
mov cl, byte [ebp - 0x44d]
test eax, eax
mov eax, dword [ebp - 0x45c]
jg 0x451bf0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x45c]
mov cl, byte [ebp - 0x44d]
jmp 0x451bf0
push 0x80004005
call fcn.0041ffc0
push 0x80070057
call fcn.0041ffc0
movzx edi, ax
or edi, 0x80070000
push edi
push eax
push str.THFindProcess_OpenProcess__d__0x_x_
push dword [ebp - 0x460]
call fcn.0042e6b0
add esp, 0x10
lea ecx, [ebp - 0x460]
push ebx
call fcn.0042c540
push edi
mov byte [ebp - 4], 3
push dword [eax]
push str.CProcessKiller::THFindProcess
push str._s_Failed_to_open_the_process___s__Error__0x_x_
push 0
push 5
call fcn.004506f0
add esp, 0x18
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x460]
or edi, 0xffffffff
jmp 0x45202a
push ebx
lea ecx, [ebp - 0x464]
call fcn.0042c540
mov byte [ebp - 4], 4
push dword [eax]
push str.CProcessKiller::THFindProcess
push str._s_Successfully_opened_the_process___s_
push 0
push 5
call fcn.004506f0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x464]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452041
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x468]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov dword [ecx], eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45208c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x45c]
test eax, eax
je 0x45209d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x454]
test ebx, ebx
jne 0x4520bc
push str.CProcessKiller::THFindProcess
push str._s_Did_not_find_the_process
push ebx
push 5
call fcn.004506f0
add esp, 0x10
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.004568f7
mov esp, ebp
pop ebp
ret 0x10