Function at 0x14003f498
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x4a0
mov rax, qword [0x14009b978]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rcx, qword [0x14009b020]
lea r14, [0x14009b020]
lea r15, [0x14008cd68]
cmp rcx, r14
je 0x14003f4fd
test byte [rcx + 0x1c], 4
je 0x14003f4fd
cmp byte [rcx + 0x19], 5
jb 0x14003f4fd
mov rcx, qword [rcx + 0x10]
mov edx, 0x5c
mov r8, r15
call fcn.1400042fc
mov r9, qword [0x14009f528]
lea r8, str._s.FQR
xor ebx, ebx
lea rcx, [rsp + 0x280]
mov edx, 0x104
mov edi, ebx
mov r9, qword [r9 + 0x60]
call fcn.140004280
test eax, eax
jns 0x14003f55a
mov rcx, qword [0x14009b020]
cmp rcx, r14
je 0x14003f553
test byte [rcx + 0x1c], 4
je 0x14003f553
cmp byte [rcx + 0x19], 2
jb 0x14003f553
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x5d]
mov r9d, eax
mov r8, r15
call fcn.140004328
xor eax, eax
jmp 0x14003f72b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003f5b8
mov rcx, qword [0x14009b020]
cmp rcx, r14
je 0x14003f5ae
test byte [rcx + 0x1c], 4
je 0x14003f5ae
cmp byte [rcx + 0x19], 3
jb 0x14003f5ae
mov r9, qword [0x14009f528]
lea edx, [rax + 0x5f]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov r9, qword [r9 + 0x60]
call fcn.1400044cc
mov eax, 1
jmp 0x14003f72b
mov r9, qword [0x14009f528]
lea rax, [rsp + 0x5c]
lea r8, [0x14008b500]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x280]
mov r9, qword [r9 + 0x60]
call fcn.140004280
test eax, eax
jns 0x14003f627
mov rcx, qword [0x14009b020]
cmp rcx, r14
je 0x14003f6b1
test byte [rcx + 0x1c], 4
je 0x14003f6b1
cmp byte [rcx + 0x19], 2
jb 0x14003f6b1
mov rcx, qword [rcx + 0x10]
mov edx, 0x5f
mov r9d, eax
mov r8, r15
call fcn.140004328
jmp 0x14003f6b1
mov rcx, qword [0x14009b020]
cmp rcx, r14
je 0x14003f658
test byte [rcx + 0x1c], 4
je 0x14003f658
cmp byte [rcx + 0x19], 5
jb 0x14003f658
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x280]
mov edx, 0x60
mov r8, r15
call fcn.1400044cc
lea rcx, [rsp + 0x280]
call fcn.14003ee60
test eax, eax
jne 0x14003f6b6
mov rax, qword [0x14009b020]
cmp rax, r14
je 0x14003f6b1
test byte [rax + 0x1c], 4
je 0x14003f6b1
cmp byte [rax + 0x19], 2
jb 0x14003f6b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r9, [rsp + 0x280]
mov edx, 0x61
mov dword [rsp + 0x20], eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
mov edi, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003f5b8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x14003f724
mov rax, qword [0x14009b020]
cmp rax, r14
je 0x14003f724
test byte [rax + 0x1c], 4
je 0x14003f724
cmp byte [rax + 0x19], 2
jb 0x14003f724
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x62
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400018f0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret