Function at 0x140052540
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
xchg r9, rdx
mov qword [rsp + 0x10], r9
xchg r9, rdx
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
mov qword [rsp - 8], rbx
sub rsp, 8
push rsi
nop
push 0x2fad7a8
mov qword [rsp], rdi
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
mov rsi, r8
xchg rdx, r13
mov r14, r13
xchg rdx, r13
xor r15d, r15d
xchg rcx, r13
mov qword [rbp - 0x39], r13
xchg rcx, r13
lea rcx, [rbp - 0x31]
call fcn.140048fb0
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
xchg r15, r9
mov qword [rbp + 0x1f], r9
xchg r15, r9
xchg rcx, r11
mov r11, qword [rsi + 0x38]
xchg rcx, r11
test rcx, rcx
je 0x1400525f2
xchg r11, rax
mov r11, qword [rcx]
xchg r11, rax
lea rdx, [rbp - 0x19]
call qword [rax]
xchg r15, rax
mov qword [rbp + 0x1f], r15
xchg r15, rax
mov ecx, 0x5aaf4490
xor ecx, 0x837f7d4
add ecx, 0x14638399
sub ecx, 0x5552e1ee
xor ecx, 0x74d5a6af
xor ecx, 0x2a85f134
sub ecx, 0x2e788a33
sub ecx, 0x218078e1
call fcn.1401fcc90
xchg r14, rbx
mov r14, rax
xchg rbx, r14
test rax, rax
je 0x1400526fc
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
xchg r11, rax
mov r11, qword [rbp - 0x29]
xchg r11, rax
mov qword [rbx + 0x10], rax
mov byte [rbp - 0x31], 0x50
sub byte [rbp - 0x31], 0x27
add byte [rbp - 0x31], 0x3d
sub byte [rbp - 0x31], 0x42
add byte [rbp - 0x31], 0x2c
sub byte [rbp - 0x31], 0x38
sub byte [rbp - 0x31], 0x18
xchg r14, r15
mov qword [rbp - 0x29], r14
xchg r14, r15
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
mov qword [rbx + 0x58], r15
xchg r10, rcx
mov r10, qword [rbp + 0x1f]
xchg r10, rcx
test rcx, rcx
je 0x140052705
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x1400526e9
xchg r10, rax
mov r10, qword [rcx]
xchg r10, rax
lea rdx, [rbx + 0x20]
call qword [rax + 8]
xchg r12, rax
mov qword [rbx + 0x58], r12
xchg r12, rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140052705
xchg r10, rax
mov r10, qword [rcx]
xchg r10, rax
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg r15, r8
mov qword [rbp + 0x1f], r8
xchg r8, r15
jmp 0x140052705
mov qword [rbx + 0x58], rcx
xchg r15, r12
mov qword [rbp + 0x1f], r12
xchg r15, r12
jmp 0x140052705
xchg rdi, r15
mov rbx, rdi
xchg rdi, r15
mov qword [rbp + 0x67], rbx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xchg r15, r9
mov r15, rbx
xchg r9, r15
lea r8, [0x140034850]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
xchg r8, rax
mov qword [rbp - 0x59], r8
xchg r8, rax
test rax, rax
je 0x140052832
xchg r15, rcx
mov r15, qword [rbp + 0x1f]
xchg rcx, r15
test rcx, rcx
je 0x140052773
xchg r10, rax
mov r10, qword [rcx]
xchg r10, rax
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg r11, r15
mov qword [rbp + 0x1f], r11
xchg r15, r11
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.140054400
nop
cmp dword [rbp - 0x51], 0
je 0x140052865
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14005282a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054400
nop
xchg rcx, r13
mov r13, qword [rsi + 0x38]
xchg r13, rcx
test rcx, rcx
je 0x1400527e2
xchg r15, rax
mov r15, qword [rcx]
xchg r15, rax
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
add rsp, 0xb8
nop
xchg qword [rsp], r15
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], r14
push rbx
push rax
push rax
push rax
push rax
push rdx
push rbx
push rax
xchg qword [rsp + 0x40], rdi
add rsp, 0x48
nop
xchg qword [rsp], rsi
add rsp, 8
nop
mov rbx, qword [rsp]
add rsp, 8
push rbx
xchg qword [rsp + 8], rbp
add rsp, 0x10
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rbp - 0x51], r15d
mov ecx, 0x7cb39823
add ecx, 0xf4b9e
sub ecx, 0x21699a23
add ecx, 0xb2522ef
add ecx, 0xcab0d7f
xor ecx, 0x21b56885
sub ecx, 0x529c1283
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x5de9e629
xor ecx, 0x69c723c7
sub ecx, 0x16d46b91
add ecx, 0x4647e661
xor ecx, 0x59f89909
xor ecx, 0x7e82cfb2
sub ecx, 0x44d81604
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3