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

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x20464]
mov edx, dword [esi + 0x20468]
mov eax, dword [esi + 0x2046c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov dword [esi + 0x20478], ecx
test edx, edx
jne 0x469e74
cmp dword [esi + 0x20470], 2
jne 0x469e74
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x469e74
mov dword [esi + 0x10250], 0x2e
mov byte [esp + 0x40], dl
mov edx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea ebx, [esi + 0x250]
sub eax, ecx
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
cmp edx, eax
jb 0x469e9d
pop esi
mov eax, 4
pop ebx
add esp, 0x24
ret 0x18
push ebp
push edi
lea eax, [edx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
setne bl
je 0x469efb
nop dword [eax + eax]
push dword [esp + 0x44]
push esi
call fcn.00496010
add esp, 8
test al, al
je 0x469efb
push esi
push edi
call ebp
mov ebx, eax
test ebx, ebx
jne 0x469ee0
mov ecx, dword [0x62271c]
mov ebp, 4
mov dword [esp + 0x14], 0
lea eax, [ecx*4]
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + ecx]
cmp byte [eax + 0x2198], 0
jne 0x469f38
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x29c]
mov dword [esp + 0x28], eax
mov dword [eax + 8], esi
test ebx, ebx
je 0x46a04b
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 3
jne 0x469f9b
nop dword [eax]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.00457240
mov ecx, dword [edi + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4c], ebp
cmp eax, ecx
je 0x469f70
jmp 0x469fb6
lea eax, [esp + 0x14]
push eax
push edx
push 3
call fcn.00457240
mov ebp, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4c], ebp
test eax, eax
je 0x469fd2
cmp ebp, 6
jne 0x469fc3
cmp eax, edi
je 0x469fd7
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov dword [ebx], eax
jmp 0x46a04f
cmp ebp, 6
jne 0x469fe6
mov ebp, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x4c], ebp
jmp 0x469feb
cmp ebp, 1
jne 0x46a047
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46a00b
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.00456f50
mov ebp, dword [esp + 0x4c]
test al, al
jne 0x46a047
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
nop
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x46a02b
push dword [esp + 0x44]
push esi
call fcn.00496010
add esp, 8
test al, al
jne 0x46a010
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
add dword [eax], 1
adc dword [eax + 4], 0
test edi, edi
je 0x46a047
mov edx, dword [esp + 0x38]
jmp 0x469f60
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
cmp edi, 0xffffffff
je 0x46a05b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, 1
je 0x46a069
cmp ebp, 4
jne 0x46a1ea
cmp dword [ebx], 0
jne 0x46a1ea
cmp byte [esp + 0x48], 0
je 0x46a1ea
mov eax, dword [esp + 0x1c]
push esi
mov dword [eax], 0x2a
lea eax, [esi + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x4c], edi
cmp edi, 0xffffffff
je 0x46a1ea
mov eax, 0x8000
sub eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
test byte [esi], 0x10
je 0x46a1d0
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x46a0e1
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x46a1d0
cmp eax, 0x2e
jne 0x46a0e1
cmp word [esi + 0x30], 0
je 0x46a1d0
mov ebx, ecx
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x46a0e6
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x2c]
jae 0x46a1d0
lea edi, [ebx + ebx]
push edi
push ecx
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x234]
add esp, 0xc
lea edx, [ecx + 2]
mov dword [edi + eax], 0x5c
mov eax, dword [esp + 0x30]
inc eax
add eax, ebx
mov dword [esi + 0x20464], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a134
sub ecx, edx
sar ecx, 1
mov edx, ecx
cmove edx, ebx
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
cmp eax, dword [esp + 0x28]
jae 0x46a1cc
test ecx, ecx
lea edi, [edx + edx]
mov ecx, 0x234
mov eax, 0x2c
cmovne eax, ecx
add eax, esi
push edi
push eax
mov eax, dword [esp + 0x28]
add eax, 0x822c
lea ebx, [esi + eax*2]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x18]
inc ecx
mov dword [edi + ebx], 0x5c
add eax, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x4c]
mov dword [esi + 0x2046c], eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push ebx
push dword [esp + 0x4c]
call fcn.00469e10
cmp eax, 4
je 0x46a1cc
mov ebp, eax
cmp eax, 1
jne 0x46a1e0
cmp dword [ebx], 0
jne 0x46a1e0
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46a0b1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
add esp, 0x24
ret 0x18