Function at 0x140129ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1403dc468]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rdx
xor ebp, ebp
mov dword [rcx + 0x230], ebp
mov ecx, 0x300000
call fcn.140261640
lea rcx, [rsp + 0x50]
cmp rbx, rcx
je 0x140129cf8
mov rcx, qword [rbx]
mov qword [rbx], rax
test rcx, rcx
je 0x140129d00
jmp 0x140129cfb
mov rcx, rax
call fcn.140260d30
mov dword [rbx + 0x128], ebp
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov r8d, 0x200000
mov rdx, qword [rbx]
call qword [rax]
mov dword [rbx + 0x12c], eax
cmp eax, 3
jl 0x140129d40
mov rcx, qword [rbx]
cmp byte [rcx], 0xef
jne 0x140129d40
cmp byte [rcx + 1], 0xbb
jne 0x140129d40
cmp byte [rcx + 2], 0xbf
jne 0x140129d40
mov dword [rbx + 0x128], 3
cmp eax, 0x200000
jne 0x140129e87
lea rdi, [rbx + 8]
mov rax, qword [rsi]
mov qword [rsi], rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea r14, [rdi + 0x40]
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x68], 0
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140129d90
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov byte [rsp + 0x68], 1
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x140129dbf
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140129dbf
mov rax, qword [rcx]
mov edx, 1
call qword [rax + ioctlsocket]
mov dword [rdi + 0x38], 0xffffffff
mov byte [rdi + 0x18], 0
mov ecx, 8
call fcn.1402615fc
mov qword [rax], rdi
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140139f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140129ec6
cmp dword [rdi + 0x10], 0
jne 0x140129ebf
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 8], xmm1
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140129e3e
mov rax, qword [rcx]
mov edx, 1
call qword [rax + ioctlsocket]
mov rbp, qword [rbx]
add rbp, 0x200000
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140129e5e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov qword [rbx + 0x38], rbp
mov dword [rdi + 0x38], 0x100000
mov dword [rbx + 0x44], 0xffffffff
lea rcx, [rbx + 0xe0]
call qword [sym.imp.MSVCP140.dll__Cnd_signal]
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140129e9a
mov rax, qword [rcx]
mov edx, 1
call qword [rax + ioctlsocket]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140260d10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3