Function at 0x140011f20
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140184e80
sub rsp, rax
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rbp + 0x1170], rax
xor r14d, r14d
lea rax, [rbp + 0x970]
mov word [rbp + 0x970], r14w
mov rsi, rdx
mov rdi, rcx
mov r8d, 0x400
nop dword [rax]
cmp word [rax], r14w
je 0x140011f80
add rax, 2
sub r8, 1
jne 0x140011f70
mov eax, 0x400
sub rax, r8
test r8, r8
cmove rax, r14
je 0x140011fe1
mov edx, 0x400
lea rcx, [rbp + 0x970]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140011fd2
mov r9, rsi
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x140011fd2
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140011fd2
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140011fb1
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov ecx, 0x400
lea rax, [rbp + 0x970]
nop dword [rax]
cmp word [rax], r14w
je 0x140012000
add rax, 2
sub rcx, 1
jne 0x140011ff0
mov eax, 0x400
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14001231c
mov edx, 0x400
lea rcx, [rbp + 0x970]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140012061
lea r9, str..dll
mov eax, 0x7ffffffe
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140012061
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140012061
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140012040
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x14001231c
xor edx, edx
mov qword [rsp + 0x12a8], rbx
mov r8d, 0x250
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x970]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012314
mov word [rbp + 0x170], r14w
lea rcx, [rbp + 0x170]
mov edx, 0x400
cmp word [rcx], r14w
je 0x1400120d3
add rcx, 2
sub rdx, 1
jne 0x1400120c3
mov eax, 0x400
sub rax, rdx
test rdx, rdx
cmove rax, r14
je 0x140012134
mov edx, 0x400
lea rcx, [rbp + 0x170]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140012125
mov r9, rsi
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x140012125
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140012125
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140012104
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov ecx, 0x400
lea rax, [rbp + 0x170]
cmp word [rax], r14w
je 0x140012150
add rax, 2
sub rcx, 1
jne 0x140012140
mov eax, 0x400
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x1400121c4
mov edx, 0x400
lea rcx, [rbp + 0x170]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x1400121a4
lea r9, [rsp + 0x4c]
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x1400121a4
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400121a4
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140012183
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x1400121c4
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.140011c10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001230b
nop word [rax + rax]
mov word [rbp + 0x170], r14w
lea rax, [rbp + 0x170]
mov ecx, 0x400
cmp word [rax], r14w
je 0x140012204
add rax, 2
sub rcx, 1
jne 0x1400121f4
mov eax, 0x400
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x140012265
mov edx, 0x400
lea rcx, [rbp + 0x170]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140012256
mov r9, rsi
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x140012256
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140012256
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140012235
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov ecx, 0x400
lea rax, [rbp + 0x170]
cmp word [rax], r14w
je 0x140012281
add rax, 2
sub rcx, 1
jne 0x140012271
mov eax, 0x400
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x1400122f5
mov edx, 0x400
lea rcx, [rbp + 0x170]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x1400122d5
lea r9, [rsp + 0x4c]
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x1400122d5
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400122d5
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400122b4
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x1400122f5
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.140011c10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400121e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x12a8]
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.140183d70
mov rsi, qword [rsp + 0x12b0]
add rsp, 0x1280
pop r14
pop rdi
pop rbp
ret