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

Disassembly:
mov eax, 0x498878
call fcn.00497a30
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 0x455c43
mov eax, 0x4bbbf8
call fcn.004324e8
cmp ebx, eax
jge 0x455c43
mov ecx, dword [0x4bbbfc]
mov eax, ebx
imul eax, eax, 0x94
add eax, ecx
mov eax, dword [eax]
cmp eax, dword [esi + 0x48]
jne 0x455c43
imul ebx, ebx, 0x94
add ebx, ecx
add ebx, 0x70
push ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00455d57
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 0x455c0f
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 0x10
jb 0x455bde
mov ecx, dword [eax + 4]
jmp 0x455be1
lea ecx, [eax + 4]
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
add eax, dword [0x4bbbfc]
cmp dword [eax + 0x44], 0x10
jb 0x455bfb
mov eax, dword [eax + 0x30]
jmp 0x455bfe
add eax, 0x30
push ecx
push eax
call fcn.004820f0
test al, al
pop ecx
pop ecx
je 0x455c0f
mov bl, 1
jmp 0x455c11
xor bl, bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
je 0x455c27
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.004833a3
test bl, bl
jne 0x455c55
inc dword [esi + 0x50]
mov ebx, dword [esi + 0x50]
mov eax, 0x4bbbf8
call fcn.004324e8
cmp ebx, eax
jl 0x455b71
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 0x455c6f
mov eax, dword [eax + 0xc]
jmp 0x455c72
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.00455d57
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.004833a3
test edi, edi
je 0x455d50
cmp dword [esi + 0x1c], 0x10
jb 0x455cd9
mov eax, dword [esi + 8]
jmp 0x455cdc
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 0x455d20
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 0x455d50
cmp dword [esi + 0x1c], 0x10
jb 0x455d2b
mov esi, dword [esi + 8]
jmp 0x455d2e
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x455d50
test al, 1
mov word [edi + 0xc], ax
je 0x455d46
and byte [edi + 6], 0x7f
test al, 2
je 0x455d50
and word [edi + 6], 0xfe7f
mov al, 1
jmp 0x455c45