Function at 0x140016ca0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rdi, r8
mov qword [rsp + 0x70], rcx
mov rbx, rdx
mov rsi, rcx
call fcn.140025d00
shl eax, 2
xorps xmm0, xmm0
mov r9d, eax
xor r14d, r14d
mov qword [rbp + 0x10], r9
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea edx, [r14 + 0xf]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edi, r14d
cmp qword [rbp + 0x10], r14
jbe 0x140016dd8
lea rax, [rbp - 0x18]
xor r15d, r15d
lea r14, [0x140016840]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x60], r14
nop dword [rax + rax]
mov rbx, qword [rbp]
cmp rbx, qword [rbp + 8]
je 0x140016d9a
mov ecx, 0x10
call fcn.14004e380
lea rcx, [rbp - 0x18]
mov r9, rax
lea rsi, [rbx + 8]
xor edx, edx
mov qword [rsp + 0x28], rsi
lea r8, [0x140018880]
mov qword [rax], rcx
xor ecx, ecx
mov qword [rax + 8], r14
mov dword [rsp + 0x20], r15d
call fcn.140055230
mov qword [rbx], rax
test rax, rax
je 0x140017814
mov rcx, qword [rbp]
add rcx, 0x10
mov qword [rbp], rcx
jmp 0x140016db4
lea r9, [rsp + 0x30]
mov rdx, rbx
lea r8, [rsp + 0x60]
lea rcx, [rbp - 8]
call fcn.140018140
mov rcx, qword [rbp]
mov rcx, qword [rcx - 0x10]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc rdi
cmp rdi, qword [rbp + 0x10]
jb 0x140016d40
mov rsi, qword [rsp + 0x70]
xor r14d, r14d
mov qword [rsp + 0x3d8], r12
lea rcx, [0x1400a7210]
mov qword [rsp + 0x3e0], r13
call fcn.140025f04
test eax, eax
jne 0x140017809
mov eax, dword [0x1400a725c]
cmp eax, 0x7fffffff
je 0x140017822
mov rdx, rsi
call fcn.140017900
lea rcx, [0x1400a7210]
call fcn.140025f0c
xorps xmm0, xmm0
mov qword [rbp - 0x78], r14
mov r8, rsi
lea rcx, [rsp + 0x78]
xor edx, edx
movdqu xmmword [rsp + 0x78], xmm0
call fcn.140018560
mov rbx, qword [rbp - 0x80]
cmp qword [rsp + 0x78], rbx
je 0x14001768d
cmp qword [rbx - 8], 7
lea rdi, [rbx - 0x20]
mov r15, qword [rdi + 0x10]
mov eax, 0xa
movabs rsi, 0x7ffffffffffffffe
mov qword [rbp - 0x30], r14
jbe 0x140016e71
mov rdi, qword [rdi]
cmp r15, rsi
ja 0x140017867
cmp r15, 7
ja 0x140016e9c
movups xmm0, xmmword [rdi]
mov r13d, 7
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r13
movups xmmword [rbp - 0x38], xmm0
movq r12, xmm0
jmp 0x140016ef5
mov rbx, r15
or rbx, 7
cmp rbx, rsi
jbe 0x140016ead
mov rbx, rsi
jmp 0x140016eb5
cmp rbx, 0xa
cmovb rbx, rax
inc rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x60], rbx
call fcn.140013e70
lea r13, [rbx - 1]
mov qword [rbp - 0x38], rax
lea r8, [r15*2 + 2]
mov qword [rbp - 0x20], r13
mov rdx, rdi
mov qword [rbp - 0x28], r15
mov rcx, rax
mov r12, rax
call fcn.140079cc0
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbx - 8]
cmp rdx, 7
jbe 0x140016f35
mov rcx, qword [rbx - 0x20]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140016f30
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017861
mov rcx, r8
call fcn.14004e604
mov rax, rsi
mov qword [rbx - 0x10], r14
mov qword [rbx - 8], 7
sub rax, r15
mov word [rbx - 0x20], r14w
sub qword [rbp - 0x80], 0x20
cmp rax, 2
jb 0x140017867
cmp r13, 7
lea r14, [rbp - 0x38]
lea rsi, [r15 + 2]
mov ebx, 7
cmova r14, r12
lea rdi, [rbp - 0x58]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
movups xmmword [rbp - 0x58], xmm0
cmp rsi, rbx
jbe 0x140016fd2
mov rbx, rsi
movabs rax, 0x7ffffffffffffffe
or rbx, 7
cmp rbx, rax
jbe 0x140016fa5
mov rbx, rax
jmp 0x140016fb2
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
inc rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x60], rbx
call fcn.140013e70
mov rdi, rax
mov qword [rbp - 0x58], rax
dec rbx
mov qword [rbp - 0x40], rbx
mov rdx, r14
lea rbx, [r15 + r15]
mov qword [rbp - 0x48], rsi
mov r8, rbx
mov rcx, rdi
call fcn.140079cc0
mov ecx, dword [0x14008b3c0]
lea r8, [rbp + 0x40]
mov dword [rbx + rdi], ecx
xor r14d, r14d
mov word [rdi + rsi*2], r14w
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
mov r9d, 1
mov dword [rsp + 0x28], 2
mov edx, r9d
cmova rcx, qword [rbp - 0x58]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x1400175ec
xorps xmm0, xmm0
mov qword [rbp - 0x60], r14
movdqu xmmword [rbp - 0x70], xmm0
mov rsi, rax
nop dword [rax]
lea rdx, [0x14008b3e4]
lea rcx, [rbp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400174e9
lea rdx, [0x14008b3e8]
lea rcx, [rbp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400174e9
test byte [rbp + 0x40], 0x10
je 0x1400171ec
lea rcx, [rbp + 0x6c]
call fcn.1400141d0
test eax, eax
je 0x1400171ec
cmp r13, 7
lea r14, [rbp - 0x38]
lea rsi, [r15 + 1]
mov ebx, 7
cmova r14, r12
lea rdi, [rsp + 0x38]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x38], xmm0
cmp rsi, rbx
jbe 0x14001711a
mov rbx, rsi
movabs rax, 0x7ffffffffffffffe
or rbx, 7
cmp rbx, rax
jbe 0x1400170eb
mov rbx, rax
jmp 0x1400170f8
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
inc rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x60], rbx
call fcn.140013e70
mov rdi, rax
mov qword [rsp + 0x38], rax
dec rbx
mov qword [rsp + 0x50], rbx
mov rdx, r14
lea rbx, [r15 + r15]
mov qword [rsp + 0x48], rsi
mov r8, rbx
mov rcx, rdi
call fcn.140079cc0
mov ecx, dword [0x14008b3c8]
lea rdx, [rbp + 0x6c]
mov word [rdi + rbx], cx
xor r14d, r14d
lea rcx, [rsp + 0x38]
mov word [rdi + rsi*2], r14w
call fcn.140013920
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x50]
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm1
cmp rdx, 7
jbe 0x1400171b7
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400171b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017835
call fcn.14004e604
mov rax, qword [rbp - 0x68]
cmp rax, qword [rbp - 0x60]
je 0x1400171d7
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.140017af0
add qword [rbp - 0x68], 0x20
jmp 0x1400174a4
lea r8, [rbp + 0x18]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140018560
jmp 0x1400174a4
lea rcx, [rbp + 0x6c]
call fcn.140014d50
test eax, eax
je 0x1400174e9
lea rcx, [rbp + 0x6c]
call fcn.140016240
test eax, eax
je 0x1400174e9
cmp r13, 7
mov qword [rsp + 0x40], r14
lea rdi, [rbp - 0x38]
movabs rax, 0x7ffffffffffffffe
cmova rdi, r12
cmp r15, rax
ja 0x140017867
cmp r15, 7
ja 0x140017250
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
movups xmmword [rsp + 0x38], xmm0
jmp 0x1400172ab
mov rbx, r15
or rbx, 7
cmp rbx, rax
jbe 0x140017261
mov rbx, rax
jmp 0x14001726e
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
inc rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x60], rbx
call fcn.140013e70
lea rcx, [rbx - 1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rcx
lea r8, [r15*2 + 2]
mov rcx, rax
mov qword [rsp + 0x48], r15
mov rdx, rdi
call fcn.140079cc0
lea rcx, [rsp + 0x38]
call fcn.1400163f0
cmp r13, 7
lea r14, [rbp - 0x38]
lea rsi, [r15 + 1]
mov ebx, 7
cmova r14, r12
lea rdi, [rsp + 0x38]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x38], xmm0
cmp rsi, rbx
jbe 0x140017332
mov rbx, rsi
movabs rax, 0x7ffffffffffffffe
or rbx, 7
cmp rbx, rax
jbe 0x140017303
mov rbx, rax
jmp 0x140017310
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
inc rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x60], rbx
call fcn.140013e70
mov rdi, rax
mov qword [rsp + 0x38], rax
dec rbx
mov qword [rsp + 0x50], rbx
mov rdx, r14
lea rbx, [r15 + r15]
mov qword [rsp + 0x48], rsi
mov r8, rbx
mov rcx, rdi
call fcn.140079cc0
mov ecx, dword [0x14008b3c8]
lea rdx, [rbp + 0x6c]
mov word [rbx + rdi], cx
xor r14d, r14d
lea rcx, [rsp + 0x38]
mov word [rdi + rsi*2], r14w
call fcn.140013920
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x50]
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm1
cmp rdx, 7
jbe 0x1400173cf
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400173ca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001783b
call fcn.14004e604
lea rcx, [0x1400a7210]
call fcn.140025f04
test eax, eax
jne 0x140017856
cmp dword [0x1400a725c], 0x7fffffff
je 0x140017841
mov r8, qword [0x1400a72e0]
mov rdx, qword [0x1400a72d0]
lea rax, [r8 + 1]
cmp rdx, rax
ja 0x14001741d
call fcn.140017f10
mov r8, qword [0x1400a72e0]
mov rdx, qword [0x1400a72d0]
mov rax, qword [0x1400a72d8]
lea rcx, [rdx - 1]
and rax, rcx
mov qword [0x1400a72d8], rax
lea rdi, [rax + r8]
mov rax, qword [0x1400a72c8]
and rcx, rdi
lea rbx, [rcx*8]
cmp qword [rbx + rax], r14
jne 0x140017471
mov ecx, 0x20
call fcn.14004e380
mov rcx, qword [0x1400a72c8]
mov qword [rbx + rcx], rax
mov rdx, qword [0x1400a72d0]
mov rax, qword [0x1400a72c8]
lea rcx, [rdx - 1]
and rcx, rdi
lea rdx, [rbp + 0x18]
mov rcx, qword [rax + rcx*8]
call fcn.140017af0
inc qword [0x1400a72e0]
lea rcx, [0x1400a7210]
call fcn.140025f0c
lea rcx, [0x1400a7340]
call fcn.140025ca4
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x1400174e4
mov rcx, qword [rbp + 0x18]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400174df
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017861
call fcn.14004e604
mov rsi, qword [rsp + 0x30]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140017050
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x14001758c
nop
sub rdi, 0x20
cmp rbx, rdi
je 0x14001753e
movups xmm2, xmmword [rbx]
movups xmm3, xmmword [rbx + 0x10]
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
add rbx, 0x20
movups xmmword [rdi], xmm2
movups xmmword [rdi + 0x10], xmm3
cmp rbx, rdi
jne 0x140017510
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, rdi
je 0x14001758c
mov rax, qword [rbp - 0x80]
nop
cmp rax, qword [rbp - 0x78]
je 0x14001756f
mov rdx, rbx
mov rcx, rax
call fcn.140017af0
mov rax, qword [rbp - 0x80]
add rax, 0x20
mov qword [rbp - 0x80], rax
jmp 0x140017583
mov r8, rbx
lea rcx, [rsp + 0x78]
mov rdx, rax
call fcn.140018560
mov rax, qword [rbp - 0x80]
add rbx, 0x20
cmp rbx, rdi
jne 0x140017550
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400175ec
mov rdx, qword [rbp - 0x68]
call fcn.140017e50
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400175db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017861
call fcn.14004e604
xorps xmm0, xmm0
mov qword [rbp - 0x60], r14
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14001762c
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017627
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017861
call fcn.14004e604
mov word [rbp - 0x58], r14w
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r14
cmp r13, 7
jbe 0x140017679
lea rdx, [r13*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140017671
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017861
mov rcx, r12
call fcn.14004e604
mov rbx, qword [rbp - 0x80]
cmp qword [rsp + 0x78], rbx
jne 0x140016e4c
mov rsi, qword [rsp + 0x70]
lea rcx, [0x1400a7210]
call fcn.140025f04
test eax, eax
jne 0x140017809
mov eax, dword [0x1400a725c]
cmp eax, 0x7fffffff
je 0x140017822
lea rcx, [0x1400a7210]
mov byte [0x1400a7084], 1
call fcn.140025f0c
lea rcx, [0x1400a7340]
call fcn.140025c80
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp]
cmp rbx, rdi
je 0x14001771f
nop
cmp dword [rbx + 8], 0
je 0x140017716
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x140017809
movups xmm0, xmmword [rbx]
xor edx, edx
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140025d20
test eax, eax
jne 0x14001786d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400176e0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140017779
mov rdx, qword [rbp - 0x80]
call fcn.140017e50
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x78]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140017767
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017803
call fcn.14004e604
xorps xmm0, xmm0
mov qword [rbp - 0x78], r14
movdqu xmmword [rsp + 0x78], xmm0
lea rcx, [rbp - 8]
call fcn.140017880
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x1400177bd
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400177b8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017803
mov rcx, r8
call fcn.14004e604
mov r12, qword [rsp + 0x3d8]
mov r13, qword [rsp + 0x3e0]
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14004dfe0
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140054e14
int3
mov ecx, 5
call fcn.140025ea8
int3
mov ecx, 6
mov dword [rsi], r15d
call fcn.140025ea8
int3
dec eax
mov ecx, 6
mov dword [0x1400a725c], eax
call fcn.140025ea8
int3
call fcn.140054e14
int3
call fcn.140054e14
int3
mov ecx, 6
mov dword [0x1400a725c], 0x7ffffffe
call fcn.140025ea8
int3
mov ecx, 5
call fcn.140025ea8
int3
call fcn.140054e14
int3
call fcn.1400052f0
int3
mov ecx, 2
call fcn.140025ea8
int3