Function at 0x1401b27b0
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 0x1401b29c9
cmp byte [rcx + 0x50], r13b
jne 0x1401b29c9
mov r13b, 1
mov byte [rsp + 0x30], r13b
mov ebx, r15d
cmp byte [rcx + 0x58], r15b
setne bl
call fcn.140094f50
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 0x1401b29c9
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.140093330
test al, al
je 0x1401b29c9
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.140093110
nop
cmp qword [rsp + 0x50], 4
jne 0x1401b293d
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x20], 2
lea rax, [0x1402ca580]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbx + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.140087250
mov r13, qword [rbp - 0x58]
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140088600
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1401b2920
add r8, r8
mov rdx, qword [rbx + 0x28]
lea rcx, [r13 + 4]
call fcn.140240000
nop
mov dword [rsp + 0x38], 0x41
lea rdx, [rdi + 0x38]
lea rcx, [rbp - 0x60]
call fcn.14013f8c0
test al, al
je 0x1401b293d
mov bl, 1
jmp 0x1401b293f
xor bl, bl
mov eax, dword [rsp + 0x38]
test al, 1
je 0x1401b2969
and dword [rsp + 0x38], 0xfffffffe
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1401b2969
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2969
mov rcx, qword [rbp - 0x60]
call fcn.14021b810
test bl, bl
je 0x1401b29a4
cmp qword [rdi + 0x48], 0
jne 0x1401b29a0
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1401b2b7b
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2b7b
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
xor al, al
jmp 0x1401b2e89
mov byte [rdi + 0x50], 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401b29c3
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b29c3
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
movzx r13d, byte [rsp + 0x30]
mov rcx, qword [rdi + 0x30]
cmp rcx, 0xffffffffffffffff
jne 0x1401b29dd
cmp byte [rdi + 0x50], 0
je 0x1401b2b7b
test r13b, r13b
jne 0x1401b29fd
cmp byte [rdi + 0x50], r13b
je 0x1401b2b66
inc dword [rdi + 0x54]
movsxd rax, dword [rdi + 0x54]
cmp rax, qword [rdi + 0x48]
jge 0x1401b2b7b
cmp byte [rdi + 0x50], 0
je 0x1401b2b82
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 0x1401b2a3a
lock inc dword [rcx]
or dword [rsp + 0x38], 2
lea rcx, [rsp + 0x58]
call fcn.140088380
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.140134cb0
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 0x1401b2b09
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2b09
mov rcx, qword [rbp + 0x98]
call fcn.14021b810
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1401b2b2d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2b2d
mov rcx, qword [rbp + 0x80]
call fcn.14021b810
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401b2b4a
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2b4a
mov rcx, qword [rsp + 0x58]
call fcn.14021b810
mov dword [r14 + reloc.SHLWAPI.dll_SHCreateThread], 0x10
or dword [r14 + 4], 0x440000
or dword [r14], 0x560000
jmp 0x1401b2e87
lea rdx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401b29fd
xor al, al
jmp 0x1401b2e89
mov r8, rsi
lea rdx, [rbp + 0x11c]
lea rcx, [rbp + 0x30]
call fcn.14008e230
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 0x1401b2be7
and dword [rsp + 0x38], 0xfffffff7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401b2be7
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2be7
call fcn.14021b810
nop
mov eax, dword [rsp + 0x38]
test al, 4
je 0x1401b2c12
and dword [rsp + 0x38], 0xfffffffb
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1401b2c12
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2c12
mov rcx, qword [rbp + 0x30]
call fcn.14021b810
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 0x1401b2c34
lock inc dword [rcx]
or dword [rsp + 0x38], 0x20
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call fcn.140088380
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb8]
call fcn.140134cb0
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 0x1401b2d07
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2d07
mov rcx, qword [rbp + 0xd0]
call fcn.14021b810
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1401b2d2b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2d2b
mov rcx, qword [rbp + 0xb8]
call fcn.14021b810
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401b2d4a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b2d4a
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
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, [0x1402cabd8]
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.14008cc10
test al, al
jne 0x1401b2e6c
mov edx, dword [rbp + 0xf0]
mov dword [r14 + 0x10], edx
test dl, 2
je 0x1401b2dc5
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 0x1401b2e29
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 0x1401b2e6c
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x1401b2e58
bts ecx, 0x10
jmp 0x1401b2e68
test r9d, r9d
je 0x1401b2e6c
cmp eax, 0xa0000003
jne 0x1401b2e6c
bts ecx, 0x1a
mov dword [r14 + 4], ecx
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1401b2e87
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401b2e87
mov rcx, qword [rbp - 0x78]
call fcn.14021b810
mov al, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140214340
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret