Function at 0x1800266e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xe10]
sub rsp, 0xf10
mov rax, qword [0x180074020]
xor rax, rsp
mov qword [rbp + 0xdf0], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9d0]
call fcn.18002b450
test rsi, rsi
je 0x180026740
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov rdx, rsi
mov rcx, r14
call fcn.1800264f0
lea rdx, [rbp + 0x9d0]
mov rcx, rdi
sub rdx, rdi
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180026750
lea rcx, [rbp + 0x9d0]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180026770
mov eax, dword [0x18006c7c8]
lea rdx, [rsp + 0x40]
mov dword [rcx], eax
movzx eax, word [0x18006c7cc]
mov word [rcx + 4], ax
lea rcx, [rbp + 0x9d0]
mov qword [rsp + 0xf08], rbx
mov qword [rsp + 0xf00], r12
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180026b80
xor r12d, r12d
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x180026b5f
movzx ecx, word [rsp + 0x6c]
movzx eax, word [rsp + 0x6e]
cmp cx, 0x2e
jne 0x1800267fd
test ax, ax
je 0x1800267c0
cmp cx, cx
jne 0x1800267fd
cmp ax, cx
jne 0x1800267fd
cmp word [rsp + 0x70], r12w
je 0x1800267c0
xor edx, edx
mov r8d, 0x208
test byte [rsp + 0x40], 0x10
je 0x180026975
lea rcx, [rbp + 0x190]
call fcn.18002b450
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x208
call fcn.18002b450
lea rcx, [rbp + 0x190]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026840
xor edx, edx
nop dword [rax]
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180026850
lea rcx, [rbp + 0x190]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026870
mov eax, dword [0x180061e04]
lea rdx, [rbp + 0x190]
sub rdx, 2
mov dword [rcx], eax
nop
cmp word [rdx + 2], r12w
lea rdx, [rdx + 2]
jne 0x180026890
lea r9, [rsp + 0x6c]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r9 + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x1800268b0
lea rdx, [rbp + 0x3a0]
sub rdx, 2
nop
cmp word [rdx + 2], r12w
lea rdx, [rdx + 2]
jne 0x1800268d0
xor r8d, r8d
nop
movzx ecx, word [rdi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x1800268e0
lea rcx, [rbp + 0x3a0]
sub rcx, 2
nop
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026900
mov dword [rcx], eax
lea rcx, [rbp + 0x3a0]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026920
lea r8, [rsp + 0x6c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180026940
lea r8, [rbp + 0x190]
mov rcx, r14
lea rdx, [rbp + 0x3a0]
call fcn.1800266e0
test eax, eax
jne 0x1800267c0
jmp 0x180026b80
lea rcx, [rbp + 0x5b0]
call fcn.18002b450
xor edx, edx
lea rcx, [rbp + 0x7c0]
mov r8d, 0x208
call fcn.18002b450
lea rdx, [rbp + 0x5b0]
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800269b0
lea rcx, [rbp + 0x5b0]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x1800269d0
mov eax, dword [0x180061e04]
lea rdx, [rbp + 0x5b0]
sub rdx, 2
mov dword [rcx], eax
nop
cmp word [rdx + 2], r12w
lea rdx, [rdx + 2]
jne 0x1800269f0
lea r9, [rsp + 0x6c]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r9 + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x180026a10
lea rdx, [rbp + 0x7c0]
sub rdx, 2
nop
cmp word [rdx + 2], r12w
lea rdx, [rdx + 2]
jne 0x180026a30
xor r8d, r8d
nop
movzx ecx, word [rdi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x180026a40
lea rcx, [rbp + 0x7c0]
sub rcx, 2
nop
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026a60
mov dword [rcx], eax
lea rcx, [rbp + 0x7c0]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x180026a80
lea r8, [rsp + 0x6c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180026aa0
test r14, r14
je 0x180026b53
cmp dword [r14], 2
jne 0x180026b47
mov rbx, qword [r14 + 8]
lea rcx, [rbp + 0xbe0]
xor edx, edx
mov r8d, 0x208
call fcn.18002b450
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0xbe0]
mov qword [rsp + 0x30], r12
lea r8, [rbp + 0x5b0]
mov dword [rsp + 0x28], 0x206
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
je 0x180026b80
lea r8, [rbp + 0x7c0]
mov dword [rsp + 0x20], 2
lea rdx, [rbp + 0xbe0]
mov rcx, rbx
call fcn.180025990
mov dword [0x180076c08], eax
test eax, eax
je 0x1800267c0
jmp 0x180026b80
mov dword [0x180076c08], 0x80000
jmp 0x180026b80
mov dword [0x180076c08], 0x10000
jmp 0x180026b80
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, r15
cmp eax, 0x12
jne 0x180026b7a
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 1
jmp 0x180026b82
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
mov r12, qword [rsp + 0xf00]
mov rbx, qword [rsp + 0xf08]
mov rcx, qword [rbp + 0xdf0]
xor rcx, rsp
call fcn.1800292f0
add rsp, 0xf10
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret