Function at 0x4459f0
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 0x445a56
cmp dword [esi + 0x20470], 2
jne 0x445a56
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x445a56
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 0x445d97
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 0x445ac9
nop word [eax + eax]
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0045bec0
test al, al
je 0x445ac9
push esi
push ebp
call edi
mov ebx, eax
test ebx, ebx
jne 0x445ab0
mov eax, dword [0x4e30f4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [eax + 0x10], esi
test ebx, ebx
je 0x445bff
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 0x445b2b
mov esi, eax
jmp 0x445b04
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.0043e5d0
mov ecx, dword [esi + 0x14]
mov edi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
cmp edx, ecx
je 0x445b00
mov esi, dword [esp + 0x48]
jmp 0x445b42
lea eax, [esp + 0x14]
push eax
push edx
push 3
call fcn.0043e5d0
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], edi
test edx, edx
je 0x445b6a
cmp edi, 6
jne 0x445bc2
cmp edx, dword [esp + 0x10]
je 0x445b74
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 0x445b74
cmp edi, 6
jne 0x445be6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x445b90
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004452b0
test al, al
jne 0x445be2
nop dword [eax]
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x445ba9
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0045bec0
test al, al
jne 0x445b90
mov eax, dword [esp + 0x24]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
je 0x445bf9
mov edx, dword [esp + 0x30]
jmp 0x445af0
cmp edx, dword [esp + 0x10]
jne 0x445b51
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 0x445c0b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x44], 0
je 0x445d97
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 0x445d97
mov eax, 0x8000
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop
test byte [esi], 0x10
je 0x445d80
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x445c80
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x445d80
cmp eax, 0x2e
jne 0x445c80
cmp word [esi + 0x30], 0
je 0x445d80
mov ebx, ecx
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x445c85
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x28]
jae 0x445d80
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 0x445ce0
sub ecx, edx
sar ecx, 1
mov ebp, ecx
cmove ebp, ebx
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x24]
jae 0x445d76
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.004459f0
mov edi, eax
cmp edi, 1
jne 0x445da6
cmp byte [ebp], 0
jne 0x445d8c
cmp dword [ebx], 0
jne 0x445d8c
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebp, dword [esp + 0x48]
push esi
push ebp
call edi
test eax, eax
jne 0x445c50
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