Function at 0x450a70
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450d2f
mov ecx, eax
shr ecx, 0xa
and ecx, 0xffffff01
mov dword [ebp - 0x29c], ecx
test al, 0x10
jne 0x450b0b
mov edi, dword [ebp + 0x34]
mov eax, dword [ebp + 8]
mov byte [ebp - 0x14], cl
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x450d6e
mov esi, dword [edi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, dword [esi + 8]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
jmp 0x450d2f
push 0x250
lea eax, [ebp - 0x28c]
push 0
push eax
call fcn.0050cdd0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, esp
push ecx
push edx
lea ecx, [ebp - 0x3c]
mov dword [eax], 0x5cc7a8
mov dword [eax + 4], 1
call fcn.00450370
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push ecx
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
je 0x450d27
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
nop word [eax + eax]
mov ecx, 0x5cc790
lea eax, [ebp - 0x260]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450bb6
test dx, dx
je 0x450bb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450bb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x450b90
xor eax, eax
jmp 0x450bbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x450cba
mov eax, 0x5cc794
lea ecx, [ebp - 0x260]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x450bf6
test dx, dx
je 0x450bf2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x450bf6
add ecx, 4
add eax, 4
test dx, dx
jne 0x450bd0
xor eax, eax
jmp 0x450bfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x450cba
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x260]
mov edi, dword [ebp + 0xc]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x290], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450c21
sub ecx, dword [ebp - 0x290]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x2b4]
push edi
push esi
call fcn.00450370
add esp, 0x10
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x290], eax
jb 0x450c5b
mov ecx, dword [eax]
mov dword [ebp - 0x290], ecx
mov eax, dword [eax + 0x10]
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x1c], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x450c93
mov eax, dword [eax]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, dword [ebp + 0x34]
call esi
mov dword [edi + 0x24], eax
push dword [ebp - 0x294]
mov byte [ebp - 4], 3
push dword [ebp - 0x290]
call fcn.00450a70
add esp, 0x30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b4]
call fcn.004196c0
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x450b80
mov eax, dword [ebp - 0x29c]
mov edi, dword [ebp + 0x34]
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x450d73
mov esi, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov esi, dword [esi + 8]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x450d27
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x3c]
call fcn.004196c0
mov edi, dword [ebp + 0x34]
test edi, edi
je 0x450d53
mov esi, dword [edi]
lea eax, [ebp + 0x10]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x5845b0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
call fcn.004f2cca
call fcn.004f2cca
int3