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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485019
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
mov eax, dword [0x4ce19c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
push 1
push 1
push 0x236
push str.._tvt_directory.cpp
push 0x4936a0
push str.CTVTDirectory
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x14], eax
call fcn.0040e269
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x274]
mov byte [ebp - 0x265], 0
mov byte [ebp - 4], 1
call fcn.004140e0
mov ebx, 2
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], bl
call fcn.00411580
mov ecx, dword [ebp - 0x26c]
add eax, 0xfffffffe
cmp eax, ecx
jb 0x42fd23
push 0
push 1
lea ecx, [ebp - 0x30c]
call fcn.00402612
push 0
push 0
push 0x513
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push ebx
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30c], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 4
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x30c]
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x30c], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x3a
lea ecx, [ebp - 0x274]
jne 0x42fdec
call fcn.00411580
mov ecx, dword [ebp - 0x26c]
dec eax
cmp eax, ecx
jb 0x42fdbb
push 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.00402612
push 0
push 0
push 0x513
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push ebx
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x2cc], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 6
call fcn.00402681
push 0x4b2544
lea edx, [ebp - 0x2cc]
push edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x2cc], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x5c
jne 0x42fee9
push 0x49369c
lea ecx, [ebp - 0x280]
call fcn.00414780
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 7
push edx
jmp 0x42fed0
call fcn.00411580
mov ecx, dword [ebp - 0x26c]
dec eax
cmp eax, ecx
jb 0x42fe6d
push 0
push 1
lea ecx, [ebp - 0x34c]
call fcn.00402612
push 0
push 0
push 0x513
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push ebx
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
mov dword [ebp - 0x34c], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 9
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x34c]
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34c], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x3a
jne 0x42fe97
push 0x48a794
lea ecx, [ebp - 0x280]
call fcn.00414780
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 0xa
push edx
jmp 0x42fed0
lea ecx, [ebp - 0x274]
call fcn.00411580
dec eax
push eax
lea ecx, [ebp - 0x274]
call fcn.004120a0
cmp word [eax], 0x5c
jne 0x42fee9
push 0x49369c
lea ecx, [ebp - 0x280]
call fcn.00414780
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x274]
call fcn.004129b0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], bl
call fcn.004034a5
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x264]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x284], esi
je 0x42ff24
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ff24
test al, 0x10
je 0x42ff24
mov byte [ebp - 0x265], 1
test esi, esi
je 0x42ff2f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.004034a5
mov ecx, dword [ebp - 0x288]
test ecx, ecx
je 0x42ff58
mov dl, byte [ebp - 0x265]
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], dl
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
je 0x42ff69
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x265]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00475533
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4