Function at 0x1400525f0
Capabilities:
Create thread

Disassembly:
xchg r10, r8
mov qword [rsp + 0x18], r10
xchg r10, r8
mov qword [rsp + 0x10], rdx
nop
push 0x15b83621
mov qword [rsp], rbp
nop
sub rsp, 8
mov qword [rsp], rbx
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
mov qword [rsp - 8], rdi
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
xchg rdi, rsi
mov rdi, r8
xchg rsi, rdi
xchg r12, r14
mov r12, rdx
xchg r14, r12
xor r15d, r15d
mov qword [rbp - 0x39], rcx
lea rcx, [rbp - 0x31]
call fcn.140049140
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x1f], r15
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14005269f
xchg r14, rax
mov r14, qword [rcx]
xchg r14, rax
lea rdx, [rbp - 0x19]
call qword [rax]
xchg rcx, rax
mov qword [rbp + 0x1f], rcx
xchg rcx, rax
mov ecx, 0x26bbb92d
add ecx, 0x25b7ff32
add ecx, 0x1aea576b
xor ecx, 0x15d65836
xor ecx, 0x5209da
xor ecx, 0x1a3bd065
xor ecx, 0x218eebf8
sub ecx, 0x194779c0
sub ecx, 0x3027eb9b
call fcn.1401fcb34
mov rbx, rax
test rax, rax
je 0x1400527ad
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
xchg rcx, rax
mov rcx, qword [rbp - 0x29]
xchg rcx, rax
xchg rbp, rax
mov qword [rbx + 0x10], rbp
xchg rbp, rax
mov byte [rbp - 0x31], 7
add byte [rbp - 0x31], 0x31
add byte [rbp - 0x31], 0xc
sub byte [rbp - 0x31], 3
add byte [rbp - 0x31], 0x3d
sub byte [rbp - 0x31], 8
sub byte [rbp - 0x31], 0x5f
sub byte [rbp - 0x31], 0x10
sub byte [rbp - 0x31], 7
xchg r15, r10
mov qword [rbp - 0x29], r10
xchg r15, r10
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
mov qword [rbx + 0x58], r15
xchg rcx, r13
mov r13, qword [rbp + 0x1f]
xchg r13, rcx
test rcx, rcx
je 0x1400527b6
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x14005279a
xchg r9, rax
mov r9, qword [rcx]
xchg r9, rax
lea rdx, [rbx + 0x20]
call qword [rax + 8]
mov qword [rbx + 0x58], rax
xchg r8, rcx
mov r8, qword [rbp + 0x1f]
xchg rcx, r8
test rcx, rcx
je 0x1400527b6
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r15
jmp 0x1400527b6
xchg rdx, rcx
mov qword [rbx + 0x58], rdx
xchg rdx, rcx
mov qword [rbp + 0x1f], r15
jmp 0x1400527b6
xchg r15, rbp
mov rbx, rbp
xchg rbp, r15
mov qword [rbp + 0x67], rbx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xchg rbx, r15
mov r9, r15
xchg r15, rbx
lea r8, [0x1400346d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
xchg r14, rax
mov qword [rbp - 0x59], r14
xchg r14, rax
test rax, rax
je 0x1400528ef
xchg rcx, rdx
mov rdx, qword [rbp + 0x1f]
xchg rcx, rdx
test rcx, rcx
je 0x14005281a
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r15
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.140054520
nop
cmp dword [rbp - 0x51], 0
je 0x140052922
xchg rdx, rbp
movaps xmm0, xmmword [rdx - 0x59]
xchg rbp, rdx
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400528e7
xorps xmm0, xmm0
xchg rbp, rdi
movdqa xmmword [rdi - 0x59], xmm0
xchg rdi, rbp
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054520
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140052891
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xchg r15, r9
mov qword [rsi + 0x38], r9
xchg r9, r15
add rsp, 0xb8
push rcx
push rbx
push rax
push rax
push rdx
push rax
xchg qword [rsp + 0x30], r15
add rsp, 0x38
nop
add rsp, 8
xchg qword [rsp - 8], r14
push rbx
push rbx
push rcx
push rdx
push rcx
push rdx
push rdx
push rax
xchg qword [rsp + 0x40], rdi
add rsp, 0x48
push rcx
push rax
push rbx
push rbx
xchg qword [rsp + 0x20], rsi
pop rbx
pop rbx
pop rax
pop rcx
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rbp - 0x51], r15d
mov ecx, 0x32e0d80a
add ecx, 0x3034949d
add ecx, 0x83cbfea
sub ecx, 0x237507a6
xor ecx, 0x5ea42f79
add ecx, 0x41493072
sub ecx, 0x5ac23bfe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x30a51ed3
xor ecx, 0x3f998e72
sub ecx, 0xc8bb796
add ecx, 0x6a1e4263
add ecx, 0xc2928f0
sub ecx, 0x78f8445d
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3