Function at 0x140052530
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
xchg r8, rdx
mov qword [rsp + 0x10], r8
xchg r8, rdx
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rbx
nop
mov qword [rsp - 8], rsi
sub rsp, 8
push rdi
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
mov r14, rdx
xor r15d, r15d
xchg rcx, r14
mov qword [rbp - 0x39], r14
xchg r14, rcx
lea rcx, [rbp - 0x31]
call fcn.140048ea0
nop
mov byte [rbp - 0x21], bl
lea rax, [rbp - 0x19]
xchg r11, rax
mov qword [rbp + 0x67], r11
xchg r11, rax
xchg r15, r14
mov qword [rbp + 0x1f], r14
xchg r15, r14
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400525dc
xchg r12, rax
mov r12, qword [rcx]
xchg r12, rax
lea rdx, [rbp - 0x19]
call qword [rax]
mov qword [rbp + 0x1f], rax
mov ecx, 0x687c8ba4
xor ecx, 0x654d8015
add ecx, 0x1a9b5ae7
xor ecx, 0x3f95fc8c
add ecx, 0x36c25383
sub ecx, 0x251a0339
add ecx, 0x27f773f5
xor ecx, 0x59928a7b
xor ecx, 0x86bd448
call fcn.1401fcb6c
xchg rsi, rax
mov rbx, rsi
xchg rsi, rax
test rax, rax
je 0x1400526e8
xchg r11, rax
mov r11, qword [rbp - 0x39]
xchg r11, rax
xchg r13, rax
mov qword [rbx], r13
xchg r13, rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
mov rax, qword [rbp - 0x29]
xchg r13, rax
mov qword [rbx + 0x10], r13
xchg r13, rax
mov byte [rbp - 0x31], 0x3e
add byte [rbp - 0x31], 0x28
sub byte [rbp - 0x31], 0x61
add byte [rbp - 0x31], 0x51
sub byte [rbp - 0x31], 7
xor byte [rbp - 0x31], 0x7f
xor byte [rbp - 0x31], 0x30
mov qword [rbp - 0x29], r15
movzx eax, byte [rbp - 0x21]
mov byte [rbx + 0x18], al
xchg r15, r9
mov qword [rbx + 0x58], r9
xchg r9, r15
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400526f1
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x1400526cf
xchg r9, rax
mov r9, qword [rcx]
xchg r9, 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 0x1400526f1
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r15
jmp 0x1400526f1
xchg r11, rcx
mov qword [rbx + 0x58], r11
xchg r11, rcx
xchg r15, rsi
mov qword [rbp + 0x1f], rsi
xchg rsi, r15
jmp 0x1400526f1
xchg r15, rdi
mov rbx, rdi
xchg rdi, r15
xchg r15, rbx
mov qword [rbp + 0x67], r15
xchg rbx, r15
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xchg rbp, r9
mov rbp, rbx
xchg r9, rbp
lea r8, [0x140034660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
xchg rcx, rax
mov qword [rbp - 0x59], rcx
xchg rcx, rax
test rax, rax
je 0x14005283c
xchg rcx, r14
mov r14, qword [rbp + 0x1f]
xchg r14, rcx
test rcx, rcx
je 0x140052761
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xchg r13, r15
mov qword [rbp + 0x1f], r13
xchg r15, r13
movzx edx, byte [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.140054410
nop
cmp dword [rbp - 0x51], 0
je 0x140052875
xchg rbp, r14
movaps xmm0, xmmword [r14 - 0x59]
xchg r14, rbp
xchg r12, rbp
movdqa xmmword [r12 - 0x49], xmm0
xchg r12, rbp
lea rcx, [rbp - 0x49]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140052834
xorps xmm0, xmm0
xchg rbp, r11
movdqa xmmword [r11 - 0x59], xmm0
xchg rbp, r11
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054410
nop
xchg rdx, rcx
mov rdx, qword [rsi + 0x38]
xchg rdx, rcx
test rcx, rcx
je 0x1400527e8
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xchg rdi, r15
mov qword [rsi + 0x38], rdi
xchg r15, rdi
add rsp, 0xb8
nop
mov r15, qword [rsp]
add rsp, 8
nop
mov r14, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
mov rsi, qword [rsp - 8]
push rax
push rcx
push rax
push rax
push rcx
push rdx
xchg qword [rsp + 0x30], rbx
pop rdx
pop rcx
pop rax
pop rax
pop rcx
pop rax
add 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, 0x273eb97a
add ecx, 0x2da32546
add ecx, 0x1056438b
xor ecx, 0x2f930be1
sub ecx, 0x3ad59da1
add ecx, 0x376ec204
xor ecx, 0xa1799d7
sub ecx, 0x4d53d7d4
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x621198d2
xor ecx, 0x2323023a
sub ecx, 0x1d1c0705
sub ecx, 0x1446a80f
add ecx, 0x4ce944b0
sub ecx, 0x3c71f17c
sub ecx, 0x20473f07
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3