Function at 0x14000cf20
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x960
xor r14d, r14d
mov r13, rdx
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, 0x105
mov esi, r14d
mov edi, r14d
mov r12d, r14d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x14000cf92
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov r11d, 0x105
lea rax, [rsp + 0x30]
nop dword [rax]
cmp word [rax], si
je 0x14000d007
add rax, 2
dec r11
jne 0x14000cf80
movsxd rbx, esi
test esi, esi
je 0x14000cfc4
nop dword [rax]
mov r8, qword [rdi + rbx*8 - 8]
dec rbx
test r8, r8
je 0x14000cfbf
mov rcx, qword [0x14001e780]
mov edx, 8
call qword [0x14001e798]
test rbx, rbx
jne 0x14000cfa0
test rdi, rdi
je 0x14000cfde
mov rcx, qword [0x14001e780]
mov r8, rdi
mov edx, 8
call qword [0x14001e798]
mov dword [r13], r14d
mov rax, r14
lea r11, [rsp + 0x960]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
test r11, r11
je 0x14000cf92
mov ebx, 0x105
mov ecx, 0x105
lea rax, [rsp + 0x30]
sub rbx, r11
nop
cmp word [rax], si
je 0x14000d033
add rax, 2
dec rcx
jne 0x14000d020
jmp 0x14000cf92
test rcx, rcx
je 0x14000cf92
mov edx, 0x105
mov r10d, r14d
sub rdx, rcx
mov ecx, 0x105
sub rcx, rdx
lea rax, [rsp + rdx*2 + 0x30]
je 0x14000d08f
lea r9, [0x14001a288]
lea rdx, [rcx + rdx + 0x7ffffefa]
sub r9, rax
test rdx, rdx
je 0x14000d08a
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x14000d08a
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x14000d068
jmp 0x14000d08f
test rcx, rcx
jne 0x14000d099
sub rax, 2
mov r10d, 0x8007007a
mov word [rax], r14w
test r10d, r10d
js 0x14000cf92
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000cf92
movsxd rcx, ebx
mov rbx, r14
mov word [rsp + rcx*2 + 0x30], r14w
test byte [rsp + 0x310], 0x10
jne 0x14000d1e9
inc esi
mov rdx, rdi
add rbx, 8
movsxd rcx, esi
shl rcx, 3
call fcn.14000e210
mov rdi, rax
test rax, rax
je 0x14000d214
xor edx, edx
mov ecx, 0x208
call fcn.14000e210
mov qword [rbx + rdi - 8], rax
test rax, rax
je 0x14000d214
mov rcx, qword [str.QLrpNI]
lea rdx, [rsp + 0x560]
call fcn.14000deb0
movzx eax, byte [rsp + 0x560]
lea r11, [rsp + 0x560]
lea rcx, [rsp + 0x240]
test al, al
je 0x14000d166
nop dword [rax + rax]
movsx eax, al
inc r11
add rcx, 2
mov word [rcx - 2], ax
movzx eax, byte [r11]
test al, al
jne 0x14000d150
mov word [rcx], r14w
mov rcx, qword [rbx + rdi - 8]
lea rax, [rsp + 0x33c]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x240]
mov edx, 0x105
mov qword [rsp + 0x20], rax
call fcn.140002880
test eax, eax
jns 0x14000d1e9
mov r8, qword [rbx + rdi - 8]
sub rbx, 8
dec esi
test r8, r8
je 0x14000d1b9
mov rcx, qword [0x14001e780]
mov edx, 8
call qword [0x14001e798]
test esi, esi
je 0x14000d1d1
movsxd rcx, esi
mov rdx, rdi
shl rcx, 3
call fcn.14000e210
mov rdi, rax
jmp 0x14000d1e9
mov rcx, qword [0x14001e780]
mov r8, rdi
mov edx, 8
call qword [0x14001e798]
mov rdi, r14
lea rdx, [rsp + 0x310]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000d0d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, 0x12
cmove r12d, ecx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
test r12d, r12d
je 0x14000cf92
mov dword [r13], esi
mov rax, rdi
jmp 0x14000cfe5