Function at 0x140011824
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 [0x140023010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
call fcn.140001680
mov rcx, rax
test rax, rax
je 0x140011b0d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x14001a700]
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.140004858
mov rdi, qword [rsp + 0x38]
add rdi, 0xffffffffffffffe8
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.140001e4c
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r13, [r14 + 0x1e0]
mov r14d, 1
mov r9b, r14b
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140004f24
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140011922
lea rdx, str.Could_not_find_any_files_matching_the_search_template.
lea rcx, [rsp + 0x28]
call fcn.14000425c
mov r9b, r14b
xor r8d, r8d
mov rdx, rax
mov rcx, r13
call fcn.140004f24
xor eax, eax
mov r14d, eax
jmp 0x140011ac0
mov edx, 0x5c
mov rcx, qword [rsi]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
xor edi, edi
test rax, rax
jne 0x14001193c
or eax, 0xffffffff
jmp 0x140011942
sub rax, qword [rsi]
sar rax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140003d54
nop
mov rsi, qword [rsp + 0x28]
mov rcx, r13
call fcn.140005030
test al, al
jne 0x140011a8a
test byte [rbp - 0x80], 0x10
jne 0x140011a75
lea r8, [0x14001b41c]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140003bf0
nop
lea rcx, [rbp - 0x54]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140011994
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x20]
call fcn.140004740
lea rcx, [rsp + 0x50]
call fcn.140005680
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400041d8
lea rcx, [rbp - 0x54]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400119d0
mov r8d, eax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.1400020a0
lea rdx, [r15 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400041d8
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 0x140011a26
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14000a988
add qword [rbx + 8], 0x28
jmp 0x140011a36
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
call fcn.140012878
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400112e0
nop
lea rcx, [rsp + 0x50]
call fcn.140007ef4
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011a75
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001a700]
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001195b
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 0x140011ac0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001a700]
nop
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140011ae0
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [0x14001a700]
mov eax, r14d
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140017b80
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.1400014ec
int3