Function at 0x1400fada0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3d0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rsi, r8
mov r12, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x34], r14d
xor al, al
lea rdi, [0x1401a1e20]
lea ebx, [r14 + 1]
mov r15, 0xffffffffffffffff
cmp qword [rcx + 0x10], r15
jne 0x1400fb0a1
cmp byte [rcx + 0x20], r14b
jne 0x1400fb0a1
mov byte [rsp + 0x30], bl
lea rcx, [rbp + 0x50]
call fcn.1400bd8f0
mov ecx, dword [rax]
cmp ecx, dword [0x141991c38]
jne 0x1400fae44
lea rdx, [0x141991c38]
mov rcx, rax
call fcn.1400bd9a0
test eax, eax
js 0x1400fae44
mov eax, ebx
jmp 0x1400fae46
xor eax, eax
mov dword [rsp + 0x40], eax
lea ebx, [rax + rax]
xor edi, edi
cmp byte [r13 + 0x28], dil
setne dil
mov rcx, r13
call fcn.140046630
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
mov r9d, edi
lea r8, [rbp + 0x60]
mov edx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r13 + 0x10], rax
mov ebx, 1
cmp rax, r15
jne 0x1400fb097
mov dword [rbp - 0x50], 8
lea rax, [0x140281658]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x10], xmm0
mov r8d, ebx
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.140045050
test al, al
je 0x1400fb097
mov eax, 0x5c
mov word [rsp + 0x40], ax
mov dword [rsp + 0x20], ebx
mov r9d, ebx
movzx r8d, ax
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.140044f00
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 4
jne 0x1400fafba
lea rdi, [rax + 0x20]
add rdi, qword [rax + 0x10]
mov dword [rbp - 0x40], 2
lea rax, [0x1401a9c70]
mov qword [rbp - 0x38], rax
mov edx, dword [rdi + 0xc]
add edx, 2
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.14003c140
mov rax, qword [rsp + 0x48]
mov r14, qword [rax + 0x10]
add r14, rax
movaps xmm6, xmmword [rbp - 0x40]
mov r8, r14
movd edx, xmm6
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rcx, xmm0
call fcn.14003d3f0
movd eax, xmm6
movsxd rcx, eax
add rcx, rcx
add r14, rcx
movsxd rcx, dword [rdi + 0xc]
mov r8, qword [rdi]
test r8, r8
jne 0x1400faf72
lea rdx, [0x1401a1e20]
add rdx, qword [0x1401a1e30]
jmp 0x1400faf84
mov r8, qword [r8]
movsxd rdx, dword [rdi + 8]
mov rax, qword [r8 + 0x10]
lea rdx, [rax + rdx*2]
add rdx, r8
mov r8, rcx
add r8, r8
mov rcx, r14
call fcn.140123ea0
nop
mov r14d, 3
mov dword [rsp + 0x34], r14d
lea rdx, [r13 + 0x18]
lea rcx, [rsp + 0x48]
call fcn.1400ae0b0
test al, al
mov rax, qword [rsp + 0x38]
je 0x1400fafba
mov dil, 1
jmp 0x1400fafbd
xor dil, dil
test r14b, 1
je 0x1400fb005
and r14d, 0xfffffffe
mov dword [rsp + 0x34], r14d
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fafed
cmp ecx, 0xffffffff
je 0x1400fb000
mov ecx, r15d
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb000
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call fcn.140049bf0
mov rax, qword [rsp + 0x38]
test dil, dil
je 0x1400fb050
mov rdx, qword [r13 + 0x18]
mov ecx, dword [rdx + 8]
cmp dword [rdx + 0xc], ecx
jne 0x1400fb04b
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb031
cmp ecx, 0xffffffff
je 0x1400fb044
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1400fb044
mov edx, 0x10
lea r8d, [rdx - 8]
mov rcx, qword [rsp + 0x38]
call fcn.140049bf0
xor al, al
jmp 0x1400fb4dc
mov byte [r13 + 0x20], 1
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb078
cmp ecx, 0xffffffff
je 0x1400fb06c
mov ecx, r15d
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
je 0x1400fb078
mov r14d, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
jmp 0x1400fb09a
mov edx, 0x10
lea r8d, [rdx - 8]
mov rcx, qword [rsp + 0x38]
call fcn.140049bf0
mov r14d, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
jmp 0x1400fb09a
movzx eax, bl
lea rdi, [0x1401a1e20]
mov rcx, qword [r13 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1400fb0b2
cmp byte [r13 + 0x20], 0
je 0x1400fb044
test al, al
jne 0x1400fb0e9
cmp byte [r13 + 0x20], al
je 0x1400fb0d7
inc dword [r13 + 0x24]
mov rax, qword [r13 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r13 + 0x24], ecx
jl 0x1400fb0e9
xor al, al
jmp 0x1400fb4dc
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400fb044
cmp byte [r13 + 0x20], 0
je 0x1400fb23b
mov rdx, qword [r13 + 0x18]
movsxd rcx, dword [r13 + 0x24]
movsxd rax, dword [rdx + 8]
add rcx, rax
lea rdx, [rdx + rcx*8]
add rdx, 0x10
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x50], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1400fb121
lock xadd dword [rcx], ebx
or dword [rsp + 0x34], 8
lea rcx, [rsp + 0x50]
call fcn.14003d080
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400a5690
mov r8, rax
mov rdx, qword [r12]
mov qword [rbp - 0x28], rdx
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rdx, qword [r12 + 8]
mov qword [rbp - 0x20], rdx
mov rcx, qword [rax + 8]
mov qword [r12 + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [r12 + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [r12 + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [r12 + 0x14], ax
mov rax, qword [rbp - 0x68]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb1a7
cmp ecx, 0xffffffff
je 0x1400fb1b9
mov ecx, r15d
mov rax, qword [rbp - 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb1b9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x68]
call fcn.140049bf0
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb1d8
cmp ecx, 0xffffffff
je 0x1400fb1eb
mov ecx, r15d
mov rax, qword [rbp - 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb1eb
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x70]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb20b
cmp ecx, 0xffffffff
je 0x1400fb21e
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1400fb21e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.140049bf0
mov dword [rsi + 0x10], 0x10
mov eax, dword [rsi + 4]
or eax, 0x440000
mov dword [rsi + 4], eax
or dword [rsi], 0x560000
jmp 0x1400fb4da
mov r8d, r15d
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x68]
call fcn.140040590
nop
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov qword [rax], rdi
or r14d, 0x50
test r14b, 0x20
je 0x1400fb2a7
and r14d, 0xffffffdf
mov dword [rsp + 0x34], r14d
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb28f
cmp ecx, 0xffffffff
je 0x1400fb2a2
mov ecx, r15d
mov rax, qword [rsp + 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb2a2
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x70]
call fcn.140049bf0
mov r14d, dword [rsp + 0x34]
and r14d, 0xffffffef
mov dword [rsp + 0x34], r14d
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb2d1
cmp ecx, 0xffffffff
je 0x1400fb2e5
mov ecx, r15d
mov rax, qword [rsp + 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb2e5
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x68]
call fcn.140049bf0
nop
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x58], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1400fb2fd
mov eax, ebx
lock xadd dword [rcx], eax
or dword [rsp + 0x34], 0x80
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.14003d080
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.1400a5690
mov r8, rax
mov rdx, qword [r12]
mov qword [rbp - 0x18], rdx
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rdx, qword [r12 + 8]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rax + 8]
mov qword [r12 + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [r12 + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [r12 + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [r12 + 0x14], ax
lea rcx, [rbp + 0x38]
call fcn.140038420
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb397
cmp ecx, 0xffffffff
je 0x1400fb3aa
mov ecx, r15d
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fb3aa
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140049bf0
mov qword [rbp], 0
mov qword [rbp + 8], r15
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movsd xmm1, qword [rbp + 0x30]
movsd qword [rsi + 0x30], xmm1
mov dword [rbp - 0x80], 4
lea rax, [0x1401fefb0]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003fd70
test al, al
jne 0x1400fb4a7
mov eax, dword [rbp + 0x60]
mov dword [rsi + 0x10], eax
test al, 2
je 0x1400fb41c
or dword [rsi + 4], 0x100000
test al, 0x10
mov eax, 0x20000
mov ecx, 0x40000
cmovne eax, ecx
or eax, dword [rsi + 4]
bts eax, 0x16
mov dword [rsi + 4], eax
or dword [rsi], 0x560000
mov rax, qword [rbp + 0x64]
mov qword [rsi + 0x14], rax
mov rax, qword [rbp + 0x6c]
mov qword [rsi + 0x24], rax
mov rax, qword [rbp + 0x74]
mov qword [rsi + 0x2c], rax
mov qword [rsi + 0x1c], rax
test byte [rsi + 0x10], 0x10
je 0x1400fb467
mov qword [rsi + 8], 0
jmp 0x1400fb47b
mov ecx, dword [rbp + 0x7c]
shl rcx, 0x20
mov eax, dword [rbp + 0x80]
add rcx, rax
mov qword [rsi + 8], rcx
or dword [rsi], 0x2210000
mov eax, dword [rsi + 4]
btr eax, 0x10
mov dword [rsi + 4], eax
test dword [rsi + 0x10], 0x400
je 0x1400fb4a7
cmp dword [rbp + 0x84], 0xa000000c
jne 0x1400fb4a7
bts eax, 0x10
mov dword [rsi + 4], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fb4c7
cmp ecx, 0xffffffff
je 0x1400fb4da
mov rax, qword [rsp + 0x60]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1400fb4da
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x60]
call fcn.140049bf0
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140121c90
mov rbx, qword [rsp + 0x428]
movaps xmm6, xmmword [rsp + 0x3c0]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret