Function at 0x140052430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
nop
mov qword [rsp - 8], rbx
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rsi
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
xchg r10, rsi
mov r10, r8
xchg rsi, r10
xchg r13, rdx
mov r14, r13
xchg rdx, r13
xor r15d, r15d
mov qword [rbp - 0x39], rcx
lea rcx, [rbp - 0x31]
call fcn.140048f10
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x1f], r15
xchg rcx, r13
mov r13, qword [rsi + 0x38]
xchg rcx, r13
test rcx, rcx
je 0x1400524cf
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax]
xchg rbx, rax
mov qword [rbp + 0x1f], rbx
xchg rbx, rax
mov ecx, 0x244cd22e
xor ecx, 0x8d2920a
add ecx, 0x2f6b3d54
sub ecx, 0x33aaa47e
add ecx, 0x54a7abb4
sub ecx, 0x72657a00
sub ecx, 0xaa10a4e
call fcn.1401fd260
xchg rdi, rax
mov rbx, rdi
xchg rdi, rax
test rax, rax
je 0x1400525cd
xchg r8, rax
mov r8, qword [rbp - 0x39]
xchg r8, rax
xchg rcx, rax
mov qword [rbx], rcx
xchg rcx, rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
mov rax, qword [rbp - 0x29]
xchg r10, rax
mov qword [rbx + 0x10], r10
xchg r10, rax
mov byte [rbp - 0x31], 3
xor byte [rbp - 0x31], 0x77
xor byte [rbp - 0x31], 0x78
xor byte [rbp - 0x31], 0x4f
add byte [rbp - 0x31], 0x1b
xor byte [rbp - 0x31], 0x2d
xor byte [rbp - 0x31], 0x2f
xor byte [rbp - 0x31], 0x4a
xor byte [rbp - 0x31], 0x16
mov qword [rbp - 0x29], r15
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
mov qword [rbx + 0x58], r15
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400525d0
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x1400525b4
mov rax, qword [rcx]
lea rdx, [rbx + 0x20]
call qword [rax + 8]
xchg rdi, rax
mov qword [rbx + 0x58], rdi
xchg rdi, rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400525d0
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r15
jmp 0x1400525d0
xchg r13, rcx
mov qword [rbx + 0x58], r13
xchg rcx, r13
xchg r12, r15
mov qword [rbp + 0x1f], r12
xchg r15, r12
jmp 0x1400525d0
mov rbx, r15
xchg rbx, rdx
mov qword [rbp + 0x67], rdx
xchg rdx, rbx
lea rax, [rbp - 0x51]
xchg r8, rax
mov qword [rsp + 0x28], r8
xchg r8, rax
mov dword [rsp + 0x20], r15d
xchg rbx, rsi
mov r9, rsi
xchg rbx, rsi
lea r8, [0x140034560]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140052706
xchg r10, rcx
mov r10, qword [rbp + 0x1f]
xchg rcx, r10
test rcx, rcx
je 0x140052640
mov rax, qword [rcx]
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.140054290
nop
cmp dword [rbp - 0x51], 0
je 0x14005273f
xchg rbp, r14
movaps xmm0, xmmword [r14 - 0x59]
xchg r14, rbp
xchg rbp, rdx
movdqa xmmword [rdx - 0x49], xmm0
xchg rbp, rdx
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400526fe
xorps xmm0, xmm0
xchg rbp, r14
movdqa xmmword [r14 - 0x59], xmm0
xchg r14, rbp
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054290
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400526b9
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
add rsp, 0xb8
nop
add rsp, 8
xchg qword [rsp - 8], r15
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
push rcx
push rcx
push rbx
xchg qword [rsp + 0x18], rsi
add rsp, 0x20
nop
add rsp, 8
mov rbx, qword [rsp - 8]
nop
xchg qword [rsp], rbp
add 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, 0x1ea5ed1c
xor ecx, 0x5214a402
sub ecx, 0x447c29b1
xor ecx, 0x6cf576e6
xor ecx, 0x1e56d23e
sub ecx, 0x453534f
sub ecx, 0x61062da
xor ecx, 0x7033058a
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x2085c5af
add ecx, 0x4a00f6bc
add ecx, 0x11143c99
xor ecx, 0x225858b3
add ecx, 0x20091bcc
sub ecx, 0x1bd3ee12
xor ecx, 0x7948c1bc
sub ecx, 0x24bf0ecc
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3