Function at 0x140010ff0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140074010]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov rdi, qword [rcx]
xor r13d, r13d
mov r15d, r13d
mov qword [rsp + 0x40], rcx
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], r13b
jne 0x140011040
xor edx, edx
mov qword [rsp + 0x2e8], rsi
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x60]
call fcn.140037fc0
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], ebx
test ebx, ebx
jne 0x1400110a1
mov eax, dword [0x14006946c]
lea rcx, [rbp + 0x100]
mov qword [rbp + 0xf0], rcx
mov dword [rbp + 0xfc], 0x20
mov dword [rbp + 0x100], eax
mov dword [rbp + 0xf8], 3
jmp 0x1400111bc
movsxd rax, ebx
mov ecx, r13d
mov rbx, 0xffffffffffffffff
movzx esi, byte [rax + rdi - 1]
lea rax, [rbp + 0x100]
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0xf8], ecx
mov dword [rbp + 0xfc], 0x20
mov byte [rbp + 0x100], cl
inc rbx
cmp byte [rdi + rbx], cl
jne 0x1400110d7
cmp ebx, 0x20
jl 0x14001110f
mov edx, 0x20
nop dword [rax]
add edx, edx
cmp edx, ebx
jle 0x1400110f0
lea rcx, [rbp + 0xf0]
call fcn.14002fa70
mov ecx, dword [rbp + 0xf8]
mov rax, qword [rbp + 0xf0]
movsxd rcx, ecx
mov rdx, rdi
movsxd r8, ebx
add rcx, rax
inc r8
call fcn.140039e10
mov dword [rbp + 0xf8], ebx
cmp sil, 0x5c
je 0x140011176
cmp sil, 0x2f
je 0x140011176
mov edx, dword [rbp + 0xfc]
lea edi, [rbx + 1]
cmp edx, edi
jg 0x14001115a
add edx, edx
cmp edx, edi
jle 0x140011142
lea rcx, [rbp + 0xf0]
call fcn.14002fa70
mov ebx, dword [rbp + 0xf8]
movzx eax, word [0x140069470]
movsxd rcx, ebx
mov ebx, edi
add rcx, qword [rbp + 0xf0]
mov word [rcx], ax
mov dword [rbp + 0xf8], ebx
mov edx, dword [rbp + 0xfc]
lea edi, [rbx + 1]
cmp edx, edi
jg 0x14001119b
add edx, edx
cmp edx, edi
jle 0x140011183
lea rcx, [rbp + 0xf0]
call fcn.14002fa70
mov ebx, dword [rbp + 0xf8]
movzx eax, word [0x140066540]
movsxd rcx, ebx
add rcx, qword [rbp + 0xf0]
mov word [rcx], ax
mov rcx, qword [rbp + 0xf0]
mov dword [rbp + 0xf8], edi
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400111f1
mov rcx, qword [rbp + 0xf0]
lea rdx, [rbp + 0x100]
cmp rcx, rdx
je 0x1400111e7
call fcn.14003e73c
mov eax, 0xffffffff
jmp 0x140011544
movaps xmmword [rsp + 0x2a0], xmm6
lea rcx, [rbp + 0x130]
movaps xmmword [rsp + 0x290], xmm7
mov r12d, 0x248
movsd xmm7, qword [0x14006b5c8]
mov qword [rbp + 0x120], rcx
mov dword [rbp + 0x12c], 0x20
mov byte [rbp + 0x130], r13b
lea rax, [rbp - 0x24]
mov qword [rbp - 0x80], rax
lea rsi, str.file_info
mov rax, 0xffffffffffffffff
lea rdx, [rbp - 0x24]
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], r13b
jne 0x140011250
mov dword [rbp + 0x128], r13d
lea rdx, [rbp + 0x120]
mov byte [rcx], r13b
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x78], eax
call fcn.14002b370
mov rcx, qword [rbp + 0x120]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], r13b
jne 0x140011285
call fcn.140029250
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.14002aed0
mov rdx, rbx
mov rcx, r15
call fcn.140022520
xor edx, edx
mov rcx, rbx
mov r15, rax
call fcn.14002aed0
mov rbx, qword [0x140086b38]
mov rdi, qword [rax + 8]
test rbx, rbx
jne 0x140011340
cmp byte [0x140074c5e], r13b
je 0x1400112fe
mov rax, qword [0x140076a80]
test rax, rax
je 0x1400112fe
mov rax, qword [rax]
test rax, rax
je 0x1400112fe
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
mulsd xmm0, xmm7
addsd xmm0, qword [rax + 0x20]
movsd qword [rax + 0x20], xmm0
mov rcx, r12
call fcn.14003ff80
mov rbx, rax
mov qword [0x140086b38], rax
mov dword [rax + 0x10], 3
mov dword [rax], r13d
mov qword [rax + 8], r13
mov qword [rax + 0x14], 0xb
mov qword [rax + 0x20], r13
mov qword [rax + 0x30], 0x30
mov dword [rax + 0x38], 0xffffffff
mov qword [rax + 0x240], rsi
mov esi, dword [rdi - 0x10]
cmp dword [rbx + 0x18], r13d
jne 0x140011351
mov rcx, rbx
call fcn.14001d550
xor edx, edx
mov eax, esi
div dword [rbx]
mov r8d, edx
mov rdx, qword [rbx + 8]
mov rax, qword [rdx + r8*8]
test rax, rax
je 0x140011375
cmp qword [rax + 8], rdi
je 0x140011387
mov rax, qword [rax]
test rax, rax
jne 0x140011367
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001138d
mov rax, qword [rcx]
mov qword [rbx + 0x20], rax
jmp 0x14001139c
lea rbx, [rax + 8]
jmp 0x1400113b5
mov rcx, qword [rbx + 0x28]
movsxd rax, dword [rbx + 0x30]
add rax, rcx
mov qword [rbx + 0x28], rax
dec dword [rbx + 0x18]
lea rbx, [rcx + 8]
mov rax, qword [rdx + r8*8]
mov qword [rcx], rax
mov qword [rdx + r8*8], rcx
mov qword [rbx], rdi
mov qword [rbx + 0x20], r13
movzx eax, byte [rbp - 0x50]
movabs rdi, 0xd6bf94d5e57a42bd
and al, 0x10
mov byte [rbx + 0xa], 1
mov byte [rbx + 9], al
movabs rsi, 0xfffffffd49ef6f00
sete al
mov byte [rbx + 8], al
mov rax, rdi
mov rcx, qword [rbp - 0x3c]
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rsi]
mov qword [rbx + 0x10], rax
imul eax, edx, 0x989680
sub ecx, eax
imul eax, ecx, 0x64
mov dword [rbx + 0x18], eax
test dword [rbp - 0x50], 0x400
je 0x1400114ac
mov rcx, qword [rbp + 0x120]
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor edx, edx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400114ac
lea rdx, [rbp + 0x150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400114ac
mov ecx, dword [rbp + 0x150]
shr ecx, 4
movzx eax, cl
and cl, 1
not al
mov byte [rbx + 9], cl
mov rcx, qword [rbp + 0x164]
and al, 1
mov byte [rbx + 8], al
mov rax, rdi
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rsi]
mov qword [rbx + 0x10], rax
imul eax, edx, 0x989680
sub ecx, eax
imul eax, ecx, 0x64
mov dword [rbx + 0x18], eax
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1400114c9
mov rcx, qword [rbp + 0x120]
jmp 0x14001122e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x120]
lea rax, [rbp + 0x130]
movaps xmm7, xmmword [rsp + 0x290]
movaps xmm6, xmmword [rsp + 0x2a0]
mov r12, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400114ff
call fcn.14003e73c
mov rcx, qword [rbp + 0xf0]
lea rax, [rbp + 0x130]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0x100]
mov dword [rbp + 0x128], r13d
mov dword [rbp + 0x12c], 0x20
mov byte [rbp + 0x130], r13b
cmp rcx, rax
je 0x14001153d
call fcn.14003e73c
mov qword [r12 + 0x20], r15
xor eax, eax
mov rsi, qword [rsp + 0x2e8]
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.140036060
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret