Function at 0x14017fd40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rcx
xor r13d, r13d
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x50], xmm0
mov r14d, r13d
mov qword [rsp + 0x60], r13
mov rbx, qword [rcx]
cmp qword [rbx + 0x1478], r13
je 0x14017fe12
cmp dword [rbx + 0x1f98], r13d
je 0x14017fe12
mov ecx, 8
call fcn.1403f4d70
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1401c4ee0]
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 0x14017ff2a
mov qword [rsp + 0x70], r13
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
nop
cmp dword [rsp + 0x38], r13d
je 0x14017fe0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov r14, qword [rsp + 0x60]
mov rcx, qword [r15]
cmp qword [rcx + 0xbe8], 0
je 0x14017ffc9
mov rbx, qword [rcx + 0xbe0]
mov rsi, qword [rcx + 0xbd8]
mov rax, qword [rbx]
mov r12, rbx
test rax, rax
jne 0x14017fe57
nop dword [rax]
add rbx, 8
sub rsi, 0xffffffffffffff80
mov rax, qword [rbx]
test rax, rax
je 0x14017fe40
mov r12, qword [rcx + 0xbe0]
bsf rcx, rax
mov dword [rsp + 0x70], ecx
mov eax, 0x40
cmovne eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd rcx, eax
add rbx, rcx
shl rcx, 4
add rsi, rcx
cmp rsi, r12
je 0x14017ffc9
mov rdi, qword [rsp + 0x58]
nop dword [rax + rax]
mov rcx, qword [rsi + 8]
cmp byte [rcx + 0x78], 0
je 0x14017ff5e
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1403f4d70
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rax], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1401c4f10]
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 0x14017ffb8
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x14017ff3b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x70], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x30], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x14017ff57
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
jne 0x14017ffb1
inc rbx
add rsi, 0x10
mov rax, qword [rbx]
test rax, rax
jne 0x14017ff80
nop dword [rax]
add rbx, 8
sub rsi, 0xffffffffffffff80
mov rax, qword [rbx]
test rax, rax
je 0x14017ff70
bsf rcx, rax
mov dword [rsp + 0x70], ecx
mov eax, 0x40
cmovne eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd rcx, eax
add rbx, rcx
shl rcx, 4
add rsi, rcx
cmp rsi, r12
jne 0x14017fe90
jmp 0x14017ffce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdi, qword [rsp + 0x58]
mov qword [rbp + 0x78], r13
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, fcn.1401c6b20
mov qword [rbp - 0x80], rax
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rbp - 0x78], xmm0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov qword [rbp + 0xb8], r13
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x80]
call fcn.1401c6b20
mov r9, rax
mov qword [rbp + 0xb8], rax
mov r8, qword [rbp - 0x48]
test r8, r8
je 0x14018004c
mov rax, qword [r8]
lea rcx, [rbp - 0x80]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov r8, r13
mov qword [rbp - 0x48], r13
mov r9, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1401800ac
lea rax, [rbp + 0x40]
cmp rcx, rax
jne 0x14018009e
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax + htons]
mov r8, rax
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140180095
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp + 0xb8]
jmp 0x1401800a5
mov r9, qword [rbp + 0xb8]
jmp 0x1401800ac
mov r8, rcx
mov qword [rbp - 0x48], rcx
mov rcx, r13
mov qword [rbp + 0x78], rcx
test r9, r9
je 0x14018010e
lea rax, [rbp + 0x80]
mov rcx, r9
cmp r9, rax
jne 0x140180103
mov rax, qword [r9]
lea rdx, [rbp + 0x40]
call qword [rax + htons]
mov rcx, rax
mov qword [rbp + 0x78], rax
mov r8, qword [rbp + 0xb8]
test r8, r8
je 0x1401800fd
mov rax, qword [r8]
lea rcx, [rbp + 0x80]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x78]
mov r8, qword [rbp - 0x48]
jmp 0x140180107
mov r8, qword [rbp - 0x48]
jmp 0x14018010e
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0xb8], r13
test r8, r8
je 0x14018012e
mov rax, qword [r8]
lea rcx, [rbp - 0x80]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rbp - 0x48], r13
mov rcx, qword [rbp + 0x78]
mov rax, qword [r15]
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x140], r13
test rcx, rcx
je 0x140180163
mov rax, qword [rcx]
lea rdx, [rbp + 0x108]
call qword [rax]
mov qword [rbp + 0x140], rax
mov ecx, 0x48
call fcn.1403f4d70
mov rbx, rax
mov rcx, qword [rbp + 0x100]
mov qword [rax], rcx
lea rcx, [rax + 8]
mov qword [rcx + 0x38], r13
lea rdx, [rbp + 0x108]
call fcn.14001f970
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x1401c4f50]
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 0x140180855
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x1401801f9
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x40], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x140180215
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
je 0x140180223
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x140180249
mov rax, qword [rcx]
lea rdx, [rbp + 0x108]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x140], r13
mov qword [rbp + 0x38], r13
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x48], rax
lea rax, fcn.1401c6ae0
mov qword [rbp - 0x40], rax
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rbp - 0x38], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
mov qword [rbp + 0xf8], r13
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x40]
call fcn.1401c6ae0
mov r9, rax
mov qword [rbp + 0xf8], rax
mov r8, qword [rbp - 8]
test r8, r8
je 0x1401802c7
mov rax, qword [r8]
lea rcx, [rbp - 0x40]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov r8, r13
mov qword [rbp - 8], r13
mov r9, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140180327
lea rax, [rbp]
cmp rcx, rax
jne 0x140180319
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + htons]
mov r8, rax
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140180310
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp - 8]
mov r9, qword [rbp + 0xf8]
jmp 0x140180320
mov r9, qword [rbp + 0xf8]
jmp 0x140180327
mov r8, rcx
mov qword [rbp - 8], rcx
mov rcx, r13
mov qword [rbp + 0x38], rcx
test r9, r9
je 0x140180389
lea rax, [rbp + 0xc0]
mov rcx, r9
cmp r9, rax
jne 0x14018037e
mov rax, qword [r9]
lea rdx, [rbp]
call qword [rax + htons]
mov rcx, rax
mov qword [rbp + 0x38], rax
mov r8, qword [rbp + 0xf8]
test r8, r8
je 0x140180378
mov rax, qword [r8]
lea rcx, [rbp + 0xc0]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x38]
mov r8, qword [rbp - 8]
jmp 0x140180382
mov r8, qword [rbp - 8]
jmp 0x140180389
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0xf8], r13
test r8, r8
je 0x1401803a9
mov rax, qword [r8]
lea rcx, [rbp - 0x40]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rbp - 8], r13
mov rcx, qword [rbp + 0x38]
mov rax, qword [r15]
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x158]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x190], r13
test rcx, rcx
je 0x1401803de
mov rax, qword [rcx]
lea rdx, [rbp + 0x158]
call qword [rax]
mov qword [rbp + 0x190], rax
mov ecx, 0x48
call fcn.1403f4d70
mov rbx, rax
mov rcx, qword [rbp + 0x150]
mov qword [rax], rcx
lea rcx, [rax + 8]
mov qword [rcx + 0x38], r13
lea rdx, [rbp + 0x158]
call fcn.14001f970
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x1401c4fb0]
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 0x140180844
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x140180474
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x40], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x140180490
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
je 0x14018049e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x1401804c4
mov rax, qword [rcx]
lea rdx, [rbp + 0x158]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x190], r13
test byte [r15 + 8], 0x40
je 0x1401806ed
mov rbx, qword [r15]
mov ecx, 8
call fcn.1403f4d70
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1401c5010]
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 0x1401806dc
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x14018054a
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x40], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x140180566
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
je 0x140180574
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rbx, qword [r15]
mov ecx, 8
call fcn.1403f4d70
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1401c5040]
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 0x1401806cb
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x1401805ef
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x40], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x14018060b
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
je 0x140180619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rbx, qword [r15]
mov ecx, 8
call fcn.1403f4d70
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1401c5070]
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 0x1401806ba
mov qword [rsp + 0x70], r13
cmp rdi, r14
je 0x140180690
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovups xmmword [rsp + 0x40], xmm1
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rsp + 0x58], rdi
jmp 0x1401806ac
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401b82f0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
cmp dword [rsp + 0x38], 0
je 0x1401806ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rsi, qword [rsp + 0x50]
mov rbx, rsi
cmp rsi, rdi
je 0x14018074f
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x1401807f6
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x1401807ea
vmovups xmm0, xmmword [rbx]
vmovups xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1401807de
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vmovups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140180700
mov rax, qword [r15]
mov byte [rax + 0x7b], 1
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140180773
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x38], r13
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140180790
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x78], r13
test rsi, rsi
je 0x140180814
mov rax, rsi
cmp rsi, rdi
je 0x1401807af
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x140180802
add rax, 0x10
cmp rax, rdi
jne 0x1401807a0
sub r14, rsi
and r14, 0xfffffffffffffff0
mov rax, rsi
cmp r14, 0x1000
jb 0x140180809
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140180809
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, r14
mov rcx, rsi
call fcn.1403f4db4
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1403f4b10
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3