Function at 0x14001c270
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
test r8b, r8b
je 0x14001c2de
mov rdx, qword [rdx + 0x18]
jmp 0x14001c3d6
lea rcx, [rsp + 0x60]
call fcn.140008de0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001c348
lea rax, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
cmovae rax, r8
cmp byte [rcx + rax - 1], 0x5c
je 0x14001c348
cmp rcx, rdx
jae 0x14001c334
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 0x10
cmovae rax, r8
mov word [rax + rcx], 0x5c
jmp 0x14001c348
mov r9b, 0x5c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x60]
call fcn.14000b5f0
mov r8d, 1
lea rdx, [0x140070ad0]
lea rcx, [rsp + 0x60]
call fcn.14000a0c0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140008de0
mov rcx, rax
call fcn.14001b540
mov rsi, rax
test rax, rax
jne 0x14001c444
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14001c3bf
inc rdx
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001c3ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5fd
call fcn.140035d80
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14001c40c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001c407
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c603
mov rcx, r8
call fcn.140035d80
mov byte [rdi], 0
mov qword [rdi + 0x18], recv
mov rax, rbx
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140035d60
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14001c470
call fcn.140035d80
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14001c382
call fcn.140035d80
lea rcx, [rbp - 0x34]
call fcn.140047bd0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14001b6a0
nop
mov r9, qword [rbp - 0x68]
cmp r9, 0x10
setae dl
mov rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x14001c5c5
lea rax, [rbp - 0x80]
test dl, dl
cmovne rax, rcx
cmp r8, 1
jne 0x14001c4ca
cmp byte [rax], 0x2e
jne 0x14001c4c1
mov eax, r15d
jmp 0x14001c4c6
sbb eax, eax
or eax, 1
test eax, eax
je 0x14001c4f3
lea rax, [rbp - 0x80]
test dl, dl
cmovne rax, rcx
cmp r8, 2
jne 0x14001c4fd
cmp byte [rax], 0x2e
jne 0x14001c4ea
cmp byte [rax + 1], 0x2e
jne 0x14001c4ea
mov eax, r15d
jmp 0x14001c4ef
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14001c4fd
test dl, dl
je 0x14001c565
lea rdx, [r9 + 1]
jmp 0x14001c53b
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x14001c51a
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140008de0
add qword [rbx + 8], 0x20
jmp 0x14001c52a
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, rbx
call fcn.14001fbc0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14001c565
inc rdx
mov rcx, qword [rbp - 0x80]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001c560
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5f7
call fcn.140035d80
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001c475
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14001c3bf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c3ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5fd
jmp 0x14001c3ba
cmp r9, 0x10
jb 0x14001c57a
lea rdx, [r9 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5f7
call fcn.140035d80
jmp 0x14001c57a
call fcn.140047b50
nop
call fcn.140047b50
nop
call fcn.140047b50
int3