Function at 0x14021a0f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8e0]
sub rsp, 0x9e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0xa20], rbx
mov rsi, r8
mov r14, rdx
xor edx, edx
mov r8d, 0x140
lea rcx, [rbp - 0x80]
call fcn.140249b10
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x4d0]
call fcn.140249b10
mov rdx, qword [r14 + 8]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str..log
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rcx, rsi
call fcn.140038cf0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
lea r13, vtable.CSABString.0
cmp rax, 0xffffffffffffffff
je 0x14021a3cb
lea rbx, vtable.CSASLogInstance.0
xor r12d, r12d
nop word [rax + rax]
test byte [rbp - 0x80], 0x10
jne 0x14021a374
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xc0]
call fcn.140249b10
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x48], r12d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov rbx, rax
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov dword [rsp + 0x4c], 1
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
lea ecx, [rax + 0x10]
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov dword [rsp + 0x64], 1
mov rdx, qword [r14 + 8]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
test rbx, rbx
je 0x14021a264
mov rcx, rbx
call fcn.140247060
mov qword [rsp + 0x40], r12
lea rcx, [rbp - 0x54]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14021a270
mov dword [rsp + 0x48], eax
inc eax
mov ebx, eax
mov ecx, eax
call fcn.140247068
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14021a2a1
mov r8d, ebx
lea rdx, [rbp - 0x54]
mov rcx, rax
call fcn.1402496a0
test rdi, rdi
je 0x14021a2b3
mov rcx, rdi
call fcn.140247060
mov qword [rsp + 0x58], r12
lea rcx, [rbp + 0xc0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14021a2c1
mov dword [rsp + 0x60], eax
lea ecx, [rax + 1]
mov ebx, ecx
call fcn.140247068
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14021a2f4
mov r8d, ebx
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.1402496a0
mov rax, qword [rbp - 0x7c]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsi]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140219cb0
mov rdx, qword [rsi + 8]
movabs rcx, 0x333333333333332
sub rcx, rdx
cmp rcx, 1
jb 0x14021a3fe
lea rcx, [rdx + 1]
mov qword [rsi + 8], rcx
mov qword [rbx + 8], rax
mov qword [rdi], rax
cmp dword [rsp + 0x64], 1
jne 0x14021a357
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14021a357
call fcn.140247060
cmp dword [rsp + 0x4c], 1
jne 0x14021a36d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14021a36d
call fcn.140247060
lea rbx, vtable.CSASLogInstance.0
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14021a1b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rbp + 0x928]
mov byte [rbp + 0x938], al
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x938]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140219ea0
nop
mov qword [r14], r13
add dword [r14 + 0x14], 0xffffffff
jne 0x14021a3e3
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14021a3e3
call fcn.140247060
mov rbx, qword [rsp + 0xa20]
add rsp, 0x9e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3