Function at 0x1800178f0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x190
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x180066180]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rcx
mov r9d, dword [0x180069c80]
mov r8d, r9d
imul r8d, r9d
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
mov ecx, r8d
sub ecx, eax
mov eax, dword [0x18006a5dc]
mov edx, 0x2603202
cmp ecx, 0xa
cmove eax, edx
mov dword [0x18006a5dc], eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub r8d, edx
cmp r8d, 0xa
jne 0x18001798c
inc r9d
mov dword [0x180069c80], r9d
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x40]
call fcn.18002c930
lea r8, [0x180056a10]
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180001c40
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
cmp rcx, rbx
je 0x180017a25
cmp dword [rbx + 0x10], 0
jl 0x180017a16
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180017a16
call fcn.180002110
mov rbp, rax
lock add dword [rbx + 0x10], edi
jg 0x180017a0b
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rVariantCopy + 8]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x180017a25
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.180002020
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180017a3e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180017bbc
nop
mov edx, dword [0x180069c80]
lea r8d, [rdx + 2]
lea ecx, [rdx + 1]
imul r8d, ecx
imul r8d, edx
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 0xf
jne 0x180017a9f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180069c80], eax
lea rcx, [rsp + 0x6c]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x180017aa7
test rax, rax
je 0x180017b98
lea rdx, [0x180056a14]
lea rcx, [rsp + 0x6c]
call fcn.180029c08
test eax, eax
je 0x180017b98
lea rdx, [0x180056a18]
lea rcx, [rsp + 0x6c]
call fcn.180029c08
test eax, eax
je 0x180017b98
lea rdx, str.setev
lea rcx, [rsp + 0x6c]
call fcn.180029c08
test eax, eax
jne 0x180017b98
lea r8, str._setev
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180001c40
nop
mov rdx, rax
call fcn.180017c00
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180017b3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov r8d, dword [0x180069c80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 8
jne 0x180017b72
inc r8d
mov dword [0x180069c80], r8d
lea rcx, [rsi + 0x50]
call fcn.180002990
mov ecx, dword [rsi + 0x58]
mov rcx, qword [rsi + rcx*8 + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x180017b98
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180017a60
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x20]
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180017bd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800289d0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret