Function at 0x14004a5b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov byte [rbp - 0x59], bl
mov byte [rbp - 0x58], bl
mov dword [rbp - 0x55], ebx
xorps xmm1, xmm1
movups xmmword [rbp - 9], xmm1
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], bl
mov byte [rbp - 0x57], bl
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x55]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x57]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rcx
lea ecx, [rbx + 0x30]
call fcn.14004f680
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rax + 0x20], xmm0
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004bdd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14004a7fc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14004a6ba
nop word [rax + rax]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14004a690
mov byte [rbp - 0x59], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], 5
mov qword [rbp - 0x21], 0xf
mov eax, dword [str.close]
mov dword [rbp - 0x39], eax
movzx eax, byte [0x140052e8c]
mov byte [rbp - 0x35], al
mov byte [rbp - 0x34], 0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140004840
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14004a738
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a733
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a733
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f904
cmp dword [rbp - 0x41], 0
jne 0x14004a74a
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x41], eax
jne 0x14004a761
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x39], xmm0
xor edx, edx
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004a786
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
call fcn.140002910
nop
cmp dword [rbp - 0x41], 0
je 0x14004a7a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14004a7df
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a7da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f904
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004f540
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
mov dword [rbp - 0x41], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3