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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
mov dword [esp + 0x10], ecx
mov ebx, dword [esi + 0x20464]
mov edx, dword [esi + 0x20468]
mov eax, dword [esi + 0x2046c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x20478], ebx
test edx, edx
jne 0x446706
cmp dword [esi + 0x20470], 2
jne 0x446706
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x446706
mov dword [esi + 0x10250], 0x2e
mov byte [esp + 0x44], dl
mov edx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea ecx, [esi + 0x250]
sub eax, ebx
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x28], eax
cmp edx, eax
jae 0x446a47
lea eax, [edx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, eax
xor ebx, ebx
cmp ebp, 0xffffffff
setne bl
je 0x446779
nop word [eax + eax]
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0045cb70
test al, al
je 0x446779
push esi
push ebp
call edi
mov ebx, eax
test ebx, ebx
jne 0x446760
mov eax, dword [0x4e40f4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [eax + 0x10], esi
test ebx, ebx
je 0x4468af
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x77
jne 0x4467db
mov esi, eax
jmp 0x4467b4
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.0043f280
mov ecx, dword [esi + 0x14]
mov edi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
cmp edx, ecx
je 0x4467b0
mov esi, dword [esp + 0x48]
jmp 0x4467f2
lea eax, [esp + 0x14]
push eax
push edx
push 3
call fcn.0043f280
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], edi
test edx, edx
je 0x44681a
cmp edi, 6
jne 0x446872
cmp edx, dword [esp + 0x10]
je 0x446824
mov eax, dword [esp + 0x38]
push ebp
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x1c
cmp edi, 1
je 0x446824
cmp edi, 6
jne 0x446896
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x446840
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00445f60
test al, al
jne 0x446892
nop dword [eax]
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x446859
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0045cb70
test al, al
jne 0x446840
mov eax, dword [esp + 0x24]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
je 0x4468a9
mov edx, dword [esp + 0x30]
jmp 0x4467a0
cmp edx, dword [esp + 0x10]
jne 0x446801
mov eax, dword [esp + 0x34]
push ebp
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x1c
mov edi, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp ebp, 0xffffffff
je 0x4468bb
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x44], 0
je 0x446a47
mov eax, dword [esp + 0x1c]
push esi
mov dword [esi + eax*2 + 0x250], 0x2a
lea eax, [esi + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov dword [esp + 0x48], ebp
cmp ebp, 0xffffffff
je 0x446a47
mov eax, 0x8000
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop
test byte [esi], 0x10
je 0x446a30
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x446930
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x446a30
cmp eax, 0x2e
jne 0x446930
cmp word [esi + 0x30], 0
je 0x446a30
mov ebx, ecx
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x446935
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x28]
jae 0x446a30
mov eax, dword [esp + 0x1c]
lea edi, [ebx + ebx]
add eax, 0x128
push edi
push ecx
lea ebp, [esi + eax*2]
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0x234]
inc eax
mov dword [edi + ebp], 0x5c
add esp, 0xc
lea edx, [ecx + 2]
add eax, ebx
mov dword [esi + 0x20464], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446990
sub ecx, edx
sar ecx, 1
mov ebp, ecx
cmove ebp, ebx
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x24]
jae 0x446a26
test ecx, ecx
lea edi, [ebp*2]
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 eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc eax
mov dword [edi + ebx], 0x5c
add eax, ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
push esi
push dword [esp + 0x48]
mov dword [esi + 0x2046c], eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push ebx
push ebp
push dword [esp + 0x48]
call fcn.004466a0
mov edi, eax
cmp edi, 1
jne 0x446a56
cmp byte [ebp], 0
jne 0x446a3c
cmp dword [ebx], 0
jne 0x446a3c
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, dword [esp + 0x48]
push esi
push ebp
call edi
test eax, eax
jne 0x446900
push dword [esp + 0x48]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 0x1c
push dword [esp + 0x48]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x1c