Function at 0x4460f0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a61f7
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4c9860]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c9860]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x4463d9
cmp dword [edi + 0x14], 8
jb 0x446148
mov eax, dword [edi]
jmp 0x44614a
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x4463d9
push str..
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.00421050
add esp, 4
mov dword [esp + 0x2f0], 0
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x8c]
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x44638a
mov ebx, dword [ebp + 8]
lea ebx, [ebx]
lea eax, [esp + 0xb8]
push eax
push 0x4b35ec
call fcn.0047f8fe
add esp, 8
test eax, eax
je 0x446366
lea eax, [esp + 0xb8]
push eax
push 0x4b40f8
call fcn.0047f8fe
add esp, 8
test eax, eax
je 0x446366
push 0x4b3f78
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.00421050
mov byte [esp + 0x2f4], 1
lea ecx, [esp + 0xbc]
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00420fb0
add esp, 8
mov byte [esp + 0x2f0], 3
cmp dword [esp + 0x58], 8
jb 0x446233
push dword [esp + 0x44]
call fcn.0047cf40
add esp, 4
xor eax, eax
test byte [esp + 0x8c], 0x10
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
je 0x446324
test bl, bl
je 0x44630b
push 0x4b3f78
mov edx, edi
lea ecx, [esp + 0x60]
call fcn.00421050
mov byte [esp + 0x2f4], 4
lea ecx, [esp + 0xbc]
push ecx
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.00420fb0
add esp, 8
mov byte [esp + 0x2f0], 5
push eax
mov ecx, esi
call fcn.00430be0
mov byte [esp + 0x2f0], 4
cmp dword [esp + 0x88], 8
jb 0x4462bc
push dword [esp + 0x74]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov byte [esp + 0x2f0], 3
cmp dword [esp + 0x70], 8
jb 0x4462f4
push dword [esp + 0x5c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
cmp byte [ebp + 0xc], 0
je 0x446334
push 1
push ebx
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.004460f0
add esp, 8
jmp 0x446334
test bl, bl
jne 0x446334
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0041dab0
mov byte [esp + 0x2f0], 0
cmp dword [esp + 0x40], 8
jb 0x44634f
push dword [esp + 0x2c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4461b0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [esp + 0x2f0], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x4463be
push dword [esp + 0x14]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov eax, esi
jmp 0x4463db
xor eax, eax
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret