Function at 0x140034dd8
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 [0x140096940]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rcx, qword [str.___t_]
lea r14, str.___t_
lea r15, [0x1400836a8]
cmp rcx, r14
je 0x140034e3d
test byte [rcx + 0x1c], 4
je 0x140034e3d
cmp byte [rcx + 0x19], 5
jb 0x140034e3d
mov rcx, qword [rcx + 0x10]
mov edx, 0x3b
mov r8, r15
call fcn.140001010
mov r9, qword [0x14009a428]
lea r8, str._s.FQP
xor ebx, ebx
lea rcx, [rsp + 0x280]
mov edx, 0x104
mov edi, ebx
mov r9, qword [r9 + 0x60]
call fcn.14000292c
test eax, eax
jns 0x140034e9a
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140034e93
test byte [rcx + 0x1c], 4
je 0x140034e93
cmp byte [rcx + 0x19], 2
jb 0x140034e93
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x3c]
mov r9d, eax
mov r8, r15
call fcn.140001030
xor eax, eax
jmp 0x14003504d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140034ef2
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140034ee8
test byte [rcx + 0x1c], 4
je 0x140034ee8
cmp byte [rcx + 0x19], 3
jb 0x140034ee8
mov r9, qword [0x14009a428]
lea edx, [rax + 0x3e]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov r9, qword [r9 + 0x60]
call fcn.1400011f0
mov eax, 1
jmp 0x14003504d
mov r9, qword [0x14009a428]
lea rax, [rsp + 0x5c]
lea r8, [0x140081e40]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x280]
mov r9, qword [r9 + 0x60]
call fcn.14000292c
test eax, eax
jns 0x140034f61
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140034fe5
test byte [rcx + 0x1c], 4
je 0x140034fe5
cmp byte [rcx + 0x19], 2
jb 0x140034fe5
mov rcx, qword [rcx + 0x10]
mov edx, 0x3e
mov r9d, eax
mov r8, r15
call fcn.140001030
jmp 0x140034fe5
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140034f92
test byte [rcx + 0x1c], 4
je 0x140034f92
cmp byte [rcx + 0x19], 5
jb 0x140034f92
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x280]
mov edx, 0x3f
mov r8, r15
call fcn.1400011f0
lea rcx, [rsp + 0x280]
call fcn.140034b94
test eax, eax
jne 0x140034fea
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140034fe5
test byte [rax + 0x1c], 4
je 0x140034fe5
cmp byte [rax + 0x19], 2
jb 0x140034fe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r9, [rsp + 0x280]
mov edx, 0x40
mov dword [rsp + 0x20], eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001250
mov edi, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034ef2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x140035046
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140035046
test byte [rax + 0x1c], 4
je 0x140035046
cmp byte [rax + 0x19], 2
jb 0x140035046
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x41
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400786e0
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