Function at 0x140005610
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov r12, rcx
lea rcx, str.test___24s_...
mov rbx, rdx
xor r14b, r14b
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, r12
call fcn.140002710
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, r12
call rbx
lea ecx, [rbp + 8]
mov qword [rsp + 0x98], rax
call qword [sym.imp.MSVCR120.dll_malloc]
lea edi, [rbp + 1]
movsd xmm0, qword [rsp + 0x98]
mov r15, rax
mov rsi, rax
movsd qword [rax], xmm0
nop dword [rax + rax]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, r15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, edi
jae 0x14000583a
mov eax, eax
mov rbx, rbp
lea rcx, [r15 + rax*8]
mov rax, qword [rsi]
mov rdx, qword [rcx]
mov qword [rcx], rax
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x98]
cmp rdx, rcx
je 0x1400056d8
inc rbx
cmp rbx, 1
jl 0x1400056c0
jmp 0x140005714
lea rdx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + rbx*8 + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x88]
dec edi
mov qword [rsp + rbx*8 + 0x98], 0xffffffffffffffff
sub rsi, 8
mov dword [rsp + rbx*4 + 0x90], eax
test edi, edi
jg 0x140005690
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_free]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
test rdi, rdi
je 0x1400057a3
nop dword [rax]
test rbx, rbx
je 0x140005749
mov rbx, qword [rbx + 8]
mov r8, qword [rsi]
mov rdx, qword [rdi]
mov rcx, r12
call fcn.140004410
movzx ebp, al
test al, al
je 0x140005772
test rbx, rbx
je 0x140005772
mov rdx, qword [rbx]
lea rcx, [0x14000f090]
call fcn.1400096a0
mov rdi, qword [rdi + 8]
mov rsi, qword [rsi + 8]
or r14b, bpl
test rdi, rdi
jne 0x140005740
test r14b, r14b
je 0x1400057a3
lea rcx, str.FAILED
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140002710
inc dword [0x140013500]
jmp 0x1400057bd
lea rcx, [0x14000f0b4]
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.140002710
inc dword [0x1400134fc]
mov ebx, dword [rsp + 0x90]
test ebx, ebx
je 0x1400057ed
lea rcx, str.__test_process_exited_with_exit_code__d_
test ebx, 0xffffff00
je 0x1400057de
lea rcx, str.__test_process_was_terminated_by_exception_0x_X_
call sub.libintl_8.dll_libintl_gettext
mov edx, ebx
mov rcx, rax
call fcn.140002710
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, [0x14000e688]
lea rcx, [rax + 0x30]
call fcn.140009670
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120.dll_fflush]
mov rcx, qword [0x140013518]
test rcx, rcx
je 0x14000582b
lea rdx, [0x14000e688]
call fcn.140009670
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.failed_to_wait_for_subprocesses:_error_code__lu_n
mov edi, eax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8d, edi
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3