Function at 0x1400180ac
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x2290
call fcn.1400d8110
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x22b8], rbx
mov qword [rsp + 0x22c0], rbp
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2280], rax
mov rbx, rcx
xor ebp, ebp
cmp byte [rcx], bpl
jne 0x14001833b
mov byte [rcx], 1
mov dword [rcx + 0x408], ebp
mov ecx, 0xa430
call fcn.1400c78c8
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140018121
mov rcx, rax
call fcn.140016420
mov r11, rax
jmp 0x140018124
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], r11
mov ecx, 8
call fcn.1400c78c8
mov r11, rax
cmp rax, rbp
je 0x14001814d
lea rax, [0x1400e0c50]
mov qword [r11], rax
jmp 0x140018150
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
mov ecx, 0x38
call fcn.1400c78c8
mov rdi, rax
mov qword [rsp + 0x20], rax
lea r14, [0x1400e09f8]
cmp rax, rbp
je 0x140018195
mov qword [rax], r14
lea rax, [0x1400e0eb8]
mov qword [rdi], rax
mov qword [rdi + 8], rbp
jmp 0x140018198
mov rdi, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], rdi
mov ecx, 0x10
call fcn.1400c78c8
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x1400181ca
lea rax, [0x1400e10a0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x1400181cd
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
mov r8d, 0x800
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x800
lea rdx, str.Formats.fmt
lea rcx, [rsp + 0x280]
call fcn.1400617d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
sete cl
cmp cl, bpl
jne 0x140018332
mov rdx, rbp
movzx ecx, word [rsp + rdx + 0x280]
mov word [rsp + rdx + 0x1280], cx
add rdx, 2
cmp cx, bp
jne 0x14001823a
mov r8d, 0x800
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x1280]
call fcn.1400617d0
mov ecx, 0x1228
call fcn.1400c78c8
mov rdi, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x1400182a2
mov qword [rax], r14
lea rax, [0x1400e0cb8]
mov qword [rdi], rax
mov word [rdi + 8], bp
mov qword [rdi + 0x1008], rbp
mov dword [rdi + 0x1220], ebp
jmp 0x1400182a5
mov rdi, rbp
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x1280]
mov rcx, rdi
call fcn.140017efc
cmp al, bpl
je 0x14001830a
mov ecx, 0x10
call fcn.1400c78c8
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x1400182e6
lea rax, [0x1400e0be0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x1400182e9
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], rdi
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
jmp 0x14001831c
cmp rdi, rbp
je 0x14001831c
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebp
jne 0x140018237
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x2280]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x2290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret