Function at 0x10009fea8
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x380
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x100142128]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rbx, rdx
xor ebp, ebp
mov edi, ebp
lea r8, [0x100001f74]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.100039e4c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.10004845c
nop
lea r8, [0x10000de70]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.100039e4c
nop
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.10002d1f0
nop
cmp qword [rsp + 0xf0], 8
jb 0x10009ff4f
mov rcx, qword [rsp + 0xd8]
cmp rcx, rbp
je 0x10009ff4f
call sub.msvcrt.dll_free
mov r12d, 7
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe8], rbp
mov word [rsp + 0xd8], bp
cmp qword [rsp + 0xc8], 8
jb 0x10009ff8a
mov rcx, qword [rsp + 0xb0]
cmp rcx, rbp
je 0x10009ff8a
call sub.msvcrt.dll_free
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xc0], rbp
mov word [rsp + 0xb0], bp
cmp qword [rsp + 0x48], 8
jb 0x10009ffb9
mov rcx, qword [rsp + 0x30]
cmp rcx, rbp
je 0x10009ffb9
call sub.msvcrt.dll_free
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
lea rcx, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae rcx, qword [rsp + 0x100]
lea rdx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1000a01e7
lea rdx, [rsp + 0x14c]
lea rcx, [rsp + 0xd0]
call fcn.10002d07c
nop
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1000049bc]
lea rcx, [rsp + 0xd0]
call fcn.1000481a8
cmp rax, 0xffffffffffffffff
jne 0x1000a0045
lea rcx, [rsp + 0xd0]
call fcn.10002d0d8
jmp 0x10009fffd
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xd0]
call fcn.100039c78
nop
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.10002d1f0
nop
cmp qword [rsp + 0x48], 8
jb 0x1000a0088
mov rcx, qword [rsp + 0x30]
cmp rcx, rbp
je 0x1000a0088
call sub.msvcrt.dll_free
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1000049bc]
lea rcx, [rsp + 0xa8]
call fcn.1000481a8
cmp rax, 0xffffffffffffffff
jne 0x1000a00da
lea rcx, [rsp + 0xa8]
call fcn.10002d0d8
nop
lea rcx, [rsp + 0xd0]
call fcn.10002d0d8
jmp 0x10009fffd
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa8]
call fcn.100039c78
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.10002d1f0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa8]
call fcn.10002cd2c
nop
lea rcx, [rsp + 0x80]
call fcn.10002d0d8
nop
cmp qword [rsp + 0x70], 8
jb 0x1000a0146
mov rcx, qword [rsp + 0x58]
cmp rcx, rbp
je 0x1000a0146
call sub.msvcrt.dll_free
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], rbp
mov word [rsp + 0x58], bp
mov dword [rsp + 0x20], ebp
mov ebx, ebp
mov r8d, 0xa
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa8]
call fcn.10009f1a4
cmp eax, ebp
jne 0x1000a0188
mov eax, 0x80000000
mov ecx, dword [rsp + 0x20]
add eax, ecx
cmp eax, 0xffffffff
cmovbe ebx, ecx
cmp ebx, edi
cmovg edi, ebx
lea rdx, [rsp + 0x120]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebp
je 0x1000a01c2
lea rcx, [rsp + 0xa8]
call fcn.10002d0d8
nop
lea rcx, [rsp + 0xd0]
call fcn.10002d0d8
jmp 0x10009fffd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0xa8]
call fcn.10002d0d8
nop
lea rcx, [rsp + 0xd0]
call fcn.10002d0d8
inc edi
movzx ebx, dil
lea rcx, [rsp + 0xf8]
call fcn.10002d0d8
mov eax, ebx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1000c8b30
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret