Function at 0x1401b2780
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r14, r8
mov r12, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x38], r15d
xor r13b, r13b
mov rsi, 0xffffffffffffffff
cmp qword [rcx + 0x30], rsi
jne 0x1401b2999
cmp byte [rcx + 0x50], r13b
jne 0x1401b2999
mov r13b, 1
mov byte [rsp + 0x30], r13b
mov ebx, r15d
cmp byte [rcx + 0x58], r15b
setne bl
call fcn.140094f20
mov rcx, rax
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], r15
mov r9d, ebx
lea r8, [rbp + 0xf0]
lea edx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x30], rax
cmp rax, rsi
jne 0x1401b2999
mov qword [rbp - 0x40], 8
lea rax, str._UNC_
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp], xmm0
lea r8d, [r15 + 1]
lea rdx, [rbp]
mov rcx, rdi
call fcn.140093300
test al, al
je 0x1401b2999
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
lea r8d, [r15 + 0x5c]
mov dword [rsp + 0x20], 1
lea r9d, [r15 + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400930e0
nop
cmp qword [rsp + 0x50], 4
jne 0x1401b290d
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x20], 2
lea rax, [0x1402ca5a0]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbx + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.140087220
mov r13, qword [rbp - 0x58]
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.1400885d0
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1401b28f0
add r8, r8
mov rdx, qword [rbx + 0x28]
lea rcx, [r13 + 4]
call fcn.14023ffe0
nop
mov dword [rsp + 0x38], 0x41
lea rdx, [rdi + 0x38]
lea rcx, [rbp - 0x60]
call fcn.14013f890
test al, al
je 0x1401b290d
mov bl, 1
jmp 0x1401b290f
xor bl, bl
mov eax, dword [rsp + 0x38]
test al, 1
je 0x1401b2939
and dword [rsp + 0x38], 0xfffffffe
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1401b2939
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2939
mov rcx, qword [rbp - 0x60]
call fcn.14021b7f0
test bl, bl
je 0x1401b2974
cmp qword [rdi + 0x48], 0
jne 0x1401b2970
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1401b2b4b
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2b4b
mov rcx, qword [rsp + 0x40]
call fcn.14021b7f0
xor al, al
jmp 0x1401b2e59
mov byte [rdi + 0x50], 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401b2993
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2993
mov rcx, qword [rsp + 0x40]
call fcn.14021b7f0
movzx r13d, byte [rsp + 0x30]
mov rcx, qword [rdi + 0x30]
cmp rcx, 0xffffffffffffffff
jne 0x1401b29ad
cmp byte [rdi + 0x50], 0
je 0x1401b2b4b
test r13b, r13b
jne 0x1401b29cd
cmp byte [rdi + 0x50], r13b
je 0x1401b2b36
inc dword [rdi + 0x54]
movsxd rax, dword [rdi + 0x54]
cmp rax, qword [rdi + 0x48]
jge 0x1401b2b4b
cmp byte [rdi + 0x50], 0
je 0x1401b2b52
movsxd rax, dword [rdi + 0x54]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x40]
lea rdx, [rax + rcx*8]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x58], rcx
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x68], rax
test rcx, rcx
je 0x1401b2a0a
lock inc dword [rcx]
or dword [rsp + 0x38], 2
lea rcx, [rsp + 0x58]
call fcn.140088350
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.140134c80
mov r8, rax
mov rdx, qword [r12]
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rdx, qword [r12 + 8]
mov rcx, qword [rax + 8]
mov qword [r12 + 8], rcx
mov qword [rax + 8], rdx
mov rdx, qword [r12 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r12 + 0x10], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [r12 + 0x18]
mov rax, qword [rax + 0x18]
mov qword [r12 + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [r12 + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [r12 + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [r12 + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [r12 + 0x28], rax
mov qword [r8 + 0x28], rcx
movzx eax, word [r8 + 0x30]
mov word [r12 + 0x30], ax
movzx eax, word [r8 + 0x32]
mov word [r12 + 0x32], ax
movzx eax, word [r8 + 0x34]
mov word [r12 + 0x34], ax
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x1401b2ad9
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2ad9
mov rcx, qword [rbp + 0x98]
call fcn.14021b7f0
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1401b2afd
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2afd
mov rcx, qword [rbp + 0x80]
call fcn.14021b7f0
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401b2b1a
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2b1a
mov rcx, qword [rsp + 0x58]
call fcn.14021b7f0
mov dword [r14 + 0x10], 0x10
or dword [r14 + 4], 0x440000
or dword [r14], 0x560000
jmp 0x1401b2e57
lea rdx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401b29cd
xor al, al
jmp 0x1401b2e59
mov r8, rsi
lea rdx, [rbp + 0x11c]
lea rcx, [rbp + 0x30]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rbp - 0x78], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x70], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x68], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov eax, dword [rsp + 0x38]
or eax, 0x14
mov dword [rsp + 0x38], eax
test al, 8
je 0x1401b2bb7
and dword [rsp + 0x38], 0xfffffff7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401b2bb7
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2bb7
call fcn.14021b7f0
nop
mov eax, dword [rsp + 0x38]
test al, 4
je 0x1401b2be2
and dword [rsp + 0x38], 0xfffffffb
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1401b2be2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2be2
mov rcx, qword [rbp + 0x30]
call fcn.14021b7f0
nop
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x70], rcx
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x78], rax
mov rax, qword [rdi + 0x28]
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x1401b2c04
lock inc dword [rcx]
or dword [rsp + 0x38], 0x20
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call fcn.140088350
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb8]
call fcn.140134c80
mov r8, rax
mov rdx, qword [r12]
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rdx, qword [r12 + 8]
mov rcx, qword [rax + 8]
mov qword [r12 + 8], rcx
mov qword [rax + 8], rdx
mov rdx, qword [r12 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r12 + 0x10], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [r12 + 0x18]
mov rax, qword [rax + 0x18]
mov qword [r12 + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [r12 + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [r12 + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [r12 + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [r12 + 0x28], rax
mov qword [r8 + 0x28], rcx
movzx eax, word [r8 + 0x30]
mov word [r12 + 0x30], ax
movzx eax, word [r8 + 0x32]
mov word [r12 + 0x32], ax
movzx eax, word [r8 + 0x34]
mov word [r12 + 0x34], ax
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1401b2cd7
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2cd7
mov rcx, qword [rbp + 0xd0]
call fcn.14021b7f0
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1401b2cfb
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2cfb
mov rcx, qword [rbp + 0xb8]
call fcn.14021b7f0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401b2d1a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2d1a
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], rsi
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x58]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [r14 + 0x20], xmm0
movsd xmm1, qword [rbp + 0x78]
movsd qword [r14 + 0x30], xmm1
mov qword [rbp - 0x10], 4
lea rax, [0x1402cabf8]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
mov r8d, 1
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.14008cbe0
test al, al
jne 0x1401b2e3c
mov edx, dword [rbp + 0xf0]
mov dword [r14 + 0x10], edx
test dl, 2
je 0x1401b2d95
or dword [r14 + 4], 0x100000
test dl, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [r14 + 4]
bts ecx, 0x16
mov r8d, dword [r14]
or r8d, 0x560000
mov rax, qword [rbp + 0xf4]
mov qword [r14 + 0x14], rax
mov rax, qword [rbp + 0xfc]
mov qword [r14 + 0x24], rax
mov rax, qword [rbp + 0x104]
mov qword [r14 + 0x2c], rax
mov qword [r14 + 0x1c], rax
mov r9d, edx
and r9d, 0x10
jne 0x1401b2df9
mov r15d, dword [rbp + 0x10c]
shl r15, 0x20
mov eax, dword [rbp + 0x110]
add r15, rax
mov qword [r14 + 8], r15
or r8d, 0x2210000
mov dword [r14], r8d
btr ecx, 0x10
mov dword [r14 + 4], ecx
bt edx, 0xa
jae 0x1401b2e3c
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x1401b2e28
bts ecx, 0x10
jmp 0x1401b2e38
test r9d, r9d
je 0x1401b2e3c
cmp eax, 0xa0000003
jne 0x1401b2e3c
bts ecx, 0x1a
mov dword [r14 + 4], ecx
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1401b2e57
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2e57
mov rcx, qword [rbp - 0x78]
call fcn.14021b7f0
mov al, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140214310
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret