Function at 0x14004b330
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1402142b0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, qword [rbp + 0x7f]
mov rsi, rdx
mov r14, qword [rbp + 0x77]
xor edx, edx
mov r15d, r8d
mov rbx, rcx
test r9b, r9b
je 0x14004b373
or edx, 0xffffffff
jmp 0x14004b37f
test r15d, r15d
je 0x14004b37f
imul edx, r15d, 0x3e8
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0x50], xmm0
test rdi, rdi
je 0x14004b3a0
cmp byte [rdi + 0x18], 0
je 0x14004b3a0
mov byte [rdi + 0x18], 0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14004b477
test r15d, r15d
je 0x14004b5fc
mov rcx, qword [rsi + 8]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14004b460
test r14, r14
je 0x14004b449
and qword [rbp - 0x59], 0
lea r9, str.Failed_to_terminate_timed_out_program
and qword [rbp - 0x49], 0
lea edx, [rax + 0x25]
xor r8d, r8d
mov qword [rbp - 0x41], 0xf
lea rcx, [rbp - 0x59]
call fcn.140004f4c
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.14004abbc
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14004b449
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b444
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b670
call fcn.1400690f4
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x50], 0xfffffffe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004b632
mov rcx, qword [rsi + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14004b547
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x14004b547
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x39]
mov r8d, 0x48
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x14004b547
mov rax, qword [rsp + 0x30]
movabs r9, 0x20c49ba5e353f7cf
mov dword [rsp + 0x30], eax
shr rax, 0x20
mov dword [rsp + 0x34], eax
mov rax, r9
imul rcx, qword [rsp + 0x30], 0x64
imul rcx
mov rax, r9
mov r8, rdx
sar r8, 7
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x30], ecx
shr rcx, 0x20
mov dword [rsp + 0x34], ecx
imul rcx, qword [rsp + 0x30], 0x64
imul rcx
mov rax, qword [rbp + 7]
sar rdx, 7
shr rax, 0xa
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
cmp byte [rdi + 0x18], 0
mov qword [rdi], rcx
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], rax
jne 0x14004b547
mov byte [rdi + 0x18], 1
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 6
je 0x14004b570
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
jne 0x14004b606
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x14004b5f2
and qword [rbp - 0x59], 0
lea r9, str.Failed_getting_status_for_program
and qword [rbp - 0x49], 0
lea edx, [r15 + 0x21]
xor r8d, r8d
mov qword [rbp - 0x41], 0xf
lea rcx, [rbp - 0x59]
call fcn.140004f4c
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.14004abbc
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14004b5f2
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b5ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b66a
call fcn.1400690f4
mov dword [rsp + 0x50], 0xfffffffe
jmp 0x14004b632
mov rcx, rbx
call fcn.140049b0c
jmp 0x14004b644
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x14004b632
mov eax, ecx
and eax, 0xbfff0000
cmp eax, 0x80000000
je 0x14004b624
test cl, cl
je 0x14004b62a
btr ecx, 0x1f
mov dword [rsp + 0x50], ecx
jmp 0x14004b632
mov dword [rsp + 0x50], 1
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbx + 0x10], xmm0
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140115e10
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14011c518
int3
call fcn.14011c518
int3