Function at 0x1400157f8
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x1290
call fcn.1400ba8b0
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 0x140015aa1
mov byte [rcx], 1
mov dword [rcx + 0x408], ebp
mov ecx, 0x5370
call fcn.1400a93a4
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x14001586d
mov rcx, rax
call fcn.140013cfc
mov r11, rax
jmp 0x140015870
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], r11
mov ecx, 8
call fcn.1400a93a4
mov r11, rax
cmp rax, rbp
je 0x140015899
lea rax, [0x1400c3a40]
mov qword [r11], rax
jmp 0x14001589c
mov r11, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 0x208], r11
inc dword [rbx + 0x408]
mov ecx, 0x30
call fcn.1400a93a4
mov rdi, rax
mov qword [rsp + 0x20], rax
lea r14, [0x1400c3700]
cmp rax, rbp
je 0x1400158e1
mov qword [rax], r14
lea rax, [0x1400c3c78]
mov qword [rdi], rax
mov qword [rdi + 8], rbp
jmp 0x1400158e4
mov rdi, rbp
mov eax, dword [rbx + 0x408]
mov qword [rbx + rax*8 + 8], rdi
mov ecx, 0x10
call fcn.1400a93a4
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015916
lea rax, [0x1400c3ce0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x140015919
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.140052abc
movzx ecx, word [rdi]
mov word [rax], cx
add rdi, 2
add rax, 2
cmp cx, bp
jne 0x140015957
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 0x140015a98
mov rdx, rbp
movzx ecx, word [rsp + rdx + 0x280]
mov word [rsp + rdx + 0xa80], cx
add rdx, 2
cmp cx, bp
jne 0x140015993
lea rdi, [rsp + 0x5c]
lea rcx, [rsp + 0xa80]
call fcn.140052abc
movzx ecx, word [rdi]
mov word [rax], cx
add rdi, 2
add rax, 2
cmp cx, bp
jne 0x1400159be
mov ecx, 0xa28
call fcn.1400a93a4
mov rdi, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015a08
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 0x140015a0b
mov rdi, rbp
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa80]
mov rcx, rdi
call fcn.140015650
cmp al, bpl
je 0x140015a70
mov ecx, 0x10
call fcn.1400a93a4
mov r11, rax
mov qword [rsp + 0x20], rax
cmp rax, rbp
je 0x140015a4c
lea rax, [0x1400c39d0]
mov qword [r11], rax
mov qword [r11 + 8], rdi
jmp 0x140015a4f
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 0x140015a82
cmp rdi, rbp
je 0x140015a82
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 0x140015990
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x1280]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret