Function at 0x1401d8230
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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x60], rdx
mov r13, rcx
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x38], r12d
xor al, al
lea rdi, [0x140484d90]
mov rsi, 0xffffffffffffffff
cmp qword [rcx + 0x10], rsi
jne 0x1401d8509
cmp byte [rcx + 0x20], al
jne 0x1401d8509
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x50]
call fcn.1401659e0
mov ecx, dword [0x14030e3d8]
cmp dword [rax], ecx
jne 0x1401d82cd
lea rdx, [0x14030e3d8]
mov rcx, rax
call fcn.140165b00
test eax, eax
mov eax, 1
jns 0x1401d82d0
mov eax, r12d
mov dword [rsp + 0x34], eax
lea ebx, [rax + rax]
mov edi, r12d
cmp byte [r13 + 0x28], r12b
setne dil
mov rcx, r13
call fcn.1400c02d0
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov r9d, edi
lea r8, [rbp - 0x40]
mov edx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r13 + 0x10], rax
cmp rax, rsi
jne 0x1401d84f8
mov dword [rsp + 0x50], 8
lea rax, str._UNC_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1400be7a0
test al, al
je 0x1401d84f8
mov r8d, 0x5c
mov dword [rsp + 0x20], 1
mov r9d, 1
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1400be5e0
nop
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 4
jne 0x1401d8426
mov rbx, qword [rax + 0x10]
add rbx, rax
lea r14, [0x1402e8784]
mov qword [rsp + 0x78], r14
mov edx, dword [rbx + 0x2c]
add edx, 2
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.1400b6170
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax + 0x10]
add rdi, rax
mov r8, rdi
mov edx, 2
mov rcx, r14
call fcn.1400b73a0
movsxd rcx, dword [rbx + 0x2c]
mov r8, qword [rbx + 0x20]
test r8, r8
jne 0x1401d83de
lea rdx, [0x140484d90]
add rdx, qword [0x140484da0]
jmp 0x1401d83f0
mov r8, qword [r8]
movsxd rdx, dword [rbx + 0x28]
mov rax, qword [r8 + 0x10]
lea rdx, [rax + rdx*2]
add rdx, r8
mov r8, rcx
add r8, r8
lea rcx, [rdi + 4]
call fcn.140258d60
nop
mov r14d, 0x41
mov dword [rsp + 0x38], r14d
lea rdx, [r13 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1401929b0
test al, al
mov rax, qword [rsp + 0x40]
je 0x1401d8426
mov bl, 1
jmp 0x1401d8428
xor bl, bl
test r14b, 1
je 0x1401d8471
and r14d, 0xfffffffe
mov dword [rsp + 0x38], r14d
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8457
cmp ecx, 0xffffffff
je 0x1401d846c
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d846c
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov rax, qword [rsp + 0x40]
test bl, bl
je 0x1401d84c3
mov rdx, qword [r13 + 0x18]
mov ecx, dword [rdx + 8]
cmp dword [rdx + 0xc], ecx
jne 0x1401d84be
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d84a2
cmp ecx, 0xffffffff
je 0x1401d8699
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401d8699
mov edx, select
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
xor al, al
jmp 0x1401d899d
mov byte [r13 + 0x20], 1
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d84de
cmp ecx, 0xffffffff
je 0x1401d84f3
mov rax, qword [rsp + 0x40]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d84f3
mov edx, select
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
mov r14d, dword [rsp + 0x38]
lea rdi, [0x140484d90]
movzx eax, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [r13 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1401d851e
cmp byte [r13 + 0x20], 0
je 0x1401d8699
test al, al
jne 0x1401d8544
cmp byte [r13 + 0x20], al
je 0x1401d8687
inc dword [r13 + 0x24]
mov rax, qword [r13 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r13 + 0x24], ecx
jge 0x1401d8699
cmp byte [r13 + 0x20], 0
je 0x1401d86a0
mov rdx, qword [r13 + 0x18]
movsxd rcx, dword [rdx + 8]
movsxd rax, dword [r13 + 0x24]
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 0x1401d857b
lock inc dword [rcx]
or dword [rsp + 0x38], 2
lea rcx, [rsp + 0x50]
call fcn.1400b7020
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140189610
mov rdx, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
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 ecx, word [rax + 0x12]
mov word [rbx + 0x12], cx
movzx eax, word [rax + 0x14]
mov word [rbx + 0x14], ax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d85ed
cmp ecx, 0xffffffff
je 0x1401d8602
mov rax, qword [rsp + 0x78]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d8602
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x78]
call fcn.1400affb0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8622
cmp ecx, 0xffffffff
je 0x1401d8638
mov rax, qword [rsp + 0x70]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d8638
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8656
cmp ecx, 0xffffffff
je 0x1401d866b
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401d866b
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov dword [r15 + select], 0x10
or dword [r15 + 4], 0x440000
or dword [r15], 0x560000
jmp 0x1401d899b
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401d8544
xor al, al
jmp 0x1401d899d
mov r8d, esi
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x60]
call fcn.1400ba830
nop
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov qword [rax], rdi
or r14d, 0x14
mov dword [rsp + 0x38], r14d
test r14b, 8
je 0x1401d8705
and r14d, 0xfffffff7
mov dword [rsp + 0x38], r14d
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1401d86f0
cmp eax, 0xffffffff
je 0x1401d8700
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401d8700
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov r14d, dword [rsp + 0x38]
test r14b, 4
je 0x1401d874a
and r14d, 0xfffffffb
mov dword [rsp + 0x38], r14d
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8734
cmp ecx, 0xffffffff
je 0x1401d874a
mov rax, qword [rsp + 0x60]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d874a
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1400affb0
nop
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x50], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x1401d875f
lock inc dword [rcx]
or dword [rsp + 0x38], 0x20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400b7020
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140189610
mov rdx, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
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 ecx, word [rax + 0x12]
mov word [rbx + 0x12], cx
movzx eax, word [rax + 0x14]
mov word [rbx + 0x14], ax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d87d6
cmp ecx, 0xffffffff
je 0x1401d87eb
mov rax, qword [rsp + 0x78]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d87eb
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x78]
call fcn.1400affb0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d880b
cmp ecx, 0xffffffff
je 0x1401d8821
mov rax, qword [rsp + 0x70]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d8821
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8841
cmp ecx, 0xffffffff
je 0x1401d8856
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d8856
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [r15 + 0x20], xmm0
movsd xmm1, qword [rbp - 0x48]
movsd qword [r15 + 0x30], xmm1
mov dword [rsp + 0x60], 4
lea rax, str..lnk
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400b9b70
test al, al
jne 0x1401d8968
mov edx, dword [rbp - 0x40]
mov dword [r15 + 0x10], edx
test dl, 2
je 0x1401d88d3
or dword [r15 + 4], 0x100000
test dl, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [r15 + 4]
bts ecx, 0x16
mov r8d, dword [r15]
or r8d, 0x560000
mov rax, qword [rbp - 0x3c]
mov qword [r15 + 0x14], rax
mov rax, qword [rbp - 0x34]
mov qword [r15 + 0x24], rax
mov rax, qword [rbp - 0x2c]
mov qword [r15 + 0x2c], rax
mov qword [r15 + 0x1c], rax
mov r9d, edx
and r9d, 0x10
jne 0x1401d8928
mov r12d, dword [rbp - 0x24]
shl r12, 0x20
mov eax, dword [rbp - 0x20]
add r12, rax
mov qword [r15 + 8], r12
or r8d, 0x2210000
mov dword [r15], r8d
btr ecx, 0x10
mov dword [r15 + 4], ecx
bt edx, 0xa
jae 0x1401d8968
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x1401d8954
bts ecx, 0x10
jmp 0x1401d8964
test r9d, r9d
je 0x1401d8968
cmp eax, 0xa0000003
jne 0x1401d8968
bts ecx, 0x1a
mov dword [r15 + 4], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d8986
cmp ecx, 0xffffffff
je 0x1401d899b
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401d899b
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
mov al, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140229fa0
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret