Function at 0x140034800
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 [0x1400888e8]
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 0x1400348d0
lea rdx, [0x1400740e4]
mov dword [rsp + 0x30], 0xffffffff
mov rcx, r9
call fcn.1400344c0
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbp, rax
call fcn.140040ff0
mov rdi, rax
mov rbx, rax
movzx eax, byte [rax]
test al, al
je 0x1400348be
lea rbx, [rbx + 1]
cmp al, 0x5c
je 0x140034883
cmp al, 0x2f
jne 0x1400348b7
movzx esi, byte [rbx]
xor r9d, r9d
mov byte [rbx], 0
xor r8d, r8d
mov rcx, qword [r15 + 8]
mov rdx, rdi
call fcn.140037a30
test eax, eax
jns 0x1400348b4
mov rcx, qword [r15 + 8]
mov rdx, rdi
call sym.wluart_static.exe_zip_entry_open
mov rcx, qword [r15 + 8]
call sym.wluart_static.exe_zip_entry_close
mov byte [rbx], sil
movzx eax, byte [rbx]
test al, al
jne 0x140034877
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 0x1400348e0
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 0x140034914
cmp cx, 0x5c
jne 0x140034919
mov word [rax], dx
jmp 0x140034900
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], dx
jne 0x140034920
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, [0x140075390]
lea rax, [0x14007539c]
mov rcx, rdi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.14002e640
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140034b85
nop
cmp word [rsp + 0x6c], 0x2e
jne 0x1400349a0
movzx eax, word [rsp + 0x6e]
cmp ax, 0x2e
je 0x140034b61
test ax, ax
je 0x140034b61
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x1400349b0
lea rdx, [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400349d0
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, [0x140075390]
mov rsi, rax
mov rdx, rbx
lea rax, [rsp + 0x6c]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14002e640
test r12, r12
je 0x140034a86
mov rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], 0
jne 0x140034a20
lea rdx, [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140034a40
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, [0x140075390]
mov rdi, rax
mov rdx, rbx
lea rax, [rsp + 0x6c]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14002e640
jmp 0x140034a88
xor edi, edi
test byte [rsp + 0x40], 0x10
je 0x140034ab3
mov r8d, dword [rsp + 0x34]
lea r9, [rsp + 0x6c]
test rdi, rdi
mov rdx, rsi
mov rcx, r15
cmovne r9, rdi
call fcn.140034800
and r13d, eax
jmp 0x140034b4f
cmp dword [rsp + 0x5c], 0
mov dword [rsp + 0x30], 0xffffffff
je 0x140034ac9
cmp dword [rsp + 0x60], 0
jne 0x140034af8
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 0x140034af4
add rax, 2
test ecx, ecx
jne 0x140034ae0
test edx, edx
je 0x140034b4f
test rdi, rdi
lea rcx, [rsp + 0x6c]
lea rdx, [rsp + 0x30]
cmovne rcx, rdi
call fcn.140040ff0
mov rcx, qword [r15 + 8]
mov rdx, rax
mov rbx, rax
call sym.wluart_static.exe_zip_entry_open
test eax, eax
jne 0x140034b38
mov rcx, qword [r15 + 8]
mov rdx, rsi
call sym.wluart_static.exe_zip_entry_fwrite
test eax, eax
jne 0x140034b38
mov eax, 1
jmp 0x140034b3a
xor eax, eax
mov rcx, qword [r15 + 8]
and r13d, eax
call sym.wluart_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 0x140034980
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.14006dc90
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret