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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x5b8], rbx
mov rax, qword [0x1800420b0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rdx
mov qword [rbp], 0xf
xor r9d, r9d
mov qword [rbp - 8], r9
mov byte [rbp - 0x18], r9b
xor r8d, r8d
lea rdx, [0x18002b6d2]
lea rcx, [rbp - 0x18]
call fcn.1800018f0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call fcn.180014da0
cmp qword [rbx + 0x18], 8
jb 0x180007ee3
mov r8, qword [rbx]
jmp 0x180007ee6
mov r8, rbx
lea rcx, [rbp + 0x260]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007ef1
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180007f00
lea rax, [rbp + 0x260]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x180007f20
movsd xmm0, qword [0x18002bfa8]
movsd qword [rax], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180008024
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x180007faa
inc rax
mov rcx, qword [rbp - 0x18]
cmp rax, 0x1000
jb 0x180007fa5
test cl, 0x1f
je 0x180007f78
call fcn.180016040
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180007f87
call fcn.180016040
int3
sub rcx, rax
cmp rcx, 8
jae 0x180007f96
call fcn.180016040
int3
cmp rcx, 0x27
jbe 0x180007fa2
call fcn.180016040
int3
mov rcx, rax
call fcn.180011910
mov qword [rbp], 0xf
xor esi, esi
mov qword [rbp - 8], rsi
mov byte [rbp - 0x18], sil
cmp qword [rbx + 0x18], 8
jb 0x180007fd5
mov r8, qword [rbx + 0x18]
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1800021e0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180007feb
mov rbx, qword [rbx]
mov word [rbx], si
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x180008006
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1800021e0
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 8
jb 0x18000801c
mov rdi, qword [rdi]
mov word [rdi], si
jmp 0x1800083bb
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
mov qword [rbp - 0x40], 7
xor eax, eax
mov qword [rbp - 0x48], rax
mov word [rbp - 0x58], ax
test byte [rbp + 0x10], 0x10
je 0x180008284
cmp word [rbp + 0x3c], ax
jne 0x180008057
mov r8d, eax
jmp 0x18000806b
lea rax, [rbp + 0x3c]
mov r8, rcx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180008060
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 0x58]
call fcn.180002090
nop
lea rcx, [rbp - 0x58]
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x40]
cmp r10, 8
cmovae rcx, r11
mov r8d, 1
mov r9, qword [rbp - 0x48]
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x1800080e0
lea rdx, [0x18002bfa0]
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1800080c8
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x1800080b0
jmp 0x1800080e0
mov r8d, 1
cmp word [rcx], ax
mov rcx, 0xffffffffffffffff
cmovb r8d, ecx
xor eax, eax
jmp 0x1800080e5
xor eax, eax
mov r8d, eax
test r8d, r8d
jne 0x1800080f4
cmp r9, 1
je 0x18000826e
lea rcx, [rbp - 0x58]
cmp r10, 8
cmovae rcx, r11
mov r8d, 2
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x180008152
lea rdx, [0x18002bfb0]
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x18000813a
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x180008120
xor eax, eax
jmp 0x180008152
mov r8d, 1
cmp word [rcx], ax
mov rcx, 0xffffffffffffffff
cmovb r8d, ecx
xor eax, eax
jmp 0x180008159
or rcx, 0xffffffffffffffff
mov r8d, eax
test r8d, r8d
jne 0x18000817d
cmp r9, 2
jae 0x180008169
mov r8d, ecx
jmp 0x180008174
mov r8d, eax
cmp r9, 2
seta r8b
test r8d, r8d
je 0x18000826e
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rax
mov word [rbp - 0x38], ax
mov r9, rcx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.180001f50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.180001e20
mov r8d, 1
lea rdx, [0x18002b8dc]
lea rcx, [rbp - 0x38]
call fcn.1800054d0
cmp dword [rsp + 0x30], 0
jne 0x18000824c
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x58], 7
xor eax, eax
mov qword [rsp + 0x50], rax
mov word [rsp + 0x40], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180001f50
nop
mov qword [rsp + 0x78], 7
xor eax, eax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x60], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.180001f50
nop
xor r9d, r9d
mov dword [rsp + 0x20], r9d
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180007e50
nop
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x180008266
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1800021e0
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x40]
cmp r10, 8
jb 0x18000837a
lea r8, [r10 + 1]
mov rdx, r11
jmp 0x180008371
cmp word [rbp + 0x3c], ax
jne 0x18000828f
mov r8, rax
jmp 0x1800082ab
lea rax, [rbp + 0x3c]
mov r8, rcx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800082a0
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 0x58]
call fcn.180002090
nop
mov rcx, rdi
call fcn.1800085b0
cmp word [rax], 0
jne 0x1800082cc
xor r9d, r9d
jmp 0x1800082db
or r9, 0xffffffffffffffff
inc r9
cmp word [rax + r9*2], 0
jne 0x1800082d0
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1800085c0
xor edx, edx
mov ecx, edx
cmp rax, 0xffffffffffffffff
mov eax, 1
cmovne ecx, eax
test ecx, ecx
je 0x180008360
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rdx
mov word [rbp - 0x38], dx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.180001f50
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.180001e20
lea rdx, [rbp - 0x38]
mov rcx, qword [rsp + 0x38]
call fcn.1800086e0
nop
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x180008360
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1800021e0
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x18000837a
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1800021e0
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rcx, 0xffffffffffffffff
jne 0x180008030
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x18]
call fcn.1800013f0
nop
mov rcx, rbx
call fcn.180001b30
nop
mov rcx, rdi
call fcn.180001b30
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.180011e50
mov rbx, qword [rsp + 0x5b8]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret