Function at 0x180001fe0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r12, rdx
mov r15, rcx
mov rcx, r12
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x18000207d
mov rsi, qword [r15]
lea r8, [rsp + 0x50]
xor edi, edi
mov dword [rsp + 0x58], 2
mov rcx, rsi
mov dword [rsp + 0x50], edi
mov edx, 0x8004667e
lea ebx, [rax + 5]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
nop dword [rax]
movsxd rax, edi
lea rdx, [rsp + 0x58]
add rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x180002076
add edi, eax
sub ebx, eax
test ebx, ebx
jg 0x180002050
xor eax, eax
jmp 0x1800022b3
mov rcx, rax
mov qword [rsp + 0x730], r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x60]
mov rdx, 0xffffffffffffffff
mov ecx, dword [rsp + 0x7c]
mov dword [rbp + 0xa0], eax
mov rax, qword [rsp + 0x64]
mov qword [rbp + 0xa4], rax
mov rax, qword [rsp + 0x6c]
mov qword [rbp + 0xac], rax
mov rax, qword [rsp + 0x74]
mov qword [rbp + 0xb4], rax
mov eax, dword [rbp - 0x80]
shl rcx, 0x20
add rcx, rax
lea rax, [rbp - 0x74]
mov qword [rbp + 0xc0], rcx
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1800020e0
inc rdx
lea r8, [rbp - 0x74]
lea rcx, [rbp + 0xc8]
call fcn.18001ac84
mov r14, qword [r15]
lea r8, [rsp + 0x58]
xor edi, edi
mov edx, 0x8004667e
mov rcx, r14
mov dword [rsp + 0x50], edi
mov esi, edi
mov dword [rsp + 0x58], edi
lea ebx, [rdi + 4]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
movsxd rax, esi
lea rdx, [rsp + 0x50]
add rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x180002147
add esi, eax
sub ebx, eax
test ebx, ebx
jg 0x180002121
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x2e0]
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov r8d, 3
mov qword [rsp + 0x20], 0x100
mov rcx, r12
call fcn.18001c0f4
lea r9, [rbp + 0x2e0]
lea r8, [rsp + 0x50]
lea rdx, str._s_s
lea rcx, [rbp + 0x1d0]
call fcn.1800029c0
lea r8, [r15 + 0x10]
lea rdx, [0x180045950]
lea rcx, [rsp + 0x60]
call fcn.1800029c0
lea rdx, [r15 + 0x10]
lea rcx, [rbp + 0x1d0]
call fcn.180004250
movsxd rcx, eax
cmp byte [rcx + r15 + 0xf], 0x5c
jne 0x1800021e8
mov byte [rcx + r15 + 0xf], dil
lea r9, [rbp + 0x3e0]
lea r8, [rbp + 0x4e0]
lea rdx, str._s_s
lea rcx, [rbp + 0x1d0]
call fcn.1800029c0
mov rax, qword [r15]
lea rdx, [rbp + 0x1d0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.180001d00
lea rdx, [r15 + 0x10]
mov r14d, eax
lea rcx, [rsp + 0x60]
call fcn.180004250
movsxd rcx, eax
cmp byte [rcx + r15 + 0xf], 0x5c
jne 0x180002244
mov byte [rcx + r15 + 0xf], dil
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x104
call fcn.1800388f0
mov rsi, qword [r15]
lea r8, [rsp + 0x58]
mov rcx, rsi
mov dword [rsp + 0x58], edi
mov edx, 0x8004667e
mov ebx, 0x2c
call qword [sym.imp.WS2_32.dll_ioctlsocket]
nop word [rax + rax]
movsxd rax, edi
lea rdx, [rbp + 0x1d0]
add rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x1800022a8
add edi, eax
sub ebx, eax
test ebx, ebx
jg 0x180002280
mov eax, r14d
mov r14, qword [rsp + 0x730]
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.180011100
mov rbx, qword [rsp + 0x738]
add rsp, 0x6f0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret