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

Disassembly:
sub esp, 0x26c
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
mov ebx, dword [esp + 0x274]
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
mov esi, dword [esp + 0x280]
push edi
mov edi, dword [esp + 0x28c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 1
test edi, edi
je 0x42f001
push 0x451764
push edi
mov dword [esp + 0x28], 0xffffffff
call fcn.0042ec70
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x34], ebp
call fcn.0043a8a0
mov edi, eax
add esp, 0x10
mov esi, edi
mov al, byte [edi]
test al, al
je 0x42efea
mov ebp, ebx
lea esi, [esi + 1]
cmp al, 0x5c
je 0x42efad
cmp al, 0x2f
jne 0x42efdc
mov bl, byte [esi]
push 0
push 0
mov byte [esi], 0
push edi
push dword [ebp + 4]
call fcn.00431ed0
add esp, 0x10
test eax, eax
jns 0x42efda
push edi
push dword [ebp + 4]
call sym.luart.exe_zip_entry_open
push dword [ebp + 4]
call sym.luart.exe_zip_entry_close
add esp, 0xc
mov byte [esi], bl
mov al, byte [esi]
test al, al
jne 0x42efa2
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call ebp
push edi
call ebp
mov edi, dword [esp + 0x24]
add esp, 8
mov esi, dword [esp + 0x18]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f006
sub ecx, edx
sar ecx, 1
lea eax, [esi + ecx*2]
nop dword [eax + eax]
movzx ecx, word [eax - 2]
lea eax, [eax - 2]
cmp ecx, 0x2f
je 0x42f031
cmp ecx, 0x5c
jne 0x42f038
xor ecx, ecx
mov word [eax], cx
jmp 0x42f020
push 0x452558
push esi
call fcn.0042ec70
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x42f246
cmp word [esp + 0x54], 0x2e
jne 0x42f085
mov ax, word [esp + 0x56]
cmp ax, 0x2e
je 0x42f227
test ax, ax
je 0x42f227
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f090
sub ecx, edx
lea edx, [esp + 0x54]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42f0a6
sub edx, esi
sar edx, 1
push 1
lea esi, [edx + 2]
add esi, ecx
lea eax, [esi + esi]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ebp, eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x24]
push 0x45254c
push esi
push ebp
call fcn.004299a0
add esp, 0x1c
test edi, edi
je 0x42f142
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f0f0
sub ecx, edx
lea edx, [esp + 0x54]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42f106
sub edx, esi
sar edx, 1
push 1
lea esi, [edx + 2]
add esi, ecx
lea eax, [esi + esi]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
push 0x45254c
push esi
push edi
call fcn.004299a0
add esp, 0x1c
jmp 0x42f144
xor edi, edi
test byte [esp + 0x28], 0x10
je 0x42f16f
test edi, edi
lea eax, [esp + 0x54]
cmovne eax, edi
push eax
push dword [esp + 0x28c]
push ebp
push ebx
call fcn.0042ef20
add esp, 0x10
and dword [esp + 0x10], eax
jmp 0x42f214
cmp dword [esp + 0x44], 0
mov dword [esp + 0x24], 0xffffffff
je 0x42f185
cmp dword [esp + 0x48], 0
jne 0x42f1bf
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x54]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f1b6
test dx, dx
je 0x42f1b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f1b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f190
xor eax, eax
jmp 0x42f1bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42f214
lea eax, [esp + 0x24]
test edi, edi
push eax
lea eax, [esp + 0x58]
cmovne eax, edi
push eax
call fcn.0043a8a0
mov esi, eax
push esi
push dword [ebx + 4]
call sym.luart.exe_zip_entry_open
add esp, 0x10
test eax, eax
jne 0x42f1fc
push ebp
push dword [ebx + 4]
call sym.luart.exe_zip_entry_fwrite
add esp, 8
test eax, eax
jne 0x42f1fc
mov eax, 1
jmp 0x42f1fe
xor eax, eax
push dword [ebx + 4]
and dword [esp + 0x14], eax
call sym.luart.exe_zip_entry_close
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call ebp
push edi
call ebp
mov esi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x42f065
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call ebp
mov ecx, dword [esp + 0x27c]
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044c1d1
add esp, 0x26c
ret