Function at 0x403c10
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40661d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x3c], ecx
cmp eax, 0x10
jb 0x403e36
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x38], esi
jbe 0x403c60
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
lea edx, [ecx + 0x10]
mov dword [ebp - 0x18], 0
mov edi, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], edx
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x28], xmm0
cmp edx, edi
jbe 0x403d06
mov edi, edx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x403cc8
mov ecx, 0x80000000
mov edi, 0x7fffffff
add ecx, 0x23
push ecx
call fcn.004056e4
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x403e08
mov edx, dword [ebp - 0x34]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x3c]
jmp 0x403d00
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x403ce9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x403e3b
jmp 0x403ca4
test eax, eax
je 0x403cfe
push eax
call fcn.004056e4
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov edx, dword [ebp - 0x34]
jmp 0x403d00
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
movups xmm0, xmmword [str.taskkill__f__im]
push ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
movups xmmword [eax], xmm0
add eax, 0x10
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov byte [eax + ecx], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x403d95
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Process_
call fcn.00403f10
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x403d69
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00404160
add esp, 4
mov edx, str._terminated_successfully.
mov ecx, eax
push 0x404130
call fcn.00403f10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x29], 1
jmp 0x403de2
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_terminate_process_
call fcn.00403f10
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x403daf
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00404160
add esp, 4
mov edx, str.._Error_code:
mov ecx, eax
push 0x404130
push edi
call fcn.00403f10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x403e18
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403e0e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00405714
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004054cb
mov esp, ebp
pop ebp
ret
call fcn.004011f0
call fcn.00401150
int3