Function at 0x14003af60
Capabilities:
Create thread
Terminate thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
lea rax, str.Executing_shellcode_with_timeout..._n
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
xorps xmm6, xmm6
movups xmmword [rbp - 8], xmm6
lea rcx, [rbp - 0x20]
call fcn.1402bbde0
lea rax, str.Creating_thread_to_execute_shellcode..._n
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
movups xmmword [rbp - 8], xmm6
lea rcx, [rbp - 0x20]
call fcn.1402bbde0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rsi
mov r9, rsi
call qword [sym.imp.kernel32.dll_CreateThread]
mov rsi, rax
inc rax
cmp rax, 1
ja 0x14003b0af
call fcn.14027f3b0
mov rsi, rax
test edx, edx
je 0x14003b0af
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], edx
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rax, [0x14027f670]
mov qword [rbp - 0x40], rax
lea rax, str.Failed_to_create_shellcode_execution_thread._Error:
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 2
mov qword [rbp], 0
lea rax, [rbp - 0x48]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov byte [rbp + 0x17], 0
lea rcx, [rbp - 0x20]
call fcn.1402bbde0
mov rdi, qword [rbp - 0x38]
mov esi, dword [rbp - 0x30]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x18], esi
movzx eax, byte [0x14049f3b5]
mov ecx, 0x10
mov edx, 8
call fcn.140061f20
test rax, rax
jne 0x14003b206
mov qword [rbp - 0x28], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1402fb06f
jmp 0x14003b24b
mov rcx, rsi
mov edx, edi
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x14003b151
cmp eax, 0x102
jne 0x14003b175
lea rax, str.h0_
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea rcx, [rbp - 0x20]
call fcn.1402bbde0
mov rcx, rsi
mov edx, 1
call qword [sym.imp.kernel32.dll_TerminateThread]
test eax, eax
jne 0x14003b1c5
call fcn.14027f3b0
test edx, edx
je 0x14003b1c5
mov rbx, rax
mov edi, edx
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], edx
movzx eax, byte [0x14049f3b5]
mov ecx, 0x10
mov edx, 8
call fcn.140061f20
test rax, rax
je 0x14003b238
mov qword [rax], rbx
mov dword [rax + 8], edi
jmp 0x14003b20c
lea rax, str.Shellcode_thread_completed_successfully._n
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
jmp 0x14003b1bc
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rax, [0x14027f0f0]
mov qword [rbp - 0x40], rax
lea rax, str.0_0_
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 2
mov qword [rbp], 0
lea rax, [rbp - 0x48]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
lea rcx, [rbp - 0x20]
call fcn.1402bbde0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x14003b1d6
xor eax, eax
jmp 0x14003b20c
call fcn.14027f3b0
test edx, edx
je 0x14003b1d2
mov rdi, rax
mov esi, edx
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], edx
movzx eax, byte [0x14049f3b5]
mov ecx, 0x10
mov edx, 8
call fcn.140061f20
test rax, rax
je 0x14003b223
mov qword [rax], rdi
mov dword [rax + 8], esi
lea rdx, [0x140302bd8]
movaps xmm6, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x28], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1402fb06f
jmp 0x14003b24b
mov qword [rbp - 0x28], rbx
mov ecx, 8
mov edx, 0x10
call fcn.1402fb06f
ud2