Function at 0x18019ded0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe60]
sub rsp, 0xf60
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0xfb8], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0xe50], rax
mov r13, r8
mov qword [rsp + 0x30], rcx
xor r15d, r15d
cmp word [rdx], r15w
jne 0x18019df23
mov r8d, r15d
jmp 0x18019df3a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x18019df30
call fcn.18005c660
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r14, r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa30]
call fcn.180233580
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x400]
call fcn.180233580
mov r8, r13
lea rdx, [0x1802abd74]
lea rcx, [rbp + 0xa30]
call fcn.18005c530
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x610]
call fcn.180233580
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x820]
call fcn.180233580
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc40]
call fcn.180233580
lea r8, [rbp + 0xa30]
lea rdx, [0x1802ac140]
lea rcx, [rbp + 0xc40]
call fcn.18005c530
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xc40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov rsi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
je 0x18019e280
lea rbx, str..wncl
nop dword [rax + rax]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18019e280
cmp word [rbp - 0x34], 0x2e
je 0x18019e020
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x18019e020
cmp ax, 0x2e
jne 0x18019e052
cmp word [rbp - 0x30], 0
je 0x18019e020
test byte [rbp - 0x60], 0x10
jne 0x18019e020
lea r8, [rbp - 0x34]
lea rdx, [0x1802abd74]
lea rcx, [rbp + 0x610]
call fcn.18005c530
lea rcx, [rbp + 0x610]
call fcn.18023b948
mov rdx, rbx
lea rcx, [rbp + 0x610]
call fcn.180232988
test rax, rax
je 0x18019e020
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.180233580
mov edx, 0x2e
lea rcx, [rbp + 0x610]
call fcn.1802328bc
mov rcx, rax
test rax, rax
je 0x18019e0f0
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18019e0c0
cmp eax, 0x104
jge 0x18019e0f0
lea rdx, [rbp + 0x1f0]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18019e0e0
mov rcx, r15
lea rdx, [rbp + 0x1f0]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rbx + rcx*2 - 2]
jne 0x18019e020
cmp rcx, 6
jne 0x18019e100
lea r8, [rbp - 0x34]
lea rdx, [0x1802abd74]
lea rcx, [rbp + 0x820]
call fcn.18005c530
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r15
mov word [rbp - 0x80], r15w
cmp word [rbp + 0x820], 0
jne 0x18019e14f
mov r8, r15
jmp 0x18019e16b
lea rax, [rbp + 0x820]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18019e160
lea rdx, [rbp + 0x820]
lea rcx, [rbp - 0x80]
call fcn.18005c660
nop
lea rax, [rbp - 0x80]
cmp rax, rsi
jae 0x18019e1fc
lea rax, [rbp - 0x80]
cmp r12, rax
ja 0x18019e1fc
lea rbx, [rbp - 0x80]
sub rbx, r12
cmp rsi, r14
jne 0x18019e1bd
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.180065a80
mov r14, qword [rsp + 0x50]
mov qword [rsp + 0x58], r14
mov rsi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
and rbx, 0xffffffffffffffe0
add rbx, r12
test rsi, rsi
je 0x18019e1f3
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 8
jb 0x18019e1e1
mov rax, qword [rsi]
jmp 0x18019e1e4
mov rax, rsi
mov word [rax], r15w
mov rdx, rbx
mov rcx, rsi
call fcn.18005c590
lea rbx, str..wncl
jmp 0x18019e254
cmp rsi, r14
jne 0x18019e224
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.180065a80
mov r14, qword [rsp + 0x50]
mov qword [rsp + 0x58], r14
mov rsi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
test rsi, rsi
je 0x18019e254
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 8
jb 0x18019e241
mov rax, qword [rsi]
jmp 0x18019e244
mov rax, rsi
mov word [rax], r15w
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005c590
add rsi, 0x20
mov qword [rsp + 0x48], rsi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x18019e020
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.18005cac0
jmp 0x18019e020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r15b, 1
mov rdi, r12
cmp r12, rsi
je 0x18019e591
mov r12, qword [rsp + 0x30]
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x18019e2ac
mov rbx, qword [rdi]
jmp 0x18019e2af
mov rbx, rdi
mov r9, rbx
mov r8, r13
lea rdx, [0x1802abef8]
lea rcx, [rbp + 0x400]
call fcn.18005c530
mov ecx, 0xc0
call fcn.1802037c4
mov qword [rsp + 0x78], rax
mov rcx, rax
call fcn.1801d9b70
nop
mov qword [rsp + 0x30], rax
cmp word [r13], 0
jne 0x18019e2f5
xor r14d, r14d
mov r8d, r14d
jmp 0x18019e30f
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [r13 + r8*2], 0
jne 0x18019e300
xor r14d, r14d
lea rcx, [rax + 0xa0]
mov rdx, r13
call fcn.18005c660
lea r9, [rbp + 0x400]
mov r8, rbx
mov rcx, qword [rsp + 0x30]
call fcn.1801d9dd0
test eax, eax
jne 0x18019e514
cmp r15b, 1
jne 0x18019e345
xor r15b, r15b
jmp 0x18019e35c
lea rcx, [r12 + 0x20]
mov r8d, 1
lea rdx, [0x1802ac5d0]
call fcn.18005ffc0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp word [rbx], 0
jne 0x18019e378
mov r8, r14
jmp 0x18019e38b
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x18019e380
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18005c660
nop
mov edx, 0x2e
xor r8d, r8d
lea rcx, [rbp - 0x80]
call fcn.18006da50
mov rbx, rax
mov dword [rsp + 0x38], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.180233580
movsxd r8, ebx
cmp r8, qword [rbp - 0x70]
cmova r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
test r8, r8
je 0x18019e3f2
add r8, r8
lea rcx, [rbp + 0x1f0]
call fcn.180232390
cmp word [rbp + 0x1f0], 0
jne 0x18019e401
mov r8, r14
jmp 0x18019e41b
lea rax, [rbp + 0x1f0]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18019e410
lea rcx, [r12 + 0x20]
lea rdx, [rbp + 0x1f0]
call fcn.18005ffc0
lea rcx, [rbp + 0x1f0]
call fcn.18023b52c
mov dword [rsp + 0x38], eax
mov rcx, qword [r12 + 0x48]
mov rdx, qword [rcx + 8]
mov rbx, rcx
cmp byte [rdx + 0x19], 0
jne 0x18019e467
nop
cmp dword [rdx + 0x20], eax
jge 0x18019e45b
mov rdx, qword [rdx + 0x10]
jmp 0x18019e461
mov rbx, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x18019e450
cmp rbx, rcx
je 0x18019e471
cmp eax, dword [rbx + 0x20]
jge 0x18019e4aa
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
lea rcx, [r12 + 0x48]
call fcn.18019ee70
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [r12 + 0x48]
call fcn.18019eeb0
mov rbx, qword [rsp + 0x68]
cmp word [rbp + 0x400], 0
jne 0x18019e4bc
xor r14d, r14d
mov r8d, r14d
jmp 0x18019e4de
lea rax, [rbp + 0x400]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18019e4d0
xor r14d, r14d
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x400]
call fcn.18005c660
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18019e512
mov rcx, rbx
call fcn.1801d9c90
mov edx, 0xc0
mov rcx, rbx
call fcn.180085310
mov qword [rsp + 0x30], r14
jmp 0x18019e560
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp word [rbx], 0
jne 0x18019e530
mov r8, r14
jmp 0x18019e53f
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x18019e534
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18005c660
nop
mov rcx, qword [r12 + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call qword [rax]
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x18019e57a
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.18005cac0
add rdi, 0x20
cmp rdi, rsi
jne 0x18019e2a0
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
test r12, r12
je 0x18019e5b3
mov rdx, rsi
mov rcx, r12
call fcn.180066100
sub r14, r12
sar r14, 5
mov r8, r14
mov rdx, r12
call fcn.180063e70
mov eax, 1
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0xfb8]
add rsp, 0xf60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret