Function at 0x140015828
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x1290
call fcn.1400baa60
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x12b8], rbx
mov qword [rsp + 0x12c0], rbp
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1280], rax
mov rbx, rcx
xor ebp, ebp
cmp byte [rcx], bpl
jne 0x140015ad1
mov byte [rcx], 1
mov dword [rcx + 0x408], ebp
mov ecx, 0x53a0
call fcn.1400a9554
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x14001589d
mov rcx, rax
call fcn.140013d30
mov r11, rax
jmp 0x1400158a0
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], r11
mov ecx, 8
call fcn.1400a9554
mov r11, rax
cmp rax, rbp
je 0x1400158c9
lea rax, [0x1400c3a40]
mov qword [r11], rax
jmp 0x1400158cc
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
mov ecx, 0x30
call fcn.1400a9554
mov rdi, rax
mov qword [rsp + 0x20], rax
lea r14, [0x1400c3700]
cmp rax, rbp
je 0x140015911
mov qword [rax], r14
lea rax, [0x1400c3c78]
mov qword [rdi], rax
mov qword [rdi + 8], rbp
jmp 0x140015914
mov rdi, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], rdi
mov ecx, 0x10
call fcn.1400a9554
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015946
lea rax, [0x1400c3ce0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x140015949
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdi, str.Formats.fmt
lea rcx, [rsp + 0x280]
call fcn.140052af8
movzx ecx, word [rdi]
mov word [rax], cx
add rdi, 2
add rax, 2
cmp cx, bp
jne 0x140015987
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 0x140015ac8
mov rdx, rbp
movzx ecx, word [rsp + rdx + 0x280]
mov word [rsp + rdx + 0xa80], cx
add rdx, 2
cmp cx, bp
jne 0x1400159c3
lea rdi, [rsp + 0x5c]
lea rcx, [rsp + 0xa80]
call fcn.140052af8
movzx ecx, word [rdi]
mov word [rax], cx
add rdi, 2
add rax, 2
cmp cx, bp
jne 0x1400159ee
mov ecx, 0xa28
call fcn.1400a9554
mov rdi, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015a38
mov qword [rax], r14
lea rax, [0x1400c3aa8]
mov qword [rdi], rax
mov word [rdi + 8], bp
mov qword [rdi + 0x808], rbp
mov dword [rdi + 0xa20], ebp
jmp 0x140015a3b
mov rdi, rbp
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa80]
mov rcx, rdi
call fcn.140015680
cmp al, bpl
je 0x140015aa0
mov ecx, 0x10
call fcn.1400a9554
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015a7c
lea rax, [0x1400c39d0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x140015a7f
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 0x140015ab2
cmp rdi, rbp
je 0x140015ab2
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 0x1400159c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x1280]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x1290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret