Function at 0x1400cd1fa
Capabilities:
Get socket status
Set socket configuration

Disassembly:
jmp 0x1400f7b40
push rbp
push rdi
sub rsp, 0xc88
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x222
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402d9238]
xor rax, rbp
mov qword [rbp + 0xc38], rax
lea rcx, [0x1403040eb]
call fcn.1400cf004
mov dword [rbp + 0x698], 0
mov dword [rbp + 0x69c], 0x64
mov rax, qword [0x1402dbc30]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x1400f80fd
xor eax, eax
cmp eax, 1
je 0x1400f80fd
mov rax, qword [rbp + 0x6b8]
cmp dword [rax + 4], 2
je 0x1400f7bec
mov rax, qword [rbp + 0x6b8]
cmp qword [rax + 0x24], 0
jne 0x1400f7bd8
jmp 0x1400f80fd
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
jmp 0x1400f7bad
mov rax, qword [rbp + 0x6b8]
mov ecx, dword [rax]
call fcn.1400cd696
mov dword [rbp + 0x6d4], eax
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x240], 0
mov dword [rbp + 0x470], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x6b8]
mov rcx, qword [rcx + 0x1c]
mov qword [rbp + rax + 0x18], rcx
mov dword [rbp + 0x10], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x6b8]
mov rcx, qword [rcx + 0x1c]
mov qword [rbp + rax + 0x248], rcx
mov dword [rbp + 0x240], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x6b8]
mov rcx, qword [rcx + 0x1c]
mov qword [rbp + rax + 0x478], rcx
mov dword [rbp + 0x470], 1
lea rax, [rbp + 0x698]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x240]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x470]
xor ecx, ecx
call fcn.1400ce708
mov rax, qword [rbp + 0x6b8]
cmp dword [rax + 0x10], 2
jne 0x1400f7df9
lea rdx, [rbp + 0x470]
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c919a
test eax, eax
je 0x1400f7df4
mov dword [rbp + 0x6f4], 1
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c914a
mov qword [rbp + 0x718], rax
lea r8, [rbp + 0x6f4]
mov edx, 0x8004667e
mov rcx, qword [rbp + 0x718]
call fcn.1400ce5aa
cmp eax, 0xffffffff
jne 0x1400f7d30
mov rcx, qword [rbp + 0x718]
call fcn.1400ccd7c
jmp 0x1400f80fd
call fcn.1400cf23e
mov dword [rbp + 0x734], eax
mov eax, dword [rbp + 0x734]
mov dword [rbp + 0x6d4], eax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x2bf20
mov rdx, qword [rbp + 0x718]
mov ecx, dword [rbp + 0x734]
call fcn.1400ca22a
mov edx, 0x80
lea rcx, [rbp + 0x758]
call fcn.1400c92cb
mov edx, dword [rbp + 0x734]
lea rcx, [rbp + 0x758]
call fcn.1400cccfa
mov rax, qword [rbp + 0x6b8]
mov edx, dword [rax + 0x14]
lea rcx, [rbp + 0x758]
call fcn.1400cccfa
lea rcx, [rbp + 0x758]
call fcn.1400ce4ce
mov dword [rbp + 0x784], eax
lea rcx, [rbp + 0x758]
call fcn.1400ca991
mov qword [rbp + 0x7a8], rax
mov r8d, reloc.WS2_32.dll_socket
mov edx, dword [rbp + 0x784]
mov rcx, qword [rbp + 0x7a8]
call fcn.1400ca400
lea rcx, [rbp + 0x758]
call fcn.1400cd515
jmp 0x1400f80da
mov rax, qword [rbp + 0x6b8]
cmp dword [rax + 0x10], 3
jne 0x1400f7ed5
lea rdx, [rbp + 0x470]
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c919a
test eax, eax
je 0x1400f7ed0
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c914a
mov qword [rbp + 0x7c8], rax
lea rax, [rbp + 0x7f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rdx, [rbp + 0x7f0]
mov rcx, qword [rbp + 0x7c8]
call fcn.1400cb440
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0x14]
or eax, 0x110000
mov dword [rbp + 0x844], eax
mov rax, qword [rbp + 0x820]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x818]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x810]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x808]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x800]
lea r8, [rbp + 0x7f0]
lea rdx, [rbp + 0x7f0]
mov ecx, dword [rbp + 0x844]
call fcn.1400ce046
jmp 0x1400f80da
lea rdx, [rbp + 0x240]
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c919a
test eax, eax
je 0x1400f7f3b
mov rax, qword [rbp + 0x6b8]
mov dword [rax + 4], 0
mov r8d, 4
mov edx, 4
lea rcx, [rbp + 0x6d4]
call fcn.1400ca400
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400f7f36
jmp 0x1400f80fd
jmp 0x1400f7bad
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c919a
test eax, eax
je 0x1400f7f9e
mov rax, qword [rbp + 0x6b8]
mov dword [rax + 4], 1
mov r8d, 6
mov edx, 4
lea rcx, [rbp + 0x6d4]
call fcn.1400ca400
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400f7f99
jmp 0x1400f80fd
jmp 0x1400f7bad
lea rdx, [rbp + 0x470]
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c919a
test eax, eax
jne 0x1400f804a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp + 0x6b8]
sub eax, dword [rcx + 0x18]
mov rcx, qword [rbp + 0x6b8]
cmp eax, dword [rcx + 8]
ja 0x1400f7fff
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400f7ffa
jmp 0x1400f80fd
jmp 0x1400f7bad
mov rax, qword [rbp + 0x6b8]
mov dword [rax + 4], 0
mov r8d, 4
mov edx, 4
lea rcx, [rbp + 0x6d4]
call fcn.1400ca400
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400f8045
jmp 0x1400f80fd
jmp 0x1400f7bad
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rax + 0x1c]
call fcn.1400c914a
mov qword [rbp + 0x868], rax
mov rax, qword [rbp + 0x6b8]
mov rcx, qword [rbp + 0x868]
mov qword [rax + 0x1c], rcx
cmp qword [rbp + 0x868], 0xffffffffffffffff
jne 0x1400f80a9
mov rax, qword [rbp + 0x6b8]
mov dword [rax + 4], 0
mov r8d, 4
mov edx, 4
lea rcx, [rbp + 0x6d4]
call fcn.1400ca400
jmp 0x1400f80ce
mov rax, qword [rbp + 0x6b8]
mov dword [rax + 4], 1
mov r8d, 6
mov edx, 4
lea rcx, [rbp + 0x6d4]
call fcn.1400ca400
mov rcx, qword [rbp + 0x868]
call fcn.1400ccd7c
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax + 0x24]
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400f80f8
jmp 0x1400f80fd
jmp 0x1400f7bad
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_htonl
call fcn.1400cdefc
mov rcx, qword [rbp + 0xc38]
xor rcx, rbp
call fcn.1400cbea4
lea rsp, [rbp + 0xc48]
pop rdi
pop rbp
ret