Function at 0x14003bd00
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3f0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140122f00]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rcx, [rbp + 0x20]
call fcn.140032f0c
nop
call fcn.14003838c
mov rdx, rax
lea r8, [0x1400da0b0]
lea rcx, [rbp]
call fcn.14001efb4
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x20], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14003be02
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14003bdcf
cmp eax, 0x12
je 0x14003bdcf
lea rdx, str.Could_not_open_template_folder_for_search
lea rcx, [rsp + 0x40]
call fcn.140005a2c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400380d0
lea rdx, [0x140119340]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rbp + 0x20]
call fcn.140045dc8
nop
lea rcx, [rsp + 0x20]
call fcn.14003d6e0
nop
cmp qword [rbp + 0x18], 8
jb 0x14003bdf5
mov rcx, qword [rbp]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov r15d, 7
xor esi, esi
jmp 0x14003bfb5
xor esi, esi
lea r15d, [rsi + 7]
test byte [rbp + 0x90], 0x10
jne 0x14003bf38
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x80], rsi
mov word [rbp + 0x70], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
call fcn.14003838c
mov rdx, rax
lea r8, [0x1400d995c]
lea rcx, [rsp + 0x40]
call fcn.14001efb4
nop
lea r8, [rbp + 0xbc]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140026fe4
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14003850c
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.14005005c
nop
lea rcx, [rbp - 0x50]
call fcn.1400384a0
nop
cmp qword [rsp + 0x78], 8
jb 0x14003bea6
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp qword [rsp + 0x58], 8
jb 0x14003bec8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov r14, qword [rsp + 0x28]
mov rbx, r14
cmp r14, qword [rsp + 0x30]
je 0x14003bef5
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.1400464e4
add rbx, 0x98
cmp rbx, qword [rsp + 0x30]
jne 0x14003bed7
test r14, r14
je 0x14003bf24
mov rbx, r14
cmp r14, qword [rsp + 0x30]
je 0x14003bf1a
mov rcx, rbx
call fcn.14003f910
add rbx, 0x98
cmp rbx, qword [rsp + 0x30]
jne 0x14003bf04
mov rcx, r14
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop
cmp qword [rbp + 0x88], 8
jb 0x14003bf38
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003be08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp + 0x20]
call fcn.140045dc8
cmp ebx, 0x12
je 0x14003bf99
lea rdx, str.Could_not_retrieve_all_files_from_template_folder
lea rcx, [rsp + 0x40]
call fcn.140005a2c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400380d0
lea rdx, [0x140119340]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x20]
call fcn.14003d6e0
nop
cmp qword [rbp + 0x18], 8
jb 0x14003bfb5
mov rcx, qword [rbp]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov word [rbp], si
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r15
mov rcx, qword [rbp + 0x38]
lea rax, vtable.Uev::TemplateIndex.0
test rcx, rcx
mov qword [rbp + 0x20], rax
je 0x14003bfe7
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
mov qword [rbp + 0x38], rsi
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x28]
call fcn.140034704
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400b3bf0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret