Function at 0x14029ea00
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x38
mov r10, r9
mov rax, r8
cmp ecx, 0x6166616d
jne 0x14029ea37
cmp edx, 2
je 0x14029ea26
cmp edx, 0x17
je 0x14029ea26
mov eax, 0xffffffff
add rsp, 0x38
ret
mov rax, qword [0x14062e6a8]
mov dword [rax + 0x5c], edx
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x636f6e6e
je 0x14029ea30
cmp ecx, 0x64697363
je 0x14029ea30
cmp ecx, 0x2b697036
jne 0x14029ea6c
mov rcx, qword [0x14062e6a8]
mov r8d, edx
add rcx, 0x90
mov rdx, rax
add rsp, 0x38
jmp fcn.1402a1700
cmp ecx, 0x2d697036
jne 0x14029ea91
mov rcx, qword [0x14062e6a8]
mov r8d, edx
add rcx, 0x90
mov rdx, rax
add rsp, 0x38
jmp 0x1402a1dc0
cmp ecx, 0x7e697036
jne 0x14029eab9
mov rcx, qword [0x14062e6a8]
mov r9d, edx
add rcx, 0x90
mov r8, r10
mov rdx, rax
add rsp, 0x38
jmp 0x1402a1c20
cmp ecx, 0x69646c65
je 0x14029ea30
cmp ecx, 0x69707670
jne 0x14029eae3
mov rax, qword [0x14062e6a8]
test edx, edx
setne cl
mov byte [rax + 0x60], cl
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x6c616472
jne 0x14029eafc
mov rax, qword [0x14062e6a8]
mov dword [rax + 0x78], edx
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x6d617870
jne 0x14029eb15
mov rax, qword [0x14062e6a8]
mov dword [rax + 0x58], edx
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x706f6c6c
jne 0x14029eb33
imul edx, edx, 0x3e8
mov rcx, qword [0x14062e6a8]
add rsp, 0x38
jmp fcn.14029f3a0
cmp ecx, 0x706f6c6e
je 0x14029eb23
cmp ecx, 0x73646362
jne 0x14029eb78
mov rcx, qword [0x14062e6a8]
add rcx, 0xb8
mov qword [rsp + 0x20], rax
test edx, edx
mov qword [rsp + 0x28], r10
lea rdx, [rsp + 0x20]
je 0x14029eb6e
call fcn.1402a30d0
add rsp, 0x38
ret
call fcn.1402a3300
add rsp, 0x38
ret
cmp ecx, 0x7370616d
jne 0x14029eb91
mov rax, qword [0x14062e6a8]
mov dword [rax + 0x74], edx
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x76616464
jne 0x14029ebd2
mov rcx, qword [0x14062e6a8]
xor r8d, r8d
cmp word [rcx + 0x18], r8w
je 0x14029ebc3
lea rax, [rcx + 0x18]
nop
inc r8d
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14029ebb0
cmp r8d, 0x20
jge 0x14029ec3b
movsxd rax, r8d
mov word [rcx + rax*2 + 0x18], dx
xor eax, eax
add rsp, 0x38
ret
cmp ecx, 0x7664656c
jne 0x14029ec3b
mov r10, qword [0x14062e6a8]
xor r8d, r8d
mov ecx, r8d
mov r9d, r8d
lea rax, [r10 + 0x1a]
nop
cmp word [rax - 2], dx
je 0x14029ec26
cmp word [rax], dx
je 0x14029ec24
cmp word [rax + 2], dx
je 0x14029ec1f
cmp word [rax + 4], dx
je 0x14029ec1a
add r9, 4
add rax, 8
add ecx, 4
cmp r9, 0x20
jl 0x14029ebf0
jmp 0x14029ec26
add ecx, 3
jmp 0x14029ec26
add ecx, 2
jmp 0x14029ec26
inc ecx
cmp ecx, 0x20
jge 0x14029ec3b
movsxd rax, ecx
mov word [r10 + rax*2 + 0x18], r8w
xor eax, eax
add rsp, 0x38
ret
mov eax, 0xfffffff6
add rsp, 0x38
ret
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp - 0x20], rax
cmp word [r8], 2
mov rbx, r8
mov rsi, rcx
jne 0x1402a1c6b
movzx ecx, byte [r8 + 5]
movzx eax, byte [r8 + 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [r8 + 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [r8 + 7]
shl eax, 8
or eax, ecx
jmp 0x1402a1cb2
cmp word [r8], 0x17
jne 0x1402a1daa
cmp r9d, 0x1c
jl 0x1402a1daa
mov r8d, 0x1c
mov qword [rsp + 0x48], rdi
call fcn.1402a3b70
mov rdi, rax
test rax, rax
je 0x1402a1cc6
lea rcx, [rax + 8]
mov r8d, 0x1c
mov rdx, rbx
call fcn.140295270
mov eax, dword [rdi + 4]
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140284180
add rsp, 0x50
pop rsi
pop rbx
pop rbp
ret
cmp word [rbx], 2
jne 0x1402a1cef
movzx eax, byte [rbx + 5]
movzx ecx, byte [rbx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 7]
shl ecx, 8
or ecx, eax
mov eax, ecx
jmp 0x1402a1cad
cmp word [rbx], 0x17
jne 0x1402a1d9e
mov qword [rbp - 0x30], 0
mov rax, qword [rbp - 0x30]
mov dword [rbp - 0x28], 0xffff0000
cmp rax, qword [rbx + 8]
jne 0x1402a1d1a
mov eax, dword [rbp - 0x28]
cmp eax, dword [rbx + 0x10]
je 0x1402a1d3e
mov qword [rbp - 0x30], 0
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x28], 0
cmp rax, qword [rbx + 8]
jne 0x1402a1d64
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbx + 0x10]
jne 0x1402a1d64
movzx eax, byte [rbx + 0x15]
movzx ecx, byte [rbx + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x17]
shl ecx, 8
or ecx, eax
mov eax, ecx
jmp 0x1402a1cad
mov r8d, 0x1c
mov rdx, rbx
mov rcx, rsi
call fcn.1402a3b70
test rax, rax
je 0x1402a1d86
inc dword [rax]
mov ecx, dword [rax + 4]
mov eax, ecx
jmp 0x1402a1cad
mov r8d, 0x1c
mov rdx, rbx
mov rcx, rsi
call fcn.1402a3a30
mov ecx, eax
jmp 0x1402a1cad
mov ecx, 0xffffffff
mov eax, ecx
jmp 0x1402a1cad
mov eax, 0xffffffff
jmp 0x1402a1cb2
sub rsp, 0x28
cmp word [rdx], 0x17
jne 0x1402a1e03
cmp r8d, 0x1c
jl 0x1402a1e03
mov r8d, 0x1c
call fcn.1402a3b70
test rax, rax
jne 0x1402a1dea
mov eax, 0xfffffffe
add rsp, 0x28
ret
sub dword [rax], 1
jne 0x1402a1dfc
mov edx, 0x24
mov rcx, rax
call fcn.140295260
xor eax, eax
add rsp, 0x28
ret
mov eax, 0xffffffff
add rsp, 0x28
ret