Function at 0x1400c3890
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov qword [rbp], 0xfffffffffffffffe
mov qword [rsp + 0x428], rbx
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x70], rdx
mov r15, rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x4c], r13d
xor al, al
or rsi, 0xffffffffffffffff
cmp qword [rcx + 0x10], rsi
jne 0x1400c3b78
cmp byte [rcx + 0x20], r12b
jne 0x1400c3b78
mov byte [rsp + 0x30], 1
mov r14d, r13d
call fcn.140042c80
cmp eax, 0x90
jl 0x1400c391b
lea r13d, [rsi + 3]
lea r14d, [rsi + 2]
xor ebx, ebx
cmp byte [r15 + 0x28], bl
setne bl
mov rcx, r15
call fcn.1400360e0
mov rcx, rax
mov dword [rsp + 0x28], r13d
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9d, ebx
lea r8, [rbp + 0x70]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r15 + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c3b6e
mov dword [rbp - 0x80], 8
lea rax, [0x140221418]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x20], xmm0
lea r8d, [r13 + 1]
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.140035030
test al, al
je 0x1400c3b6e
mov eax, 0x5c
mov word [rsp + 0x48], ax
mov dword [rsp + 0x20], 1
lea r9d, [r13 + 1]
movzx r8d, ax
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140034ea0
nop
mov r14, qword [rsp + 0x38]
movsxd rcx, dword [r14 + 8]
mov eax, dword [r14 + 0xc]
sub eax, ecx
cmp eax, 4
jne 0x1400c3a26
lea rax, [r14 + 0x20]
lea rcx, [rax + rcx*8]
mov dword [rbp - 0x40], 2
lea rax, [0x14016c0b0]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.140084330
nop
mov r12d, 1
mov dword [rsp + 0x4c], r12d
lea rdx, [r15 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140088900
mov r14, qword [rsp + 0x38]
test al, al
je 0x1400c3a26
movzx ebx, r12b
jmp 0x1400c3a28
xor bl, bl
test r12b, 1
je 0x1400c3a61
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3a4e
cmp eax, 0xffffffff
je 0x1400c3a61
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3a5c
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov r14, qword [rsp + 0x38]
test bl, bl
je 0x1400c3af8
mov rcx, qword [r15 + 0x18]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x1400c3af3
mov eax, dword [r14]
test eax, eax
je 0x1400c3a92
cmp eax, 0xffffffff
je 0x1400c3aec
mov eax, esi
lock xadd dword [r14], eax
sub eax, 1
jne 0x1400c3aec
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 0x1400c3ae3
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3acd
cmp eax, 0xffffffff
je 0x1400c3ade
mov eax, esi
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1400c3ade
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400397e0
cmp rbx, rdi
jne 0x1400c3ab0
mov rcx, r14
call fcn.140103560
nop
xor al, al
jmp 0x1400c3f21
mov byte [r15 + 0x20], 1
mov eax, dword [r14]
test eax, eax
je 0x1400c3b15
cmp eax, 0xffffffff
je 0x1400c3b6e
mov eax, esi
lock xadd dword [r14], eax
sub eax, 1
jne 0x1400c3b6e
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 0x1400c3b65
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3b4f
cmp eax, 0xffffffff
je 0x1400c3b60
mov eax, esi
lock xadd dword [rcx], eax
sub eax, 1
jne 0x1400c3b60
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1400397e0
cmp rbx, r12
jne 0x1400c3b32
mov rcx, r14
call fcn.140103560
nop
mov rbx, qword [rsp + 0x70]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [r15 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1400c3b8d
cmp byte [r15 + 0x20], 0
je 0x1400c3aec
test al, al
jne 0x1400c3bc4
cmp byte [r15 + 0x20], al
je 0x1400c3bb2
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 0x1400c3bc4
xor al, al
jmp 0x1400c3f21
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400c3aec
cmp byte [r15 + 0x20], 0
je 0x1400c3cf5
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 + 0x58]
lea rcx, [rbp - 0x20]
call fcn.14003b130
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1400810c0
mov r8, rax
mov rdx, qword [rbx]
mov qword [rbp + 8], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
mov qword [rbp + 0x10], rdx
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rbx + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [rbx + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [rbx + 0x14], ax
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3c6d
cmp eax, 0xffffffff
je 0x1400c3c7b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3c7b
mov rcx, qword [rbp - 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3c99
cmp eax, 0xffffffff
je 0x1400c3ca8
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3ca8
mov rcx, qword [rbp - 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3cc6
cmp eax, 0xffffffff
je 0x1400c3cd4
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400c3cd4
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov dword [rdi + 0x10], 0x10
mov ecx, 0x40000
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
jmp 0x1400c3f1f
mov r8d, esi
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x40]
call fcn.140004300
nop
lea rax, [r15 + 8]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 8], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14003b130
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.1400810c0
mov r8, rax
mov rdx, qword [rbx]
mov qword [rbp + 0x18], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
mov qword [rbp - 0x80], rdx
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [rbx + 0x10], cx
movzx eax, word [rax + 0x12]
mov word [rbx + 0x12], ax
movzx eax, word [r8 + 0x14]
mov word [rbx + 0x14], ax
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3d96
cmp eax, 0xffffffff
je 0x1400c3da4
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3da4
mov rcx, qword [rbp - 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3dc2
cmp eax, 0xffffffff
je 0x1400c3dd1
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3dd1
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3df1
cmp eax, 0xffffffff
je 0x1400c3dff
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c3dff
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rsi
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rdi + 0x20], xmm0
mov dword [rsp + 0x70], 4
lea rax, [0x1401b2118]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
mov r8d, 1
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140030d10
test al, al
jne 0x1400c3ef3
mov eax, dword [rbp + 0x70]
mov dword [rdi + 0x10], eax
test al, 2
je 0x1400c3e6d
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 + 0x74]
mov qword [rdi + 0x14], rax
mov rax, qword [rbp + 0x7c]
mov qword [rdi + 0x1c], rax
mov rax, qword [rbp + 0x84]
mov qword [rdi + 0x24], rax
test byte [rdi + 0x10], 0x10
je 0x1400c3eb3
mov qword [rdi + 8], r13
jmp 0x1400c3eca
mov ecx, dword [rbp + 0x8c]
shl rcx, 0x20
mov eax, dword [rbp + 0x90]
add rcx, rax
mov qword [rdi + 8], rcx
or dword [rdi], 0x7210000
and dword [rdi + 4], 0xfffeffff
test dword [rdi + 0x10], 0x400
je 0x1400c3ef3
cmp dword [rbp + 0x94], 0xa000000c
jne 0x1400c3ef3
or dword [rdi + 4], 0x10000
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400c3f11
cmp eax, 0xffffffff
je 0x1400c3f1f
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400c3f1f
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov al, 1
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140103500
mov rbx, qword [rsp + 0x428]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret