Function at 0x1400a9bb0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov qword [rbp], 0xfffffffffffffffe
mov qword [rsp + 0x418], rbx
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdi, r8
mov r14, rdx
mov qword [rsp + 0x50], rdx
mov r15, rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x68], r13d
xor al, al
or esi, 0xffffffff
lea ebx, [rsi + 2]
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x1400a9e9b
cmp byte [rcx + 0x20], r12b
jne 0x1400a9e9b
mov byte [rsp + 0x30], bl
mov r14d, r13d
call fcn.14000e4e0
cmp eax, 0x90
jl 0x1400a9c3c
lea r13d, [rsi + 3]
mov r14d, ebx
xor ebx, ebx
cmp byte [r15 + 0x28], bl
mov eax, 1
cmovne ebx, eax
mov rcx, r15
call fcn.14001a740
mov rcx, rax
mov dword [rsp + 0x28], r13d
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9d, ebx
lea r8, [rbp + 0x60]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r15 + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400a9e91
mov dword [rbp - 0x80], 8
lea rax, [0x14143d378]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x20], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.1400190e0
test al, al
je 0x1400a9e8c
mov eax, 0x5c
mov word [rsp + 0x78], ax
mov dword [rsp + 0x20], ebx
mov r9d, ebx
movzx r8d, ax
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140018ec0
nop
mov r14, qword [rsp + 0x38]
movsxd rcx, dword [r14 + 8]
mov eax, dword [r14 + 0xc]
sub eax, ecx
cmp eax, 4
jne 0x1400a9d47
lea rax, [r14 + 0x20]
lea rcx, [rax + rcx*8]
mov dword [rbp - 0x40], 2
lea rax, [0x14138ba38]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.14005adc0
nop
mov r12d, ebx
mov dword [rsp + 0x68], ebx
lea rdx, [r15 + 0x18]
lea rcx, [rsp + 0x70]
call fcn.14005f110
mov r14, qword [rsp + 0x38]
test al, al
je 0x1400a9d47
movzx ebx, r12b
jmp 0x1400a9d49
xor bl, bl
test r12b, 1
je 0x1400a9d7c
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9d69
cmp eax, 0xffffffff
je 0x1400a9d7c
lock dec dword [rcx]
jne 0x1400a9d77
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov r14, qword [rsp + 0x38]
test bl, bl
je 0x1400a9e16
mov rcx, qword [r15 + 0x18]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x1400a9e11
mov eax, dword [r14]
test eax, eax
je 0x1400a9db0
cmp eax, 0xffffffff
je 0x1400a9e0a
mov eax, esi
lock xadd dword [r14], eax
dec eax
jne 0x1400a9e0a
mov r14, qword [rsp + 0x38]
movsxd rax, dword [r14 + 0xc]
add rax, 2
lea rbx, [r14 + rax*8]
movsxd rax, dword [r14 + 8]
lea rdi, [rax + 2]
lea rdi, [r14 + rdi*8]
cmp rdi, rbx
je 0x1400a9e02
nop dword [rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9dec
cmp eax, 0xffffffff
je 0x1400a9dfd
mov eax, esi
lock xadd dword [rcx], eax
dec eax
jne 0x1400a9dfd
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400112a0
cmp rbx, rdi
jne 0x1400a9dd0
mov rcx, r14
call fcn.1400f8d00
xor al, al
jmp 0x1400aa1fe
mov byte [r15 + 0x20], 1
mov eax, dword [r14]
test eax, eax
je 0x1400a9e32
cmp eax, 0xffffffff
je 0x1400a9e91
mov eax, esi
lock xadd dword [r14], eax
dec eax
jne 0x1400a9e91
mov r14, qword [rsp + 0x38]
movsxd rax, dword [r14 + 0xc]
add rax, 2
lea rbx, [r14 + rax*8]
movsxd rax, dword [r14 + 8]
lea r12, [rax + 2]
lea r12, [r14 + r12*8]
cmp r12, rbx
je 0x1400a9e82
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9e6c
cmp eax, 0xffffffff
je 0x1400a9e7d
mov eax, esi
lock xadd dword [rcx], eax
dec eax
jne 0x1400a9e7d
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400112a0
cmp rbx, r12
jne 0x1400a9e50
mov rcx, r14
call fcn.1400f8d00
jmp 0x1400a9e91
movzx eax, bl
jmp 0x1400a9e96
movzx eax, byte [rsp + 0x30]
mov r14, qword [rsp + 0x50]
mov rcx, qword [r15 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1400a9eb0
cmp byte [r15 + 0x20], 0
je 0x1400a9e0a
test al, al
jne 0x1400a9ee7
cmp byte [r15 + 0x20], al
je 0x1400a9ed5
inc dword [r15 + 0x24]
mov rax, qword [r15 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r15 + 0x24], ecx
jl 0x1400a9ee7
xor al, al
jmp 0x1400aa1fe
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400a9e0a
cmp byte [r15 + 0x20], 0
je 0x1400a9fff
mov rdx, qword [r15 + 0x18]
movsxd rcx, dword [r15 + 0x24]
movsxd rax, dword [rdx + 8]
add rcx, rax
lea rdx, [rdx + rcx*8]
add rdx, 0x10
lea rax, [r15 + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140020a20
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140057bf0
mov rbx, rax
mov rdx, rax
mov rcx, r14
call fcn.140011e20
lea rdx, [rbx + 8]
lea rcx, [r14 + 8]
call fcn.140011e20
movzx ecx, word [rbx + 0x10]
mov word [r14 + 0x10], cx
movzx ecx, word [rbx + 0x12]
mov word [r14 + 0x12], cx
movzx eax, word [rbx + 0x14]
mov word [r14 + 0x14], ax
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9f80
cmp eax, 0xffffffff
je 0x1400a9f8f
lock dec dword [rcx]
jne 0x1400a9f8f
mov rcx, qword [rbp - 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9fa7
cmp eax, 0xffffffff
je 0x1400a9fb6
lock dec dword [rcx]
jne 0x1400a9fb6
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400a9fd0
cmp eax, 0xffffffff
je 0x1400a9fde
lock dec dword [rcx]
jne 0x1400a9fde
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov dword [rdi + 0x10], 0x10
mov ecx, 0x40000
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
jmp 0x1400aa1fc
mov r8d, esi
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x40]
call fcn.14000da20
nop
lea rax, [r15 + 8]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.140020a20
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140057bf0
mov rbx, rax
mov rdx, rax
mov rcx, r14
call fcn.140011e20
lea rdx, [rbx + 8]
lea rcx, [r14 + 8]
call fcn.140011e20
movzx ecx, word [rbx + 0x10]
mov word [r14 + 0x10], cx
movzx ecx, word [rbx + 0x12]
mov word [r14 + 0x12], cx
movzx eax, word [rbx + 0x14]
mov word [r14 + 0x14], ax
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400aa08e
cmp eax, 0xffffffff
je 0x1400aa09d
lock dec dword [rcx]
jne 0x1400aa09d
mov rcx, qword [rbp - 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400aa0b5
cmp eax, 0xffffffff
je 0x1400aa0c4
lock dec dword [rcx]
jne 0x1400aa0c4
mov rcx, qword [rbp - 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400aa0dc
cmp eax, 0xffffffff
je 0x1400aa0ea
lock dec dword [rcx]
jne 0x1400aa0ea
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov qword [rbp + 0x30], 0
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rdi + 0x20], xmm0
mov dword [rsp + 0x50], 4
lea rax, [0x1413ce6a0]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x10], xmm0
mov r8d, 1
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140014410
test al, al
jne 0x1400aa1d4
mov eax, dword [rbp + 0x60]
mov dword [rdi + 0x10], eax
test al, 2
je 0x1400aa154
or dword [rdi + 4], 0x100000
test al, 0x10
mov eax, 0x20000
mov ecx, 0x40000
cmovne eax, ecx
or dword [rdi + 4], eax
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
mov rax, qword [rbp + 0x64]
mov qword [rdi + 0x14], rax
mov rax, qword [rbp + 0x6c]
mov qword [rdi + 0x1c], rax
mov rax, qword [rbp + 0x74]
mov qword [rdi + 0x24], rax
test byte [rdi + 0x10], 0x10
je 0x1400aa197
mov qword [rdi + 8], r13
jmp 0x1400aa1ab
mov ecx, dword [rbp + 0x7c]
shl rcx, 0x20
mov eax, dword [rbp + 0x80]
add rcx, rax
mov qword [rdi + 8], rcx
or dword [rdi], 0x7210000
and dword [rdi + 4], 0xfffeffff
test dword [rdi + 0x10], 0x400
je 0x1400aa1d4
cmp dword [rbp + 0x84], 0xa000000c
jne 0x1400aa1d4
or dword [rdi + 4], 0x10000
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400aa1ee
cmp eax, 0xffffffff
je 0x1400aa1fc
lock dec dword [rcx]
jne 0x1400aa1fc
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x418]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret