Function at 0x1401bb430
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 - 0x390]
sub rsp, 0x490
mov rax, qword [0x14038d940]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r12, r8
mov r13, rdx
mov qword [rsp + 0x50], rdx
mov rdi, rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x34], esi
xor al, al
mov r15, 0xffffffffffffffff
cmp qword [rcx + 0x30], r15
jne 0x1401bb682
cmp byte [rcx + 0x50], al
jne 0x1401bb682
mov byte [rsp + 0x30], 1
mov ebx, esi
cmp byte [rcx + 0x58], al
setne bl
call fcn.140094620
mov rcx, rax
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea r8, [rbp + 0x130]
lea edx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x30], rax
cmp rax, r15
jne 0x1401bb6e4
mov qword [rbp + 0x10], 8
lea rax, str._UNC_
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x40], xmm0
lea r8d, [rsi + 1]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.1400928a0
test al, al
je 0x1401bb67d
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
lea r8d, [rsi + 0x5c]
mov dword [rsp + 0x20], 1
lea r9d, [rsi + 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x20]
call fcn.1400926d0
nop
cmp qword [rbp - 0x18], 4
jne 0x1401bb5eb
mov rbx, qword [rbp - 0x20]
mov qword [rbp + 0x30], 2
lea rax, [0x1402d7b90]
mov qword [rbp + 0x38], rax
mov rdx, qword [rbx + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.140086b60
mov r14, qword [rsp + 0x68]
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x50], xmm0
mov rdx, r14
lea rcx, [rbp + 0x50]
call fcn.140087e60
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1401bb5a1
add r8, r8
mov rdx, qword [rbx + 0x28]
lea rcx, [r14 + 4]
call fcn.14024bde0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov qword [rbp - 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov qword [rbp], rax
mov r14d, 0x301
mov dword [rsp + 0x34], r14d
lea rdx, [rdi + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140146410
test al, al
je 0x1401bb5eb
mov bl, 1
jmp 0x1401bb5ed
xor bl, bl
test r14b, 1
je 0x1401bb61f
and r14d, 0xfffffffe
mov dword [rsp + 0x34], r14d
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1401bb61f
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb61a
mov rcx, qword [rbp - 0x10]
call fcn.1402275a0
mov r14d, dword [rsp + 0x34]
test bl, bl
je 0x1401bb65a
cmp qword [rdi + 0x48], 0
jne 0x1401bb656
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1401bb6f9
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1401bb6f9
mov rcx, qword [rbp - 0x28]
call fcn.1402275a0
xor al, al
jmp 0x1401bbc5b
mov byte [rdi + 0x50], 1
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1401bb67d
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb678
mov rcx, qword [rbp - 0x28]
call fcn.1402275a0
mov r14d, dword [rsp + 0x34]
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rdi + 0x30]
cmp rcx, 0xffffffffffffffff
jne 0x1401bb692
cmp byte [rdi + 0x50], 0
je 0x1401bb6f9
test al, al
jne 0x1401bb6a8
cmp byte [rdi + 0x50], al
je 0x1401bb6e8
inc dword [rdi + 0x54]
movsxd rax, dword [rdi + 0x54]
cmp rax, qword [rdi + 0x48]
jge 0x1401bb6f9
cmp byte [rdi + 0x50], 0
je 0x1401bb8b0
movsxd rax, dword [rdi + 0x54]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x40]
lea rdx, [rax + rcx*8]
mov r14, rdx
cmp qword [rdi + 0x20], 0
jne 0x1401bb700
cmp qword [rdx + 8], 0
jne 0x1401bb700
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
jmp 0x1401bb79c
mov al, 1
jmp 0x1401bb682
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401bb6a8
xor al, al
jmp 0x1401bbc5b
mov rdx, qword [rdi + 0x28]
add rdx, qword [r14 + 0x10]
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.140086b60
mov r13, qword [rbp - 0x80]
mov rcx, qword [rdi + 0x28]
lea rbx, [0x14025be10]
test rcx, rcx
je 0x1401bb748
mov rax, qword [rdi + 0x20]
mov rdx, rbx
test rax, rax
cmovne rdx, rax
lea rdi, [rcx + rcx]
mov r8, rdi
mov rcx, r13
call fcn.14024bde0
jmp 0x1401bb74c
lea rdi, [rcx + rcx]
add r13, rdi
mov r8, qword [r14 + 0x10]
test r8, r8
je 0x1401bb771
mov rax, qword [r14 + 8]
test rax, rax
cmovne rbx, rax
add r8, r8
mov rdx, rbx
mov rcx, r13
call fcn.14024bde0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x60], rax
mov r13, qword [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xc0]
call fcn.14013b490
mov r8, rax
mov rdx, qword [r13]
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rdx, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov qword [r13 + 8], rcx
mov qword [rax + 8], rdx
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r13 + 0x10], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [r13 + 0x18]
mov rax, qword [rax + 0x18]
mov qword [r13 + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [r13 + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [r13 + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [r13 + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [r13 + 0x28], rax
mov qword [r8 + 0x28], rcx
movzx eax, word [r8 + 0x30]
mov word [r13 + 0x30], ax
movzx eax, word [r8 + 0x32]
mov word [r13 + 0x32], ax
movzx eax, word [r8 + 0x34]
mov word [r13 + 0x34], ax
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1401bb84f
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb84f
mov rcx, qword [rbp + 0xd8]
call fcn.1402275a0
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1401bb874
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb874
mov rcx, qword [rbp + 0xc0]
call fcn.1402275a0
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1401bb891
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1401bb891
mov rcx, qword [rbp - 0x70]
call fcn.1402275a0
mov dword [r12 + 0x10], 0x10
or dword [r12 + 4], 0x440000
or dword [r12], 0x560000
jmp 0x1401bbc59
mov r8, r15
lea rdx, [rbp + 0x15c]
lea rcx, [rbp + 0x70]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rsi
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x48], rcx
or r14d, 0x28
mov dword [rsp + 0x34], r14d
test r14b, 0x10
je 0x1401bb921
and r14d, 0xffffffef
mov dword [rsp + 0x34], r14d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401bb921
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb91c
call fcn.1402275a0
mov r14d, dword [rsp + 0x34]
test r14b, 8
je 0x1401bb946
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1401bb946
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bb946
mov rcx, qword [rbp + 0x70]
call fcn.1402275a0
nop
cmp qword [rdi + 0x20], 0
jne 0x1401bb966
cmp qword [rsp + 0x40], 0
jne 0x1401bb966
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
jmp 0x1401bb9fd
mov rdx, qword [rsp + 0x48]
add rdx, qword [rdi + 0x28]
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.140086b60
mov r14, qword [rbp - 0x50]
mov rcx, qword [rdi + 0x28]
lea rbx, [0x14025be10]
test rcx, rcx
je 0x1401bb9ae
mov rax, qword [rdi + 0x20]
mov rdx, rbx
test rax, rax
cmovne rdx, rax
lea rdi, [rcx + rcx]
mov r8, rdi
mov rcx, r14
call fcn.14024bde0
jmp 0x1401bb9b2
lea rdi, [rcx + rcx]
add r14, rdi
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1401bb9d9
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rbx, rax
add r8, r8
mov rdx, rbx
mov rcx, r14
call fcn.14024bde0
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf8]
call fcn.14013b490
mov r8, rax
mov rdx, qword [r13]
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rdx, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov qword [r13 + 8], rcx
mov qword [rax + 8], rdx
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r13 + 0x10], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [r13 + 0x18]
mov rax, qword [rax + 0x18]
mov qword [r13 + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [r13 + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [r13 + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [r13 + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [r13 + 0x28], rax
mov qword [r8 + 0x28], rcx
movzx eax, word [r8 + 0x30]
mov word [r13 + 0x30], ax
movzx eax, word [r8 + 0x32]
mov word [r13 + 0x32], ax
movzx eax, word [r8 + 0x34]
mov word [r13 + 0x34], ax
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1401bbab0
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bbab0
mov rcx, qword [rbp + 0x110]
call fcn.1402275a0
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x1401bbad5
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bbad5
mov rcx, qword [rbp + 0xf8]
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1401bbaf3
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401bbaf3
mov rcx, qword [rbp - 0x40]
call fcn.1402275a0
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], r15
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp + 0x98]
movups xmmword [r12 + 0x10], xmm1
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [r12 + 0x20], xmm0
movsd xmm1, qword [rbp + 0xb8]
movsd qword [r12 + 0x30], xmm1
mov qword [rsp + 0x50], 4
lea rax, [0x1402d81e8]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x60], xmm0
mov r8d, 1
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14008beb0
test al, al
jne 0x1401bbc3a
mov edx, dword [rbp + 0x130]
mov dword [r12 + 0x10], edx
test dl, 2
je 0x1401bbb8a
or dword [r12 + 4], 0x100000
test dl, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [r12 + 4]
bts ecx, 0x16
mov r8d, dword [r12]
or r8d, 0x560000
mov rax, qword [rbp + 0x134]
mov qword [r12 + 0x14], rax
mov rax, qword [rbp + 0x13c]
mov qword [r12 + 0x24], rax
mov rax, qword [rbp + 0x144]
mov qword [r12 + 0x2c], rax
mov qword [r12 + 0x1c], rax
mov r9d, edx
and r9d, 0x10
jne 0x1401bbbf3
mov esi, dword [rbp + 0x14c]
shl rsi, 0x20
mov eax, dword [rbp + 0x150]
add rsi, rax
mov qword [r12 + 8], rsi
or r8d, 0x2210000
mov dword [r12], r8d
btr ecx, 0x10
mov dword [r12 + 4], ecx
bt edx, 0xa
jae 0x1401bbc3a
mov eax, dword [rbp + 0x154]
cmp eax, 0xa000000c
jne 0x1401bbc25
bts ecx, 0x10
jmp 0x1401bbc35
test r9d, r9d
je 0x1401bbc3a
cmp eax, 0xa0000003
jne 0x1401bbc3a
bts ecx, 0x1a
mov dword [r12 + 4], ecx
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1401bbc59
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1401bbc59
mov rcx, qword [rsp + 0x38]
call fcn.1402275a0
mov al, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1402200b0
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret