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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
xor ebx, ebx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140007580
nop
lea rdx, [0x1400132b4]
lea rcx, [rsp + 0x48]
call fcn.140007bd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140004f57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010020
movdqa xmm0, xmmword [0x140014570]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140004faf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004faa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004faa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010020
movdqa xmm0, xmmword [0x140014570]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
cmp rdi, 0xffffffffffffffff
je 0x140005140
movdqa xmm1, xmmword [0x140014570]
movdqu xmmword [rbp + 0x1d0], xmm1
mov word [rbp + 0x1c0], bx
mov bl, 1
lea r14, [0x1400132c0]
test bl, bl
jne 0x14000500f
lea rdx, [0x1400132bc]
lea rcx, [rbp + 0x1c0]
call fcn.140007bd0
jmp 0x140005011
xor bl, bl
test byte [rsp + 0x70], 0x10
lea rdx, str._FILE_
cmovne rdx, r14
lea rcx, [rbp + 0x1c0]
call fcn.140007bd0
lea rdx, [rbp - 0x64]
lea rcx, [rbp + 0x1c0]
call fcn.140007bd0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004ff6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x1e0]
call fcn.1400029f0
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rdx, qword [rbp + 0x1e0]
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 0x1400050d9
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010020
movdqa xmm0, xmmword [0x140014580]
movdqu xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x1400051d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d0], xmm1
mov r8d, 0x21
lea rdx, str.Failed_to_list_directory_contents
lea rcx, [rbp + 0x1c0]
call fcn.140009030
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
xor r9d, r9d
mov r8d, dword [rbp + 0x1d0]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x1400051d2
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010020
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14000fa10
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret