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

Disassembly:
push 0xffffffffffffffff
push 0x577ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5d2020]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d2020]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2ac]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x3c], eax
je 0x4459e1
cmp word [ecx], di
je 0x4459e1
xor edx, edx
cmp edx, 0x5c6718
je 0x4459e1
lea eax, [esp + 0x14]
push eax
call fcn.00401bd0
lea esi, [esp + 0x14]
mov dword [esp + 0x2a4], edi
call fcn.00442ef0
push 0x24c
lea ecx, [esp + 0x4c]
push edi
push ecx
mov dword [esp + 0x50], edi
call fcn.0044ea7c
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4459d8
test al, 0x10
je 0x4459d8
mov eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x5c3a94
call fcn.00404150
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, 0x5c6718
mov byte [esp + 0x2b4], 1
call fcn.00404150
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ebp
call fcn.00401b90
lea eax, [esp + 0x1c]
mov byte [esp + 0x2a4], 0
call fcn.00401b90
cmp ebp, 0xffffffff
je 0x4459d8
cmp ebp, edi
je 0x4459d8
lea esi, [esp + 0x18]
call fcn.004017e0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
mov byte [esp + 0x2a8], 3
call fcn.004460f0
mov ebx, dword [esp + 0x34]
cmp ebx, edi
je 0x445941
jmp 0x445640
test byte [esp + 0x44], 0x10
je 0x445827
mov ecx, 0x5c3c18
lea eax, [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44567a
cmp dx, di
je 0x445676
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44567a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x445654
xor eax, eax
jmp 0x44567f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x445863
mov ecx, 0x5c3b68
lea eax, [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4456b6
cmp dx, di
je 0x4456b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4456b6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x445690
xor eax, eax
jmp 0x4456bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x445863
lea eax, [esp + 0x14]
push eax
mov edx, 0x5c3a94
call fcn.00407a20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x74]
call fcn.00407a20
test dword [esp + 0x44], 0x400
jne 0x4457b2
cmp ebx, 0x104
jae 0x4457b2
lea eax, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.004042f0
mov edx, edi
push edx
mov edx, 0x5c3a94
call fcn.00407a20
mov eax, edi
push eax
mov edx, 0x5c6718
call fcn.00407a20
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x445759
test esi, esi
je 0x445759
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
call fcn.004460f0
mov ebx, dword [esp + 0x34]
mov ebp, esi
jmp 0x445863
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x445778
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x445786
lea esi, [esp + 0x14]
call fcn.004020d0
jmp 0x445863
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.00407b90
lea edi, [esp + 0x14]
mov byte [esp + 0x2a4], 5
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x1c]
jmp 0x445809
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, edi
je 0x4457d1
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4457df
lea esi, [esp + 0x14]
call fcn.004020d0
jmp 0x445863
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
call fcn.00407b90
lea edi, [esp + 0x14]
mov byte [esp + 0x2a4], 6
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x445863
lea eax, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.004042f0
mov ecx, edi
push ecx
mov edx, 0x5c3a94
call fcn.00407a20
mov edx, edi
push edx
lea edx, [esp + 0x74]
call fcn.00407a20
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
call fcn.00442fe0
cmp eax, 0xffffff9c
je 0x445970
cmp ebp, 0xffffffff
je 0x4459b6
test ebp, ebp
je 0x4459b6
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x445937
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x445941
sub ebx, 1
mov dword [esp + 0x34], ebx
je 0x445966
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4458c3
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4458ce
lea esi, [esp + 0x14]
call fcn.004020d0
jmp 0x445914
lea ecx, [esp + 0x40]
lea edx, [esp + 0x14]
call fcn.00407b90
lea edi, [esp + 0x14]
mov byte [esp + 0x2a4], 8
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445914
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.00446090
mov ebp, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov ebx, dword [esp + 0x34]
je 0x445888
xor edi, edi
cmp ebx, edi
jne 0x445640
lea esi, [esp + 0x24]
call fcn.00446170
lea eax, [esp + 0x18]
call fcn.00401b90
lea eax, [esp + 0x14]
call fcn.00401b90
mov eax, 1
jmp 0x4459e6
mov dword [esp + 0x30], 0
jmp 0x445941
test ebx, ebx
je 0x445994
lea esi, [esp + 0x24]
call fcn.00446090
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.00446070
cmp dword [esp + 0x34], 0
jne 0x445974
lea esi, [esp + 0x24]
call fcn.00446170
lea eax, [esp + 0x18]
call fcn.00401b90
lea eax, [esp + 0x14]
call fcn.00401b90
mov eax, 0xffffff9c
jmp 0x4459e6
lea esi, [esp + 0x24]
call fcn.00446170
lea eax, [esp + 0x18]
call fcn.00401b90
lea eax, [esp + 0x14]
call fcn.00401b90
mov eax, 0xffffff9e
jmp 0x4459e6
lea eax, [esp + 0x14]
call fcn.00401b90
mov eax, 0xffffff9d
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0044e502
add esp, 0x294
ret