Function at 0x140052240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
nop
sub rsp, 8
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rbx
sub rsp, 8
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rdi
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
xchg rcx, rsi
mov rcx, r8
xchg rcx, rsi
xchg rdx, r11
mov r14, r11
xchg r11, rdx
xor r15d, r15d
xchg r13, rcx
mov qword [rbp - 0x39], r13
xchg rcx, r13
lea rcx, [rbp - 0x31]
call fcn.140048db0
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x1f], r15
xchg rcx, r11
mov r11, qword [rsi + 0x38]
xchg r11, rcx
test rcx, rcx
je 0x1400522e4
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax]
mov qword [rbp + 0x1f], rax
mov ecx, 0x4d9376da
add ecx, 0xbd37b46
add ecx, 0x9db1965
xor ecx, 0x4ccbd682
sub ecx, 0x2c674547
xor ecx, 0x33e1acc
xor ecx, 0x466e52c9
xor ecx, 0x6b53382f
sub ecx, 0x2d21e78a
call fcn.1401fc7c8
mov rbx, rax
test rax, rax
je 0x1400523f8
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
xchg r15, rax
mov r15, qword [rbp - 0x29]
xchg r15, rax
xchg r9, rax
mov qword [rbx + 0x10], r9
xchg r9, rax
mov byte [rbp - 0x31], 0x52
sub byte [rbp - 0x31], 0x1c
xor byte [rbp - 0x31], 0x19
add byte [rbp - 0x31], 0x2e
sub byte [rbp - 0x31], 0x43
add byte [rbp - 0x31], 0x59
sub byte [rbp - 0x31], 0x21
sub byte [rbp - 0x31], 0x36
sub byte [rbp - 0x31], 0x1c
xchg r15, r9
mov qword [rbp - 0x29], r9
xchg r15, r9
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
xchg r15, r14
mov qword [rbx + 0x58], r14
xchg r15, r14
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140052401
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x1400523df
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 0x140052401
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg rdx, r15
mov qword [rbp + 0x1f], rdx
xchg r15, rdx
jmp 0x140052401
xchg rcx, rsi
mov qword [rbx + 0x58], rsi
xchg rsi, rcx
xchg r12, r15
mov qword [rbp + 0x1f], r12
xchg r12, r15
jmp 0x140052401
xchg rbx, r15
mov r15, rbx
xchg rbx, r15
xchg rbx, r15
mov qword [rbp + 0x67], r15
xchg rbx, r15
lea rax, [rbp - 0x51]
xchg r15, rax
mov qword [rsp + 0x28], r15
xchg r15, rax
mov dword [rsp + 0x20], r15d
xchg rbx, r11
mov r9, r11
xchg rbx, r11
lea r8, [0x1400347b0]
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 0x140052552
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14005246b
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg r9, r15
mov qword [rbp + 0x1f], r9
xchg r15, r9
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.140054110
nop
cmp dword [rbp - 0x51], 0
je 0x14005258b
xchg rbp, r14
movaps xmm0, xmmword [r14 - 0x59]
xchg rbp, r14
xchg rbp, r12
movdqa xmmword [r12 - 0x49], xmm0
xchg r12, rbp
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14005254a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054110
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400524e9
xchg r8, rax
mov r8, qword [rcx]
xchg r8, rax
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xchg rdx, r15
mov qword [rsi + 0x38], rdx
xchg rdx, r15
add rsp, 0xb8
push rbx
push rbx
push rbx
push rcx
push rdx
push rcx
xchg qword [rsp + 0x30], r15
pop rcx
pop rdx
pop rcx
pop rbx
pop rbx
pop rbx
add rsp, 8
push rax
push rcx
xchg qword [rsp + 0x10], r14
add rsp, 0x18
push rax
xchg qword [rsp + 8], rdi
pop rax
add rsp, 8
push rax
push rdx
push rax
push rcx
push rbx
xchg qword [rsp + 0x28], rsi
add rsp, 0x30
push rax
push rcx
push rax
push rdx
push rcx
xchg qword [rsp + 0x28], rbx
add rsp, 0x30
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, 0x1dd48ef4
add ecx, 0x5e32cf58
xor ecx, 0x3de5fd20
xor ecx, 0x5be79820
xor ecx, 0x25b290df
xor ecx, 0x3159224
add ecx, 0x198a3faf
xor ecx, 0x562c7960
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x4061ace1
sub ecx, 0x190539b0
add ecx, 0x3d2678cf
sub ecx, 0x33afdacc
xor ecx, 0x4c21c68a
xor ecx, 0x45bd7bdf
add ecx, 0x430df71
sub ecx, 0x14494f10
sub ecx, 0x29373cc1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3