Function at 0x43a5d0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x44a79d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x488], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x17]
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
mov byte [esp + 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x498]
or edi, 0xffffffff
mov bl, 2
lea esi, [eax - 1]
mov byte [esp + 0x488], bl
cmp esi, edi
jne 0x43a67b
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x494]
mov byte [esp + 0x48c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x4a4]
mov dword [esp + 0x48c], edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
xor eax, eax
jmp 0x43a93d
cmp eax, esi
ja 0x43a685
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
lea ecx, [esp + 0x490]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov ecx, dword [esp + 0x494]
cmp word [ecx + esi*2], 0x5c
je 0x43a715
lea edx, [esp + 0x490]
push 0x4553bc
lea eax, [esp + 0x30]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
lea ecx, [esp + 0x4ac]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x4a0], 3
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 0x18
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x488], 4
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x48c], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov byte [esp + 0x488], bl
push 1
lea ecx, [esp + 0x30]
jmp 0x43a75c
lea eax, [esp + 0x4a0]
lea ecx, [esp + 0x490]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x488], 5
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov byte [esp + 0x488], bl
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push ebp
push 0xf
mov dword [esp + 0x18], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [esp + 0x10], edx
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], 0x22c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x488], 6
push eax
push edx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebp
je 0x43a88f
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
jne 0x43a7d7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
cmp eax, ebp
je 0x43a7d3
cmp dword [esp + 0x54], ebp
jne 0x43a7d3
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.0043a970
mov ecx, dword [esp + 0x54]
cmp eax, ebp
je 0x43a88f
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x43a7eb
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x28]
je 0x43a860
push ecx
push ebp
push 0x411
call ebx
mov esi, eax
cmp esi, ebp
je 0x43a860
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x27a]
mov word [esp + 0x278], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x278]
push 0x104
push ecx
push ebp
push esi
stosw word es:[edi], ax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x43a83b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x278]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x43a859
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, ebp
je 0x43a88f
cmp dword [esp + 0x54], ebp
jne 0x43a887
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.0043a970
cmp eax, ebp
jne 0x43a7e7
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x43a89f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x43a8c5
mov al, byte [ecx - 1]
test al, al
je 0x43a8b9
cmp al, 0xff
je 0x43a8b9
dec al
mov byte [ecx - 1], al
jmp 0x43a8c5
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x494]
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x43a8fa
mov al, byte [ecx - 1]
test al, al
je 0x43a8ee
cmp al, 0xff
je 0x43a8ee
dec al
mov byte [ecx - 1], al
jmp 0x43a8fa
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov ecx, dword [esp + 0x4a4]
mov dword [esp + 0x494], ebp
cmp ecx, ebp
mov dword [esp + 0x498], ebp
mov dword [esp + 0x49c], ebp
je 0x43a938
mov al, byte [ecx - 1]
test al, al
je 0x43a92c
cmp al, 0xff
je 0x43a92c
dec al
mov byte [ecx - 1], al
jmp 0x43a938
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x47c
ret