Function at 0x1400392a0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2f8]
sub rsp, 0x3f0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rcx, [rbp]
call fcn.140030a70
nop
call fcn.140035b18
mov rdx, rax
lea r8, [0x1400d2418]
lea rcx, [rbp - 0x20]
call fcn.14001c60c
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x38], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140039373
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140039340
cmp eax, 0x12
jne 0x140039594
lea rcx, [rbp]
call fcn.140042a24
nop
lea rcx, [rsp + 0x38]
call fcn.14003ae74
nop
cmp qword [rbp - 8], 8
jb 0x140039366
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov r14d, 7
xor esi, esi
jmp 0x140039523
xor esi, esi
lea r14d, [rsi + 7]
test byte [rbp + 0x90], 0x10
jne 0x1400394d5
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x60], rsi
mov word [rbp + 0x50], si
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
call fcn.140035b18
mov rdx, rax
lea r8, [0x1400d1b48]
lea rcx, [rsp + 0x60]
call fcn.14001c60c
nop
cmp word [rbp + 0xbc], si
jne 0x1400393c8
mov r8, rsi
jmp 0x1400393dd
lea rcx, [rbp + 0xbc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], si
jne 0x1400393d3
lea rdx, [rbp + 0xbc]
mov rcx, rax
call fcn.140005d18
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005f98
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140035c84
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.14004c6f0
nop
lea rcx, [rbp - 0x70]
call fcn.140035c1c
nop
cmp qword [rsp + 0x58], 8
jb 0x14003944d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp qword [rsp + 0x78], 8
jb 0x14003946f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rbx, qword [rsp + 0x20]
jmp 0x14003948d
lea r8, [rbp + 0x50]
mov rdx, rbx
lea rcx, [rbp]
call fcn.140042fec
add rbx, 0x98
cmp rbx, qword [rsp + 0x28]
jne 0x140039476
cmp qword [rsp + 0x20], rsi
je 0x1400394c4
mov rbx, qword [rsp + 0x20]
jmp 0x1400394b1
mov rcx, rbx
call fcn.14003cff4
add rbx, 0x98
cmp rbx, qword [rsp + 0x28]
jne 0x1400394a2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop
cmp qword [rbp + 0x68], 8
jb 0x1400394d5
mov rcx, qword [rbp + 0x50]
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 0x140039379
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp]
call fcn.140042a24
cmp ebx, 0x12
jne 0x1400395c5
lea rcx, [rsp + 0x38]
call fcn.14003ae74
nop
cmp qword [rbp - 8], 8
jb 0x140039523
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov word [rbp - 0x20], si
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r14
mov rcx, qword [rbp + 0x18]
lea rax, vtable.Uev::TemplateIndex.0
test rcx, rcx
mov qword [rbp], rax
je 0x140039555
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
mov qword [rbp + 0x18], rsi
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 8]
call fcn.1400320d4
mov rcx, qword [rbp + 8]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400afd50
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.Could_not_open_template_folder_for_search
lea rcx, [rsp + 0x60]
call fcn.140005a10
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.14003589c
lea rdx, [0x140110da0]
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Could_not_retrieve_all_files_from_template_folder
lea rcx, [rsp + 0x60]
call fcn.140005a10
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.14003589c
lea rdx, [0x140110da0]
lea rcx, [rbp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3