Function at 0x14001d3bb
Capabilities:
Get socket status

Disassembly:
jmp 0x14003a280
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x8818
call fcn.14001d32f
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x207a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8838]
mov rax, qword [0x14006d158]
xor rax, rbp
mov qword [rbp + 0x87d0], rax
lea rcx, [0x140077119]
call fcn.14001e13a
mov rax, qword [rbp + 0x8800]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x80a8], rax
mov dword [rbp + 0x50], 0
mov dword [rbp + 0x4080], 0
mov dword [rbp + 0x8104], 0
jmp 0x14003a310
mov eax, dword [rbp + 0x8104]
inc eax
mov dword [rbp + 0x8104], eax
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8104], eax
jae 0x14003a337
mov eax, dword [rbp + 0x8104]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x10]
cmp qword [rbp + rax*8 + 0x58], rcx
jne 0x14003a335
jmp 0x14003a337
jmp 0x14003a302
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8104], eax
jne 0x14003a369
cmp dword [rbp + 0x50], 0x800
jae 0x14003a369
mov eax, dword [rbp + 0x8104]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x10]
mov qword [rbp + rax*8 + 0x58], rcx
mov eax, dword [rbp + 0x50]
inc eax
mov dword [rbp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14003a2f6
mov rax, qword [rbp + 0x8800]
mov rax, qword [rax]
mov qword [rbp + 8], rax
jmp 0x14003a38e
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0xa0]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14003a4cc
mov rax, qword [rbp + 8]
cmp dword [rax], 2
jl 0x14003a434
mov dword [rbp + 0x8124], 0
jmp 0x14003a3c0
mov eax, dword [rbp + 0x8124]
inc eax
mov dword [rbp + 0x8124], eax
mov eax, dword [rbp + 0x4080]
cmp dword [rbp + 0x8124], eax
jae 0x14003a3ea
mov eax, dword [rbp + 0x8124]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
cmp qword [rbp + rax*8 + 0x4088], rcx
jne 0x14003a3e8
jmp 0x14003a3ea
jmp 0x14003a3b2
mov eax, dword [rbp + 0x4080]
cmp dword [rbp + 0x8124], eax
jne 0x14003a428
cmp dword [rbp + 0x4080], 0x800
jae 0x14003a428
mov eax, dword [rbp + 0x8124]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
mov qword [rbp + rax*8 + 0x4088], rcx
mov eax, dword [rbp + 0x4080]
inc eax
mov dword [rbp + 0x4080], eax
xor eax, eax
test eax, eax
jne 0x14003a3a6
jmp 0x14003a4a7
mov dword [rbp + 0x8144], 0
jmp 0x14003a44e
mov eax, dword [rbp + 0x8144]
inc eax
mov dword [rbp + 0x8144], eax
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8144], eax
jae 0x14003a472
mov eax, dword [rbp + 0x8144]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
cmp qword [rbp + rax*8 + 0x58], rcx
jne 0x14003a470
jmp 0x14003a472
jmp 0x14003a440
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8144], eax
jne 0x14003a4a1
cmp dword [rbp + 0x50], 0x800
jae 0x14003a4a1
mov eax, dword [rbp + 0x8144]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
mov qword [rbp + rax*8 + 0x58], rcx
mov eax, dword [rbp + 0x50]
inc eax
mov dword [rbp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14003a434
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x80a8]
cmp qword [rax + 0x60], rcx
jbe 0x14003a4c7
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x80a8], rax
jmp 0x14003a37f
mov eax, dword [rbp + 0x8808]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rbp + 0x80c8], eax
mov eax, dword [rbp + 0x8808]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rbp + 0x80cc], eax
mov rax, qword [rbp + 0x80a8]
inc rax
lea rcx, [rbp + 0x80c8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x4080]
lea rdx, [rbp + 0x50]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
call fcn.14003bdd0
mov rcx, qword [rbp + 0x8800]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0x8800]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x14003a6d4
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x60]
call fcn.14001d050
test eax, eax
je 0x14003a596
mov rcx, qword [rbp + 8]
call fcn.14003b160
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x14003a596
mov eax, dword [rbp + 0x80e4]
jmp 0x14003a7a8
lea rdx, [rbp + 0x4080]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x60]
call fcn.14001d050
test eax, eax
je 0x14003a5d1
mov rcx, qword [rbp + 8]
call fcn.14003b5e0
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x14003a5d1
mov eax, dword [rbp + 0x80e4]
jmp 0x14003a7a8
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x28], 0
je 0x14003a61d
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov qword [rbp + 0x87c8], rax
mov rcx, qword [rbp + 0x8800]
mov rax, qword [rcx + 0x28]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x87c8]
cmp rcx, rax
jg 0x14003a68c
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x30], 0
je 0x14003a669
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov qword [rbp + 0x87c8], rax
mov rcx, qword [rbp + 0x8800]
mov rax, qword [rcx + 0x30]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x87c8]
cmp rcx, rax
jg 0x14003a68c
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x38], 0
je 0x14003a695
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x38]
cmp qword [rax + 0x70], rcx
jb 0x14003a695
mov rcx, qword [rbp + 8]
call fcn.14003acc0
mov rax, qword [rbp + 8]
cmp dword [rax], 6
jne 0x14003a6be
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xa0]
mov qword [rax], rcx
mov rcx, qword [rbp + 8]
call fcn.14003ad10
jmp 0x14003a545
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
add rax, 0xa0
mov qword [rbp + 0x28], rax
jmp 0x14003a545
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rax + 0x10]
call fcn.14001d050
test eax, eax
je 0x14003a7a6
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x81b8], rax
cmp qword [rbp + 0x81b8], 0xffffffffffffffff
je 0x14003a7a6
mov rdx, qword [rbp + 0x81b8]
mov rcx, qword [rbp + 0x8800]
call fcn.14003b030
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14003a74d
mov rcx, qword [rbp + 0x81b8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xfffffffe
jmp 0x14003a7a8
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx]
mov qword [rax + 0xa0], rcx
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov dword [rbp + 0x8168], 0
lea rdx, [rbp + 0x8168]
mov rcx, qword [rbp + 8]
call fcn.14003ae50
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x14003a7a1
mov eax, dword [rbp + 0x80e4]
jmp 0x14003a7a8
jmp 0x14003a6f0
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14001de01
mov rax, rdi
mov rcx, qword [rbp + 0x87d0]
xor rcx, rbp
call fcn.14001d857
lea rsp, [rbp + 0x87e8]
pop rdi
pop rbp
ret