Function at 0x140054ed0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402a0480]
xor rax, rsp
mov qword [rbp], rax
mov r14, qword [rbp + 0x60]
mov rax, r8
shr rax, 0x20
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test al, al
je 0x140054f19
imul edx, ebx, 0x3e8
jmp 0x140054f1e
mov edx, 0xffffffff
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0x50], xmm0
test r14, r14
je 0x140054f3b
mov byte [r14 + 0x18], 0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14005504c
cmp byte [rbp + 0x68], 0
jne 0x1400551ef
test ebx, ebx
je 0x1400551ef
mov rcx, qword [rsi + 8]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140055033
test r15, r15
je 0x14005501c
lea ecx, [rax + 0x30]
mov qword [rbp - 0x78], 0
call fcn.140183f40
movups xmm0, xmmword [str.Failed_to_terminate_timed_out_program]
mov rdx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x25
movups xmmword [rax], xmm0
mov qword [rbp - 0x68], 0x2f
movups xmm1, xmmword [0x1401aa178]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1401aa188]
mov dword [rax + 0x20], ecx
mov rcx, r15
movzx eax, byte [0x1401aa18c]
mov byte [rdx + 0x24], al
mov byte [rdx + 0x25], 0
lea rdx, [rbp - 0x80]
call fcn.140054490
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14005501c
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055017
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400551e8
call fcn.140183f7c
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x50], 0xfffffffe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140055234
mov rcx, qword [rsi + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x140055120
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140055120
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x50]
mov r8d, 0x48
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140055120
mov rax, qword [rsp + 0x30]
movabs r11, 0x20c49ba5e353f7cf
mov r10, qword [rbp - 0x10]
mov dword [rsp + 0x30], eax
shr rax, 0x20
mov dword [rsp + 0x34], eax
mov rax, r11
imul rcx, qword [rsp + 0x30], 0x64
shr r10, 0xa
imul rcx
mov rax, r11
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
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add rdx, r8
mov qword [r14], rdx
mov qword [r14 + 8], r8
mov qword [r14 + 0x10], r10
cmp byte [r14 + 0x18], 0
jne 0x140055120
mov byte [r14 + 0x18], 1
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 6
je 0x140055149
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140055208
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r15, r15
je 0x1400551fe
xorps xmm0, xmm0
lea ecx, [r14 + 0x30]
movups xmmword [rbp - 0x80], xmm0
call fcn.140183f40
movups xmm0, xmmword [str.Failed_getting_status_for_program]
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x21
movups xmmword [rax], xmm0
mov qword [rbp - 0x68], 0x2f
movups xmm1, xmmword [0x1401aa1a0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x1401aa1b0]
mov byte [rax + 0x20], cl
mov rcx, r15
mov byte [rax + 0x21], r14b
call fcn.140054490
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400551fe
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400551f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400551f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140053240
jmp 0x140055247
call fcn.140183f7c
mov dword [rsp + 0x50], 0xfffffffe
jmp 0x140055234
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x140055234
mov eax, ecx
and eax, 0xbfff0000
cmp eax, 0x80000000
je 0x140055226
test cl, cl
je 0x14005522c
btr ecx, 0x1f
mov dword [rsp + 0x50], ecx
jmp 0x140055234
mov dword [rsp + 0x50], 1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rdi + 0x10], xmm0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401842c0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret