Function at 0x1402d8c66
Capabilities:
Get socket status

Disassembly:
push rax
pushf
mov eax, 0xc7fc8361
pushf
not eax
add eax, 0xa32f42d8
xor eax, 0x83b6a651
rol eax, 0x86
popf
pushf
not eax
add eax, 0xec1e49f2
xor eax, 0xcb18001b
rol eax, 0x3e
popf
cmp eax, 4
jne 0x1402d8ca3
popf
pop rax
jmp 0x1402d908d
cmp eax, 0
jne 0x1402d8cb2
popf
pop rax
jmp 0x1402d8d2a
cmp eax, 3
jne 0x1402d8cc1
popf
pop rax
jmp 0x1402d8fd7
cmp eax, 1
jne 0x1402d8cd0
popf
pop rax
jmp 0x1402d8e94
cmp eax, 5
jne 0x1402d8cdf
popf
pop rax
jmp 0x1402d90d8
cmp eax, 7
jne 0x1402d8cee
popf
pop rax
jmp 0x1402d91b4
cmp eax, 6
jne 0x1402d8cfd
popf
pop rax
jmp 0x1402d9156
cmp eax, 2
jne 0x1402d8d0c
popf
pop rax
jmp 0x1402d8f1a
cmp eax, 9
jne 0x1402d8d1b
popf
pop rax
jmp 0x1402d923a
cmp eax, 8
jne 0x1402d8d2a
popf
pop rax
jmp 0x1402d9200
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [rcx]
lea rdi, [r11 + 0x18]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x2550fdca354df6b0
pushf
not rax
add rax, 0x5d01c4f7
xor rax, 0x594a2a43
rol rax, 0x9e
popf
pushf
not rax
add rax, 0x6e3cc0ed
xor rax, 0x76d0b0ba
rol rax, 0xb7
popf
pushf
not rax
add rax, 0x7297f38a
xor rax, 0x70453c26
rol rax, 0xde
popf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
push rax
not rax
sub rdx, rax
pop rax
sub rdx, 1
imul eax, edx, 0x3e8
mov dword [r11 + 0x18], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [r11 + 0x1c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
jmp 0x1402d8e0d
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1402d8e4d
push rax
pushf
mov eax, 0x88e56249
pushf
not eax
add eax, 0xd0678159
xor eax, 0xfafc0fd1
rol eax, 0x4c
popf
pushf
not eax
add eax, 0xc5bc70be
xor eax, 0xe4ae86e6
rol eax, 0xd7
popf
jmp 0x1402d8c94
push rax
pushf
mov eax, 0x4cdcd327
pushf
not eax
add eax, 0xd4bb5085
xor eax, 0xacb016fb
rol eax, 0xee
popf
pushf
not eax
add eax, 0x9296a501
xor eax, 0xd3dd0787
rol eax, 0x20
popf
pushf
not eax
add eax, 0xedebd503
xor eax, 0xc97bb160
rol eax, 0xf7
popf
jmp 0x1402d8c94
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1402d8ed4
push rax
pushf
mov eax, 0x6e5cd224
pushf
not eax
add eax, 0x9b22b8fa
xor eax, 0x8302222d
rol eax, 0x5d
popf
pushf
not eax
add eax, 0xfba49313
xor eax, 0xf5ab9a73
rol eax, 0x85
popf
jmp 0x1402d8c94
push rax
pushf
mov eax, 0xb7551f7f
pushf
not eax
add eax, 0xf5b53184
xor eax, 0xa56cb7fe
rol eax, 0x41
popf
pushf
not eax
add eax, 0xde77c191
xor eax, 0xbf0eecdd
rol eax, 0xba
popf
pushf
not eax
add eax, 0x990acc50
xor eax, 0x80ad89c2
rol eax, 0x7d
popf
jmp 0x1402d8c94
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
jmp 0x1402d8f2b
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1402d8f7e
push rax
pushf
mov eax, 0xb859ea1f
pushf
not eax
add eax, 0xf51386e0
xor eax, 0xbc93ad89
rol eax, 0x6c
popf
pushf
not eax
add eax, 0xce985297
xor eax, 0xc481c7f7
rol eax, 0xdc
popf
pushf
not eax
add eax, 0xca047f28
xor eax, 0x8a945751
rol eax, 0x89
popf
jmp 0x1402d8c94
push rax
pushf
mov eax, 0xb75c2018
pushf
not eax
add eax, 0x8b45ca59
xor eax, 0xe6466bf2
rol eax, 0x7a
popf
pushf
not eax
add eax, 0xfef35c51
xor eax, 0xb6f0b3ab
rol eax, 0xc5
popf
pushf
not eax
add eax, 0xcffe9c8d
xor eax, 0xfce9d8fc
rol eax, 0xae
popf
pushf
not eax
add eax, 0xf9bf93e7
xor eax, 0xbb978042
rol eax, 0xc5
popf
jmp 0x1402d8c94
test ebx, ebx
je 0x1402d9034
push rax
pushf
mov eax, 0x2fcbbda4
pushf
not eax
add eax, 0xfad86c6a
xor eax, 0xd93ab450
rol eax, 0xdd
popf
pushf
not eax
add eax, 0xdab79ee1
xor eax, 0xc8652e37
rol eax, 0xec
popf
pushf
not eax
add eax, 0xe8e584c3
xor eax, 0xf6346e45
rol eax, 0x76
popf
pushf
not eax
add eax, 0xbf2cdd2f
xor eax, 0xde0ccdcc
rol eax, 0x75
popf
jmp 0x1402d8c94
push rax
pushf
mov eax, 0x809facd4
pushf
not eax
add eax, 0xcb5c5e17
xor eax, 0xad30201a
rol eax, 0x71
popf
pushf
not eax
add eax, 0xd634e31e
xor eax, 0xe82da0b1
rol eax, 0x64
popf
pushf
not eax
add eax, 0x83a5b35e
xor eax, 0x9106a27f
rol eax, 0xd2
popf
pushf
not eax
add eax, 0xe3316a57
xor eax, 0xb9560363
rol eax, 0xd2
popf
jmp 0x1402d8c94
jmp 0x1402d91b4
cmp ebx, 0xffffffff
je 0x1402d9123
push rax
pushf
mov eax, 0xdf5b3eb9
pushf
not eax
add eax, 0x8eb9d3ee
xor eax, 0xa045edbc
rol eax, 0x96
popf
pushf
not eax
add eax, 0xd7ed002c
xor eax, 0xb6a79b9c
rol eax, 0xe6
popf
pushf
not eax
add eax, 0x9829a6d5
xor eax, 0xc480f254
rol eax, 0xdb
popf
jmp 0x1402d8c94
push rax
pushf
mov eax, 0x7578bb35
pushf
not eax
add eax, 0xcfe1eaf3
xor eax, 0xa7814353
rol eax, 0xb1
popf
pushf
not eax
add eax, 0xb4634024
xor eax, 0xfa854452
rol eax, 0xa3
popf
jmp 0x1402d8c94
jmp 0x1402d8fd7
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, [0x1a1f53bd9]
pushf
sub rdx, 0x61ec4a29
popf
lea rcx, [rsp + 0x30]
call fcn.14028d027
lea rdx, [0x19aceb102]
pushf
sub rdx, 0x5ac4a93a
popf
lea rcx, [rsp + 0x30]
call fcn.14022538e
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, [0x199383d97]
pushf
sub r9, 0x592f4bff
popf
lea r8, [0x19aecee25]
pushf
sub r8, 0x5ae2bf0d
popf
lea rcx, [rsp + 0x30]
call fcn.1400e7dbe
lea rdx, [0x191ba5e0f]
pushf
sub rdx, 0x51b05a17
popf
lea rcx, [rsp + 0x30]
call fcn.14022538e
int3