Function at 0x140034810
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x14006c408]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x34], r8d
mov r12, r9
mov r14, rdx
mov r15, rcx
mov r13d, 1
test r9, r9
je 0x1400348e0
lea rdx, [0x14005cb64]
mov dword [rsp + 0x30], 0xffffffff
mov rcx, r9
call fcn.1400344d0
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbp, rax
call fcn.140041000
mov rdi, rax
mov rbx, rax
movzx eax, byte [rax]
test al, al
je 0x1400348ce
lea rbx, [rbx + 1]
cmp al, 0x5c
je 0x140034893
cmp al, 0x2f
jne 0x1400348c7
movzx esi, byte [rbx]
xor r9d, r9d
mov byte [rbx], 0
xor r8d, r8d
mov rcx, qword [r15 + 8]
mov rdx, rdi
call fcn.140037a40
test eax, eax
jns 0x1400348c4
mov rcx, qword [r15 + 8]
mov rdx, rdi
call sym.luart_static.exe_zip_entry_open
mov rcx, qword [r15 + 8]
call sym.luart_static.exe_zip_entry_close
mov byte [rbx], sil
movzx eax, byte [rbx]
test al, al
jne 0x140034887
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r14 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400348f0
lea rax, [r14 + rax*2]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax - 2]
lea rax, [rax - 2]
cmp cx, 0x2f
je 0x140034924
cmp cx, 0x5c
jne 0x140034929
mov word [rax], dx
jmp 0x140034910
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], dx
jne 0x140034930
add rbx, 3
mov rdx, r13
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsp + 0x38], rax
mov r9, r14
mov rdi, rax
lea r8, [0x14005de10]
lea rax, [0x14005de1c]
mov rcx, rdi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.14002e650
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140034b95
nop
cmp word [rsp + 0x6c], 0x2e
jne 0x1400349b0
movzx eax, word [rsp + 0x6e]
cmp ax, 0x2e
je 0x140034b71
test ax, ax
je 0x140034b71
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1400349c0
lea rdx, [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400349e0
lea rbx, [rcx + 2]
mov edx, 1
add rbx, rax
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r9, r14
lea r8, [0x14005de10]
mov rsi, rax
mov rdx, rbx
lea rax, [rsp + 0x6c]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14002e650
test r12, r12
je 0x140034a96
mov rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], 0
jne 0x140034a30
lea rdx, [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140034a50
lea rbx, [rcx + 2]
mov edx, 1
add rbx, rax
lea rcx, [rbx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r9, r12
lea r8, [0x14005de10]
mov rdi, rax
mov rdx, rbx
lea rax, [rsp + 0x6c]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002e650
jmp 0x140034a98
xor edi, edi
test byte [rsp + 0x40], 0x10
je 0x140034ac3
mov r8d, dword [rsp + 0x34]
lea r9, [rsp + 0x6c]
test rdi, rdi
mov rdx, rsi
mov rcx, r15
cmovne r9, rdi
call fcn.140034810
and r13d, eax
jmp 0x140034b5f
cmp dword [rsp + 0x5c], 0
mov dword [rsp + 0x30], 0xffffffff
je 0x140034ad9
cmp dword [rsp + 0x60], 0
jne 0x140034b08
mov r8, qword [r15 + 0x10]
lea rax, [rsp + 0x6c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140034b04
add rax, 2
test ecx, ecx
jne 0x140034af0
test edx, edx
je 0x140034b5f
test rdi, rdi
lea rcx, [rsp + 0x6c]
lea rdx, [rsp + 0x30]
cmovne rcx, rdi
call fcn.140041000
mov rcx, qword [r15 + 8]
mov rdx, rax
mov rbx, rax
call sym.luart_static.exe_zip_entry_open
test eax, eax
jne 0x140034b48
mov rcx, qword [r15 + 8]
mov rdx, rsi
call sym.luart_static.exe_zip_entry_fwrite
test eax, eax
jne 0x140034b48
mov eax, 1
jmp 0x140034b4a
xor eax, eax
mov rcx, qword [r15 + 8]
and r13d, eax
call sym.luart_static.exe_zip_entry_close
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034990
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r13d
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140056920
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret