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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474ce9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
mov eax, dword [0x4a00b8]
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 0x47ba50
push str.CTVTDirectory
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x14], eax
call fcn.00408a20
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.0040c250
mov ebx, 2
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], bl
call fcn.00409980
mov ecx, dword [ebp - 0x26c]
add eax, 0xfffffffe
cmp eax, ecx
jb 0x43e0e3
push 0
push 1
lea ecx, [ebp - 0x38c]
call fcn.004020b0
push 0
push 0
push 0x513
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x4784b4
push ebx
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 3
mov dword [ebp - 0x38c], 0x477670
call fcn.00408550
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 4
call fcn.00402140
push 0x487a4c
lea eax, [ebp - 0x38c]
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x38c], 0x4784ac
call fcn.0044fb86
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x3a
lea ecx, [ebp - 0x274]
jne 0x43e1ac
call fcn.00409980
mov ecx, dword [ebp - 0x26c]
dec eax
cmp eax, ecx
jb 0x43e17b
push 0
push 1
lea ecx, [ebp - 0x2cc]
call fcn.004020b0
push 0
push 0
push 0x513
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x4784b4
push ebx
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x2cc], 0x477670
call fcn.00408550
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 6
call fcn.00402140
push 0x487a4c
lea edx, [ebp - 0x2cc]
push edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x2cc], 0x4784ac
call fcn.0044fb86
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x5c
jne 0x43e2a9
push 0x47ba4c
lea ecx, [ebp - 0x280]
call fcn.0040c7e0
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 7
push edx
jmp 0x43e290
call fcn.00409980
mov ecx, dword [ebp - 0x26c]
dec eax
cmp eax, ecx
jb 0x43e22d
push 0
push 1
lea ecx, [ebp - 0x34c]
call fcn.004020b0
push 0
push 0
push 0x513
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x4784b4
push ebx
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
mov dword [ebp - 0x34c], 0x477670
call fcn.00408550
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 9
call fcn.00402140
push 0x487a4c
lea eax, [ebp - 0x34c]
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34c], 0x4784ac
call fcn.0044fb86
mov ecx, dword [ebp - 0x270]
cmp word [ecx + eax*2], 0x3a
jne 0x43e257
push 0x47ba44
lea ecx, [ebp - 0x280]
call fcn.0040c7e0
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 0xa
push edx
jmp 0x43e290
lea ecx, [ebp - 0x274]
call fcn.00409980
dec eax
push eax
lea ecx, [ebp - 0x274]
call fcn.0040a3b0
cmp word [eax], 0x5c
jne 0x43e2a9
push 0x47ba4c
lea ecx, [ebp - 0x280]
call fcn.0040c7e0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x274]
call fcn.0040ae40
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], bl
call fcn.00403d10
mov eax, dword [ebp - 0x270]
test eax, eax
jne 0x43e2da
push 1
push 0x659
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0x477a80
lea ecx, [ebp - 0x30c]
call fcn.00409800
lea ecx, [ebp - 0x30c]
call fcn.00402470
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 0x43e343
mov eax, dword [edi + 4]
test eax, eax
jne 0x43e329
push 1
push 0x659
push str.e:_tvt4_carolina_tvt4_lib_1.1.0_tvtinclude_tvt_buffer.h
push 0x477a80
lea ecx, [ebp - 0x30c]
call fcn.00409800
lea ecx, [ebp - 0x30c]
call fcn.00402470
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e343
test al, 0x10
je 0x43e343
mov byte [ebp - 0x265], 1
test esi, esi
je 0x43e34e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.00403d10
mov ecx, dword [ebp - 0x288]
test ecx, ecx
je 0x43e377
mov dl, byte [ebp - 0x265]
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], dl
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
je 0x43e388
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.00450f4f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4