Function at 0x1400fec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor edi, edi
mov rbp, rdx
mov r14, rcx
test rdx, rdx
jne 0x1400fec6a
mov r12d, edi
jmp 0x1400feca1
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x1400fec8a
cmp byte [rbp + 0x16], 1
jne 0x1400fec8a
mov r12, qword [rbp + 8]
jmp 0x1400feca1
test cl, 1
mov rcx, rbp
je 0x1400fec97
mov r12, rdi
jmp 0x1400feca4
mov dl, 1
call fcn.140173820
mov r12, rax
mov rcx, rbp
mov eax, socket
mov qword [rsp + 0x70], r15
movzx ecx, word [rcx + rax]
test cl, 2
je 0x1400fecc3
cmp byte [rbp + 0x16], 1
jne 0x1400fecc3
mov r15d, dword [rbp + 0x10]
jmp 0x1400fecf0
test cl, 0x10
je 0x1400fecd9
bt cx, 0xa
mov r15d, dword [rbp + 0x10]
jae 0x1400fecf0
add r15d, dword [rbp]
jmp 0x1400fecf0
test cl, 1
je 0x1400fece3
mov r15d, edi
jmp 0x1400fecf0
mov dl, 1
mov rcx, rbp
call fcn.140172f80
mov r15d, eax
mov dword [rsp + 0x20], edi
mov r8d, 0xffffffff
mov dword [rsp + 0x78], r8d
mov rsi, rdi
mov r13d, edi
test r12, r12
je 0x1400ff0ae
nop
mov rax, qword [r14 + 0x18]
lea edx, [rdi - 0x68f72]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x1400fed46
cmp dword [rcx + 4], edx
jne 0x1400fed3d
mov eax, dword [r14 + 0x20]
cmp dword [rcx], eax
je 0x1400fed66
lea eax, [rdi - 0x68f72]
test eax, eax
js 0x1400fed66
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400fed26
mov dword [rsp + 0x20], edi
test rsi, rsi
je 0x1400fee1b
lea ecx, [r13 + 1]
mov byte [rsi + 0x32], 0
mov dword [rsi + 0x4c], ecx
mov rax, rsi
jmp 0x1400ff0b0
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1400fed46
test rsi, rsi
jne 0x1400fedef
cmp dword [rbx + 0x3c], r15d
jne 0x1400fedb5
cmp byte [rbx + 0x37], sil
je 0x1400fed8b
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1400fedbc
mov rcx, qword [rbx + 0x10]
cmp rcx, r12
je 0x1400feda8
movsxd r8, r15d
mov rdx, r12
call fcn.1401b9720
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x1400fedb5
mov byte [rbx + 0x32], 0
mov rsi, rbx
mov byte [rbx + 0x36], 0
jmp 0x1400fee02
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400fedef
test eax, eax
jne 0x1400fedef
cmp dword [rbx + 0x40], r15d
jne 0x1400fedef
movsxd r8, r15d
mov rdx, r12
call fcn.1401b9720
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x1400fedef
mov byte [rbx + 0x32], al
mov rsi, rbx
mov byte [rbx + 0x36], 1
jmp 0x1400fee02
mov eax, dword [rbx + 0x4c]
cmp eax, r8d
jae 0x1400fee02
mov r8d, eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], edi
cmp dword [rbx + 0x4c], r13d
cmova r13d, dword [rbx + 0x4c]
inc edi
cmp edi, 4
jl 0x1400fed10
jmp 0x1400fed4a
movzx eax, word [rbp + 0x14]
mov edx, recv
test al, 0x12
setne cl
bt ax, dx
lea edi, [rdx - 0xb]
setb al
test al, cl
je 0x1400fee4c
lea rax, [fcn.140146360]
cmp qword [rbp + 0x30], rax
jne 0x1400fee4c
xor ebp, ebp
mov esi, edi
mov ebx, ebp
jmp 0x1400fee54
xor ebp, ebp
lea ebx, [r15 + 1]
mov esi, ebp
call fcn.14016f850
test eax, eax
jne 0x1400ff07e
movsxd rcx, ebx
add rcx, 0x50
call fcn.14013b8f0
mov rdi, rax
test rax, rax
je 0x1400ff079
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
test esi, esi
je 0x1400feea2
inc qword [r12 - 8]
mov qword [rax + 0x10], r12
mov byte [rax + 0x34], 1
jmp 0x1400feeb9
lea rcx, [rax + 0x50]
mov rdx, r12
mov qword [rax + 0x10], rcx
lea eax, [r15 + 1]
movsxd r8, eax
call fcn.1401b9820
mov rbx, qword [rsp + 0x80]
mov rcx, rdi
mov rdx, rbx
mov dword [rdi + 0x38], 1
call fcn.1400fe8a0
test eax, eax
je 0x1400feef5
test rbx, rbx
jne 0x1400feee8
mov byte [rdi + 0x32], 1
mov rax, rdi
jmp 0x1400ff0b0
mov rcx, rdi
call fcn.1400ff1c0
jmp 0x1400ff0ae
lea eax, [r13 + 1]
mov dword [rdi + 0x3c], r15d
mov r13d, dword [rsp + 0x20]
mov dword [rdi + 0x4c], eax
mov r15, qword [r14 + 0x18]
lea esi, [r13 - 0x68f72]
mov rbx, qword [r15 + 0x128]
test rbx, rbx
je 0x1400fef3a
nop dword [rax]
cmp dword [rbx + 4], esi
jne 0x1400fef31
mov eax, dword [r14 + 0x20]
cmp dword [rbx], eax
je 0x1400fef4e
test esi, esi
js 0x1400fef4e
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x1400fef20
mov rcx, qword [r15]
test rcx, rcx
je 0x1400fef71
mov edx, 0x20
call fcn.1401252f0
jmp 0x1400fef7b
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400fefb7
mov rcx, qword [rbx + 8]
call rax
lea rax, [fcn.1400ff1c0]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp 0x1400ff03a
mov ecx, 0x20
call fcn.14013b8f0
mov rbx, rax
test rax, rax
je 0x1400fefc8
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov eax, dword [r14 + 0x20]
mov dword [rbx], eax
mov dword [rbx + 4], esi
mov rax, qword [r15 + 0x128]
mov qword [rbx + 0x18], rax
mov qword [r15 + 0x128], rbx
cmp dword [r14 + 0x24], 0
jne 0x1400fefb7
mov dword [r14 + 0x24], 0xffffffff
lea rax, [fcn.1400ff1c0]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp 0x1400ff03a
mov eax, dword [rdi + 0x38]
cmp eax, 1
jbe 0x1400fefd7
dec eax
mov dword [rdi + 0x38], eax
jmp 0x1400ff03a
mov rcx, rdi
call fcn.1400ff250
cmp dword [0x14023c040], 0
je 0x1400ff031
mov rcx, qword [0x1402438f0]
test rcx, rcx
je 0x1400feffa
call qword [0x14023c0c0]
mov rcx, rdi
call qword [0x14023c078]
dec qword [0x140243878]
movsxd rcx, eax
sub qword [0x140243830], rcx
mov rcx, rdi
call qword [0x14023c068]
mov rcx, qword [0x1402438f0]
test rcx, rcx
je 0x1400ff03a
call qword [0x14023c0d0]
jmp 0x1400ff03a
mov rcx, rdi
call qword [0x14023c068]
mov rax, qword [r14 + 0x18]
lea edx, [r13 - 0x68f72]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x1400ff074
cmp dword [rcx + 4], edx
jne 0x1400ff062
mov eax, dword [r14 + 0x20]
cmp dword [rcx], eax
je 0x1400ff070
test edx, edx
js 0x1400ff070
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400ff051
mov rax, rbp
jmp 0x1400ff0b0
mov rbp, qword [rcx + 8]
mov rax, rbp
jmp 0x1400ff0b0
mov edi, 1
mov rax, qword [r14]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x1400ff096
mov rcx, rax
call fcn.140174d90
jmp 0x1400ff09a
mov word [rax + 0x14], di
mov rcx, qword [r14]
mov dword [r14 + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.14013c540
xor eax, eax
mov r15, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret