Function at 0x455e44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x498af8
call fcn.00497cb0
sub esp, 0x4c
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
inc dword [esi + 0x50]
mov ebx, dword [esi + 0x50]
js 0x455f49
mov eax, 0x4bbbf8
call fcn.00456103
cmp ebx, eax
jge 0x455f49
mov ecx, dword [0x4bbbfc]
mov eax, ebx
imul eax, eax, 0x94
add eax, ecx
mov eax, dword [eax]
cmp eax, dword [esi + 0x48]
jne 0x455f49
imul ebx, ebx, 0x94
add ebx, ecx
add ebx, 0x70
push ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0045605d
and dword [ebp - 4], 0
or dword [ebp - 0x10], 1
lea ecx, [esi + 0x54]
neg ecx
sbb ecx, ecx
lea edx, [esi + 0x58]
and ecx, edx
push ecx
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
test al, al
pop ecx
pop ecx
je 0x455f15
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 0x10
jb 0x455ee4
mov ecx, dword [eax + 4]
jmp 0x455ee7
lea ecx, [eax + 4]
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
add eax, dword [0x4bbbfc]
cmp dword [eax + 0x44], 0x10
jb 0x455f01
mov eax, dword [eax + 0x30]
jmp 0x455f04
add eax, 0x30
push ecx
push eax
call fcn.00482310
test al, al
pop ecx
pop ecx
je 0x455f15
mov bl, 1
jmp 0x455f17
xor bl, bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
je 0x455f2d
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.004835c3
test bl, bl
jne 0x455f5b
inc dword [esi + 0x50]
mov ebx, dword [esi + 0x50]
mov eax, 0x4bbbf8
call fcn.00456103
cmp ebx, eax
jl 0x455e77
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
add eax, dword [0x4bbbfc]
cmp dword [eax + 0x20], 0x10
jb 0x455f75
mov eax, dword [eax + 0xc]
jmp 0x455f78
add eax, 0xc
push dword [esi + 0x4c]
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.MSVCR71.dll_strncpy]
mov eax, dword [esi + 0x4c]
mov byte [ebx + eax - 1], 0
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
add eax, dword [0x4bbbfc]
add esp, 0xc
add eax, 0x4c
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call fcn.0045605d
mov esi, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004835c3
test edi, edi
je 0x456056
cmp dword [esi + 0x1c], 0x10
jb 0x455fdf
mov eax, dword [esi + 8]
jmp 0x455fe2
lea eax, [esi + 8]
push edi
push eax
call dword [sym.imp.MSVCR71.dll__stati64]
test eax, eax
pop ecx
pop ecx
mov word [edi + 6], 0x4180
je 0x456026
push 2
pop eax
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov eax, 0x12cf9510
mov word [edi + 4], cx
mov word [edi + 0xa], cx
mov word [edi + 0xc], cx
mov word [edi + 8], bx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
jmp 0x456056
cmp dword [esi + 0x1c], 0x10
jb 0x456031
mov esi, dword [esi + 8]
jmp 0x456034
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x456056
test al, 1
mov word [edi + 0xc], ax
je 0x45604c
and byte [edi + 6], 0x7f
test al, 2
je 0x456056
and word [edi + 6], 0xfe7f
mov al, 1
jmp 0x455f4b