Function at 0x14003c030
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov edx, 0x106
mov rcx, r8
mov ebx, r12d
call fcn.1400944a0
mov rsi, rax
test rax, rax
je 0x14003c2d0
mov qword [rsp + 0x2d8], rbp
mov edx, 0x104
mov rcx, rax
mov qword [rsp + 0x288], rdi
call fcn.140092dc0
mov edx, 0x107
mov rax, rsi
mov ecx, edx
nop
cmp word [rax], bx
je 0x14003c0af
add rax, 2
sub rcx, 1
jne 0x14003c0a0
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r12
je 0x14003c106
lea rcx, [rsi + rax*2]
sub rdx, rax
je 0x14003c0f7
lea r9, [0x1400c53f0]
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x14003c0f7
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14003c0f7
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x14003c0d6
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r12w
movzx ecx, word [rsi]
mov rax, rsi
mov rdi, rsi
test cx, cx
je 0x14003c135
cmp cx, 0x5c
je 0x14003c126
cmp cx, 0x2f
je 0x14003c126
add rax, 2
jmp 0x14003c12d
add rax, 2
mov rdi, rax
movzx ecx, word [rax]
test cx, cx
jne 0x14003c114
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14003c2b8
mov qword [rsp + 0x280], r13
lea r13, [fcn.14003b9b0]
nop
mov rax, qword [0x1400e3070]
test rax, rax
je 0x14003c176
test byte [rax + 0x70], 1
jne 0x14003c2a7
test byte [rsp + 0x20], 0x10
je 0x14003c205
cmp word [rsp + 0x4c], 0x2e
jne 0x14003c1aa
movzx eax, word [rsp + 0x4e]
cmp ax, 0x2e
jne 0x14003c19c
cmp word [rsp + 0x50], r12w
jmp 0x14003c19f
test ax, ax
sete al
test al, al
jne 0x14003c291
lea r8, [rsp + 0x4c]
mov edx, 0x104
sub r8, rdi
mov rcx, rdi
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14003c1e3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14003c1e3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14003c1c0
test rdx, rdx
lea rax, [rcx - 2]
mov r8, rsi
mov rdx, r15
cmovne rax, rcx
mov rcx, r14
mov word [rax], r12w
call fcn.14003c030
jmp 0x14003c28b
cmp r15, r13
jne 0x14003c240
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
shl rcx, 0x20
or rcx, rax
mov rax, qword [r14]
lea rdx, [rax + rcx]
cmp rdx, rax
jae 0x14003c232
add rax, rcx
mov ebx, 0x6f
mov qword [r14], rax
jmp 0x14003c28d
mov rax, rdx
mov ebx, r12d
add rax, rcx
mov qword [r14], rax
jmp 0x14003c28d
lea r8, [rsp + 0x4c]
mov edx, 0x104
sub r8, rdi
mov rax, rdi
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x14003c273
movzx ecx, word [r8 + rax]
test cx, cx
je 0x14003c273
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14003c250
test rdx, rdx
lea rcx, [rax - 2]
mov rdx, rsi
cmovne rcx, rax
mov word [rcx], r12w
mov rcx, r14
call r15
mov ebx, eax
test ebx, ebx
jne 0x14003c2a7
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003c160
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x280]
mov rcx, rsi
call fcn.140062970
mov rdi, qword [rsp + 0x288]
mov rbp, qword [rsp + 0x2d8]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140094850
add rsp, 0x290
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret