Function at 0x1800026a0
Capabilities:
Get file attributes
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Set file attributes
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r12, rcx
lea r8, [rcx + 0x10]
mov r9, rdx
lea rcx, [rbp + 0x290]
lea rdx, [0x1800459b4]
call fcn.1800029c0
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov r15d, 0x80
lea rcx, [rbp + 0x290]
mov edx, r15d
mov esi, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor edi, edi
lea r8d, [r15 - 0x7e]
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0x290]
mov ebx, 4
mov dword [rsp + 0x28], r15d
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, esi
lea rcx, [rbp + 0x290]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1800028c0
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [r12]
lea r8, [rsp + 0x40]
mov rcx, r14
mov dword [rsp + 0x48], edi
mov edx, 0x8004667e
mov dword [rsp + 0x40], edi
mov esi, edi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
nop dword [rax + rax]
movsxd rax, esi
lea rdx, [rsp + 0x48]
add rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x1800027b6
add esi, eax
sub ebx, eax
test ebx, ebx
jg 0x180002790
mov rsi, qword [r12]
mov ebx, edi
nop dword [rax]
xor r9d, r9d
mov qword [rbp + 0x88], rsi
xor r8d, r8d
mov dword [rbp + 0x80], 1
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x20], rdi
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x180002916
mov r8d, 0x2c
movsxd rax, ebx
lea rdx, [rsp + 0x50]
sub r8d, ebx
add rdx, rax
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x180002916
add ebx, eax
cmp ebx, 0x2c
jl 0x1800027c0
jne 0x180002916
mov edx, r15d
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov r8, qword [rsp + 0x70]
lea rdx, [rbp + 0x290]
mov rcx, qword [r12]
call fcn.18000c6d0
test eax, eax
je 0x180002916
test byte [rsp + 0x50], 0x10
lea rcx, [rbp + 0x290]
mov eax, 0x2000000
mov qword [rsp + 0x30], rdi
cmovne r15d, eax
mov edx, 0xc0000000
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 5]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800028b9
lea r9, [rsp + 0x64]
mov rcx, rax
lea r8, [rsp + 0x5c]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180002918
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [r12]
lea r8, [rsp + 0x48]
mov rcx, rsi
mov dword [rsp + 0x40], eax
mov edx, 0x8004667e
mov dword [rsp + 0x48], edi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
nop dword [rax + rax]
movsxd rax, edi
lea rdx, [rsp + 0x40]
add rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x180002916
add edi, eax
sub ebx, eax
test ebx, ebx
jg 0x1800028f0
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.180011100
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret