Function at 0x140052330
Capabilities:
Create thread

Disassembly:
xchg r8, r13
mov qword [rsp + 0x18], r13
xchg r8, r13
xchg r11, rdx
mov qword [rsp + 0x10], r11
xchg r11, rdx
push rbp
nop
sub rsp, 8
mov qword [rsp], rbx
push rsi
nop
push 0x21fd6427
mov qword [rsp], rdi
push r8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
movzx ebx, r9b
mov rsi, r8
xchg r14, r8
mov r8, rdx
xchg r8, r14
xor r15d, r15d
mov qword [rbp - 0x39], rcx
lea rcx, [rbp - 0x31]
call fcn.140048fe0
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 0x1400523c8
xchg rdi, rax
mov rdi, qword [rcx]
xchg rdi, rax
lea rdx, [rbp - 0x19]
call qword [rax]
xchg r8, rax
mov qword [rbp + 0x1f], r8
xchg r8, rax
mov ecx, 0x213056a2
sub ecx, 0x2c4d594
sub ecx, 0xd8b6d06
xor ecx, 0x39c0a945
add ecx, 0x7acbf98
xor ecx, 0x5ca30efb
sub ecx, 0x59f07d72
sub ecx, 0x127df44c
call fcn.1401fcac4
mov rbx, rax
test rax, rax
je 0x1400524c2
xchg rcx, rax
mov rcx, qword [rbp - 0x39]
xchg rcx, rax
xchg r12, rax
mov qword [rbx], r12
xchg r12, rax
movzx eax, byte [rbp - 0x31]
mov byte [rbx + 8], al
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x10], rax
mov byte [rbp - 0x31], 0x10
xor byte [rbp - 0x31], 0x22
xor byte [rbp - 0x31], 0x37
add byte [rbp - 0x31], 0x45
sub byte [rbp - 0x31], 1
xor byte [rbp - 0x31], 0x49
xchg r15, r14
mov qword [rbp - 0x29], r14
xchg r14, 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 0x1400524cb
lea rax, [rbp - 0x19]
cmp rcx, rax
jne 0x1400524af
xchg r11, rax
mov r11, qword [rcx]
xchg r11, rax
lea rdx, [rbx + 0x20]
call qword [rax + 8]
xchg r14, rax
mov qword [rbx + 0x58], r14
xchg r14, rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400524cb
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 0x1400524cb
xchg rcx, r10
mov qword [rbx + 0x58], r10
xchg r10, rcx
mov qword [rbp + 0x1f], r15
jmp 0x1400524cb
xchg rbx, r15
mov r15, rbx
xchg r15, rbx
xchg rbx, rsi
mov qword [rbp + 0x67], rsi
xchg rsi, rbx
lea rax, [rbp - 0x51]
xchg rdi, rax
mov qword [rsp + 0x28], rdi
xchg rdi, rax
mov dword [rsp + 0x20], r15d
xchg r10, r9
mov r10, rbx
xchg r9, r10
lea r8, [0x140034750]
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 0x14005261c
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140052533
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.140054260
nop
cmp dword [rbp - 0x51], 0
je 0x14005264f
xchg rbx, rbp
movaps xmm0, xmmword [rbx - 0x59]
xchg rbp, rbx
xchg rdi, rbp
movdqa xmmword [rdi - 0x49], xmm0
xchg rdi, rbp
lea rcx, [rbp - 0x49]
call fcn.1401fd8ea
test eax, eax
jne 0x140052614
xorps xmm0, xmm0
xchg rdx, rbp
movdqa xmmword [rdx - 0x59], xmm0
xchg rdx, rbp
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140054260
nop
xchg rbp, rcx
mov rbp, qword [rsi + 0x38]
xchg rbp, rcx
test rcx, rcx
je 0x1400525ba
xchg r13, rax
mov r13, qword [rcx]
xchg r13, rax
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xchg r15, rdi
mov qword [rsi + 0x38], rdi
xchg r15, rdi
add rsp, 0xb8
push rcx
push rdx
push rdx
push rax
push rcx
push rdx
xchg qword [rsp + 0x30], r15
pop rdx
pop rcx
pop rax
pop rdx
pop rdx
pop rcx
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], r14
push rcx
push rbx
push rax
push rbx
push rax
xchg qword [rsp + 0x28], rdi
pop rax
pop rbx
pop rax
pop rbx
pop rcx
add rsp, 8
push rbx
xchg qword [rsp + 8], rsi
pop rbx
add rsp, 8
push rcx
xchg qword [rsp + 8], rbx
pop rcx
add rsp, 8
push rax
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, 0x3558b064
xor ecx, 0x14df71ff
add ecx, 0x201dbe23
add ecx, 0x2964a062
xor ecx, 0x4263f8d9
add ecx, 0x4f6fa1e4
xor ecx, 0x78d97adb
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 0x734f0a66
sub ecx, 0x4d7ea1c3
xor ecx, 0x75506392
add ecx, 0x56c0fc7
sub ecx, 0x3ac866e6
xor ecx, 0x3ea4ff46
xor ecx, 0x25874b55
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3