Function at 0x140060c40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
xor ebx, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400617f0
nop
lea ecx, [rbx + 8]
call fcn.140181aec
test rax, rax
je 0x140060c7b
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140060c7e
mov rax, rbx
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140060610]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140060eac
cmp dword [rsp + 0x38], 0
je 0x140060ea1
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140060ea1
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140181aec
test rax, rax
je 0x140060cff
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140060d02
mov rax, rbx
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140060640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140060ee0
cmp dword [rsp + 0x38], 0
je 0x140060ed5
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140060ed5
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140181aec
test rax, rax
je 0x140060d83
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140060d86
mov rax, rbx
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140060670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140060ec6
cmp dword [rsp + 0x38], 0
je 0x140060ebb
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140060ebb
lea rcx, [rsp + 0x50]
call fcn.140062440
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x140060e2e
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060e29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060e84
call fcn.140181b28
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
lea rcx, [rbp + 0x48]
call sub.MSVCP140.dll__Mtx_destroy_in_situ
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140060e90
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060e8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060e8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140181b28
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1c0
pop rbp
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3