Function at 0x140092a50
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rcx
xor r15d, r15d
mov ebx, r15d
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
lea rdx, [rcx + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.140007f64
nop
lea rdx, [0x1400c0040]
lea rcx, [rsp + 0x70]
call fcn.140006ec8
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140092cb8
lea rdx, [0x1400ab718]
lea esi, [r15 + 0x20]
mov ecx, esi
call fcn.1400a0e74
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140092b25
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
jmp 0x140092b28
mov rax, r15
mov qword [rdi + 0x50], rax
lea rdx, [0x1400ab718]
mov rcx, rsi
call fcn.1400a0e74
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140092b53
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
jmp 0x140092b56
mov rax, r15
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140092c61
lea rdx, [0x1400acc48]
lea rcx, [rbp - 0x34]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140092c8c
lea rdx, [0x1400acd50]
lea rcx, [rbp - 0x34]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140092c8c
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x40]
call fcn.140006ec8
mov ecx, dword [rbp - 0x60]
mov dword [rsp + 0x68], ecx
mov eax, dword [rbp - 0x3c]
mov dword [rsp + 0x6c], eax
test cl, 0x10
je 0x140092bf0
mov rcx, qword [rdi + 0x50]
jmp 0x140092bf4
mov rcx, qword [rdi + 0x58]
lea rdx, [rsp + 0x40]
call fcn.1400931b8
mov dword [rsp + 0x68], r15d
lea rcx, [rsp + 0x48]
mov r9, qword [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, r9
mov rax, qword [rsp + 0x58]
lea r8, [rcx + rax*2]
lea rax, [rsp + 0x48]
cmovae rax, r9
lea rcx, [rsp + 0x48]
cmovae rcx, r9
test rax, rax
jne 0x140092c3c
mov rdx, r15
jmp 0x140092c45
mov rdx, rax
sub rdx, rcx
sar rdx, 1
test r8, r8
jne 0x140092c4f
mov r8, r15
jmp 0x140092c55
sub r8, rax
sar r8, 1
lea rcx, [rsp + 0x40]
call fcn.140007b84
jmp 0x140092c8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140092c94
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test esi, esi
jne 0x140092b6e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x60], 8
jb 0x140092cd2
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
jmp 0x140092cd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140092d07
lea rcx, [rdi + 0x30]
cmp qword [rdi + 0x48], 8
jb 0x140092ce4
mov rcx, qword [rcx]
lea rax, [0x1400ac3ac]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.error
lea rdx, str.Folder_traversal
call fcn.14009d04c
nop
cmp qword [rbp - 0x70], 8
jb 0x140092d18
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_free
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400a0610
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret