Function at 0x1400522e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
nop
push 0x4d6a3ec1
mov qword [rsp], rbx
nop
sub rsp, 8
mov qword [rsp], rsi
push rdi
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
xchg rsi, rdi
mov rdi, r8
xchg rdi, rsi
xchg r15, r14
mov r15, rdx
xchg r14, r15
xor r15d, r15d
mov qword [rbp - 0x39], rcx
lea rcx, [rbp - 0x31]
call fcn.140048ea0
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
xchg r14, r15
mov qword [rbp + 0x1f], r14
xchg r14, r15
xchg rcx, rdx
mov rdx, qword [rsi + 0x38]
xchg rdx, rcx
test rcx, rcx
je 0x140052377
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax]
xchg rdx, rax
mov qword [rbp + 0x1f], rdx
xchg rdx, rax
mov ecx, 0x53e0e3b3
sub ecx, 0x24b5c541
add ecx, 0x1dfdfb65
sub ecx, 0x2674ec4c
xor ecx, 0x643a54d3
sub ecx, 0x428e78f8
call fcn.1401fcb4c
xchg r14, rax
mov rbx, r14
xchg r14, rax
test rax, rax
je 0x140052483
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x10], rax
mov byte [rbp - 0x31], 0x38
add byte [rbp - 0x31], 0x2a
sub byte [rbp - 0x31], 0x30
add byte [rbp - 0x31], 0xa
add byte [rbp - 0x31], 0x27
add byte [rbp - 0x31], 2
sub byte [rbp - 0x31], 4
xor byte [rbp - 0x31], 0x4c
sub byte [rbp - 0x31], 0x2d
xchg r11, r15
mov qword [rbp - 0x29], r11
xchg r15, r11
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
xchg rbp, r15
mov qword [rbx + 0x58], rbp
xchg rbp, r15
xchg r15, rcx
mov r15, qword [rbp + 0x1f]
xchg rcx, r15
test rcx, rcx
je 0x14005248c
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x14005246a
xchg rsi, rax
mov rsi, qword [rcx]
xchg rsi, rax
lea rdx, [rbx + 0x20]
call qword [rax + 8]
xchg r15, rax
mov qword [rbx + 0x58], r15
xchg r15, rax
xchg rcx, rdx
mov rdx, qword [rbp + 0x1f]
xchg rdx, rcx
test rcx, rcx
je 0x14005248c
xchg rdi, rax
mov rdi, qword [rcx]
xchg rdi, rax
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r15
jmp 0x14005248c
xchg r10, rcx
mov qword [rbx + 0x58], r10
xchg rcx, r10
xchg rsi, r15
mov qword [rbp + 0x1f], rsi
xchg rsi, r15
jmp 0x14005248c
xchg r15, r14
mov rbx, r14
xchg r15, r14
mov qword [rbp + 0x67], rbx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400345f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
xchg r13, rax
mov qword [rbp - 0x59], r13
xchg r13, rax
test rax, rax
je 0x1400525cd
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400524ee
xchg rdi, rax
mov rdi, qword [rcx]
xchg rdi, rax
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg r10, r15
mov qword [rbp + 0x1f], r10
xchg r15, r10
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.1400541f0
nop
cmp dword [rbp - 0x51], 0
je 0x14005260c
xchg rbp, r9
movaps xmm0, xmmword [r9 - 0x59]
xchg rbp, r9
xchg rbp, r15
movdqa xmmword [r15 - 0x49], xmm0
xchg r15, rbp
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400525c5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.1400541f0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140052567
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xchg r15, rdi
mov qword [rsi + 0x38], rdi
xchg r15, rdi
add rsp, 0xb8
nop
xchg qword [rsp], r15
add rsp, 8
nop
mov r14, qword [rsp]
add rsp, 8
push rcx
push rax
xchg qword [rsp + 0x10], rdi
add rsp, 0x18
push rbx
push rax
push rbx
push rbx
push rbx
push rax
push rax
xchg qword [rsp + 0x38], rsi
pop rax
pop rax
pop rbx
pop rbx
pop rbx
pop rax
pop rbx
add rsp, 8
push rax
push rax
push rcx
push rax
push rcx
push rcx
push rax
xchg qword [rsp + 0x38], rbx
add rsp, 0x40
nop
add rsp, 8
xchg qword [rsp - 8], rbp
nop
add rsp, 8
jmp qword [rsp - 8]
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rbp - 0x51], r15d
mov ecx, 0x631a1667
add ecx, 0x12aa0613
sub ecx, 0x6361291b
add ecx, 0x5c58ad2b
xor ecx, 0x659ad950
xor ecx, 0x3da3cf32
sub ecx, 0x17772330
add ecx, 0xfbc890b
xor ecx, 0x2ec81cc5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x14f43b81
add ecx, 0x382e0986
sub ecx, 0x2d27134f
add ecx, 0x4d8213b5
sub ecx, 0x2e055a41
xor ecx, 0x3f77eb2d
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3