Function at 0x1400121e8
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140024010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
call fcn.140001690
mov rcx, rax
test rax, rax
je 0x1400124d1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x14001b738]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rsi, [r15 + 8]
mov r8, qword [rsi]
lea rdx, str.Looking_for_files_using_search_template:__s
lea rcx, [rsp + 0x38]
call fcn.140004fd8
mov rdi, qword [rsp + 0x38]
add rdi, 0xffffffffffffffe8
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.140001f9c
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r13, [r14 + 0x1f0]
mov r14d, 1
mov r9b, r14b
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1400058b0
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400122e6
lea rdx, str.Could_not_find_any_files_matching_the_search_template.
lea rcx, [rsp + 0x28]
call fcn.140004930
mov r9b, r14b
xor r8d, r8d
mov rdx, rax
mov rcx, r13
call fcn.1400058b0
xor eax, eax
mov r14d, eax
jmp 0x140012484
mov edx, 0x5c
mov rcx, qword [rsi]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
xor edi, edi
test rax, rax
jne 0x140012300
or eax, 0xffffffff
jmp 0x140012306
sub rax, qword [rsi]
sar rax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1400044e8
nop
mov rsi, qword [rsp + 0x28]
mov rcx, r13
call fcn.1400059bc
test al, al
jne 0x14001244e
test byte [rbp - 0x80], 0x10
jne 0x140012439
lea r8, [0x14001c49c]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1400042cc
nop
lea rcx, [rbp - 0x54]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140012358
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x20]
call fcn.140004ec0
lea rcx, [rsp + 0x50]
call fcn.140005e00
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400048ac
lea rcx, [rbp - 0x54]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140012394
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.1400021f0
lea rdx, [r15 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400048ac
mov eax, dword [r15 + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [r15 + 0x1c]
mov dword [rsp + 0x6c], eax
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400123ea
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14000b2c4
add qword [rbx + 8], 0x28
jmp 0x1400123fa
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
call fcn.14001329c
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140011ca4
nop
lea rcx, [rsp + 0x50]
call fcn.1400087a8
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012439
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001231f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
mov rdi, qword [rsp + 0x30]
jg 0x140012484
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1400124a4
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [0x14001b738]
mov eax, r14d
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400185a0
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001500
int3