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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
push edi
mov eax, dword [esi + 0x2046c]
mov ebx, dword [esi + 0x20464]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x20468]
mov ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x20478], ebx
test eax, eax
jne 0x44c6c8
cmp dword [esi + 0x20470], 2
jne 0x44c6c8
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x44c6c8
mov dword [esi + 0x10250], 0x2e
mov byte [esp + 0x44], cl
mov ecx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea edx, [esi + 0x250]
sub eax, ebx
lea edx, [edx + ebx*2]
mov dword [esp + 0x28], eax
cmp ecx, eax
jae 0x44ca07
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push edx
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 0x44c739
nop dword [eax]
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00464680
test al, al
je 0x44c739
push esi
push ebp
call edi
mov ebx, eax
test ebx, ebx
jne 0x44c720
mov eax, dword [0x4f90f4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [eax + 0x10], esi
test ebx, ebx
je 0x44c86f
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 0x44c79b
mov esi, eax
jmp 0x44c774
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.004445a0
mov ecx, dword [esi + 0x14]
mov edi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
cmp edx, ecx
je 0x44c770
mov esi, dword [esp + 0x48]
jmp 0x44c7b2
lea eax, [esp + 0x14]
push eax
push edx
push 3
call fcn.004445a0
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], edi
test edx, edx
je 0x44c7da
cmp edi, 6
jne 0x44c832
cmp edx, dword [esp + 0x10]
je 0x44c7e4
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 0x44c7e4
cmp edi, 6
jne 0x44c856
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44c800
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0044bec0
test al, al
jne 0x44c852
nop dword [eax]
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x44c819
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00464680
test al, al
jne 0x44c800
mov eax, dword [esp + 0x24]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
je 0x44c869
mov edx, dword [esp + 0x30]
jmp 0x44c760
cmp edx, dword [esp + 0x10]
jne 0x44c7c1
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 0x44c87b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x44], 0
je 0x44ca07
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 0x44ca07
mov eax, 0x8000
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop
test byte [esi], 0x10
je 0x44c9f0
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x44c8f0
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x44c9f0
cmp eax, 0x2e
jne 0x44c8f0
cmp word [esi + 0x30], 0
je 0x44c9f0
mov ebx, ecx
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x44c8f5
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x28]
jae 0x44c9f0
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 0x44c950
sub ecx, edx
sar ecx, 1
mov ebp, ecx
cmove ebp, ebx
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x24]
jae 0x44c9e6
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.0044c660
mov edi, eax
cmp edi, 1
jne 0x44ca16
cmp byte [ebp], 0
jne 0x44c9fc
cmp dword [ebx], 0
jne 0x44c9fc
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, dword [esp + 0x48]
push esi
push ebp
call edi
test eax, eax
jne 0x44c8c0
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