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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rdx
xor esi, esi
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140006c20
nop
lea rdx, [0x140011fb4]
lea rcx, [rsp + 0x48]
call fcn.140007240
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], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
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 rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400048a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000489c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000489c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
movdqa xmm0, xmmword [0x140012fa0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400048f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
movdqa xmm0, xmmword [0x140012fa0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
cmp rbx, 0xffffffffffffffff
je 0x140004a82
movdqa xmm1, xmmword [0x140012fa0]
movdqu xmmword [rbp + 0x1d0], xmm1
mov word [rbp + 0x1c0], si
lea rsi, str._DIR_
nop
test byte [rsp + 0x70], 0x10
lea rdx, str._FILE_
cmovne rdx, rsi
lea rcx, [rbp + 0x1c0]
call fcn.140007240
lea rdx, [rbp - 0x64]
lea rcx, [rbp + 0x1c0]
call fcn.140007240
lea rdx, [0x140011fe0]
lea rcx, [rbp + 0x1c0]
call fcn.140007240
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004940
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x1e0]
call fcn.140002aa0
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 [rdi]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x140004a1b
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
movdqa xmm0, xmmword [0x140012fb0]
movdqu xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x140004b14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b0f
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.140008830
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 [rdi]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140004b14
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14000e460
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret