Function at 0x18005cc24
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801563c0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
xor r14b, r14b
xor r8d, r8d
lea rdx, str.profile
mov rcx, qword [rcx + 8]
call fcn.1800c8614
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1800c88f0
nop
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
sub rcx, rsi
movabs rbp, 0x6666666666666667
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
lea r12d, [rbx + 1]
add rdx, rax
je 0x18005cd0f
xor edi, edi
cmp rdi, rdx
jb 0x18005ccc6
call fcn.1800d15f4
mov rsi, qword [rsp + 0x60]
lea rax, [rdi + rdi*4]
lea rcx, [rsi + rax*8]
lea rdx, str.created_by_version
call fcn.180058684
test eax, eax
je 0x18005cd0c
add ebx, r12d
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
sub rcx, rsi
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rdi, ebx
cmp rdi, rdx
jb 0x18005ccb7
jmp 0x18005cd0f
mov r14b, r12b
xor bpl, bpl
lea rdx, [rsp + 0x30]
lea rcx, [0x180162940]
call fcn.180008024
nop
lea rdx, [0x18010d534]
lea rcx, [rsp + 0x40]
call fcn.180007f64
nop
mov rdi, qword [rsp + 0x40]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rsp + 0x30]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rbx, [0x18015f758]
or r15d, 0xffffffff
cmp rcx, rbx
je 0x18005cd73
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x18005cd73
call fcn.1800d1434
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
test byte [rsp + 0x80], 0x10
je 0x18005ced0
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x28]
call fcn.1800041c0
nop
lea rdi, [0x18010d3c4]
mov rbx, qword [rsp + 0x28]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x18005cead
lea rdi, [0x18010d50c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x18005cead
cmp dword [rbx - 8], 0
jl 0x18005ce88
lea rdx, [0x18010d3c4]
mov rcx, rbx
call fcn.1800d1f00
test rax, rax
je 0x18005ce88
sub rax, rbx
sar rax, 1
test eax, eax
js 0x18005ce88
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180007f08
and dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [0x18010d52c]
mov rcx, qword [rsp + 0x38]
call fcn.1800d2014
mov edx, dword [rsp + 0x20]
test edx, edx
je 0x18005ce4b
movzx ebp, bpl
cmp edx, 0x12
cmovge ebp, r12d
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18005ce88
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x18005ce83
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
mov rbx, qword [rsp + 0x28]
jmp 0x18005ce88
mov rbx, qword [rsp + 0x28]
lea rcx, [rbx - 0xc]
lea rbx, [0x18015f758]
cmp rcx, rbx
je 0x18005ced0
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x18005ced0
call fcn.1800d1434
jmp 0x18005ced0
lea rcx, [rbx - 0xc]
lea rbx, [0x18015f758]
cmp rcx, rbx
je 0x18005ced0
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x18005ced0
call fcn.1800d1434
lea rdx, [rsp + 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18005cd89
test r14b, r14b
jne 0x18005cef6
test bpl, bpl
jne 0x18005cef6
xor r12b, r12b
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18005cf18
mov edx, r15d
lock xadd dword [rcx], edx
add edx, r15d
test edx, edx
jg 0x18005cf18
call fcn.1800d1434
nop
lea rcx, [rsp + 0x48]
call fcn.18005cf58
mov al, r12b
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1800d12b0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret