Function at 0x45de90
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push 0x478df0
push ebx
mov dword [eax], 0xc
call fcn.00413520
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45df2f
lea ecx, [esp + 0xc]
push ecx
push 3
push ebx
call fcn.0040fa90
add esp, 0xc
test eax, eax
je 0x45deea
push ebx
push str._nCould_not_open_file:__s_n
call fcn.00437260
add esp, 8
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
lea edx, [esp + 0xc]
push 0x478df0
push edx
call fcn.00413520
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45df1f
lea eax, [esp + 0xc]
push eax
push str._nCould_not_open_file:__s_n
call fcn.00437260
add esp, 8
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
cmp dword [0x4a1298], 1
jle 0x45df46
lea ecx, [esp + 0xc]
push ecx
jmp 0x45df39
cmp dword [0x4a1298], 1
jle 0x45df46
push ebx
push str._nReading_binary_database_file:__s
call fcn.00437260
add esp, 8
push esi
push edi
mov eax, ebp
mov ecx, 0x4a369c
mov edi, str.Database_Version
call fcn.0045ab10
mov edx, dword [0x4a369c]
push edx
push str.5.1dm_5.2_5.2.0
call dword [0x4780f0]
add esp, 8
test eax, eax
je 0x45e12e
mov eax, ebp
lea esi, [esp + 0x10]
mov edi, str.vfpiVPVER
call fcn.0045a930
cmp dword [0x4a1298], 1
jle 0x45dfa8
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4a369c]
push eax
push ecx
push str._nVersion:__s___d_
call fcn.00437260
add esp, 0xc
mov esi, dword [str.5.2.0]
mov eax, dword [0x4a369c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45dfd7
test cl, cl
je 0x45dfd3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45dfd7
add eax, 2
add esi, 2
test cl, cl
jne 0x45dfb3
xor eax, eax
jmp 0x45dfdc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x45e098
cmp eax, dword [0x4a3698]
je 0x45e098
push ebx
push str._nError:_The_binary_database_file___s__contains
call fcn.00437260
mov eax, dword [esp + 0x18]
push eax
push str._n_______an_internal_development_version_number:__d_which
call fcn.00437260
mov ecx, dword [0x4a3698]
push ecx
push str._n_______does_not_match_the_expected_version:__d._n
call fcn.00437260
push str._n_______The_binary_file_is_found_by_first_searching_the_current
call fcn.00437260
push str._n_______working_directory_followed_by_directories_specified_by
call fcn.00437260
push str._n_______the_WDIR_environment_variable_which_is_currently_set_to:
call fcn.00437260
push 0x479b88
call dword [0x4781d4]
push eax
push str._n_______________s_
call fcn.00437260
push str._n_______Once_you_have_located_the_correct_binary_file_place_it
call fcn.00437260
push str._n_______in_one_of_these_directories_such_that_it_will_be_found
call fcn.00437260
push str._n_______before_any_other_file_of_the_same_name._n
call fcn.00437260
push str._n_______After_printing_this_message_Viewproject_will_exit___without
call fcn.00437260
add esp, 0x40
push str._n_______returning_to_the_calling_application.
call fcn.00437260
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
test eax, eax
je 0x45e0d1
cmp dword [0x4a1298], 1
jle 0x45e0d1
push eax
push str._nNOTE:_Binary_file_internal_development_version_number:__d
call fcn.00437260
push str._n_________This_version_is_not_to_be_released._n
call fcn.00437260
push str._n_________You_can_supress_this_message_by_setting_an_environment
call fcn.00437260
push str._n_________variable:_setenv_VFPVERBOSE_QUIET_n
call fcn.00437260
add esp, 0x14
mov edi, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push edi
push edx
push eax
push ecx
push ebx
push ebp
call fcn.0045d920
push ebp
mov esi, eax
call fcn.00413750
mov eax, dword [edi]
add esp, 0x1c
mov eax, dword [0x4a369c]
test eax, eax
je 0x45e121
push eax
call fcn.0040c170
mov dword [0x4a369c], 0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push ebp
call fcn.00413750
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push edx
push eax
push ecx
push ebx
call fcn.00472220
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x45e105
push ebx
push str._nError:_The_binary_database_file___s__contains
call fcn.00437260
mov edx, dword [0x4a369c]
push edx
push str._n_______a_version_number___s__which_is_not_compatible
call fcn.00437260
push str._n_______with_this_application_which_expects_a_database_version
call fcn.00437260
push str.5.1dm_5.2_5.2.0
push str._n_______of___s_.__Please_check_your__WDIR__environment
call fcn.00437260
push str._n_______variable__currently_set_to:
call fcn.00437260
push 0x479b88
call dword [0x4781d4]
push eax
push str._n_______________s_
call fcn.00437260
push str._n_______to_ensure_that_it_is_set_correctly._If_the_file_is
call fcn.00437260
push str._n_______located_in_the_current_working_directory_it_must
call fcn.00437260
push str._n_______be_removed_or_replaced_with_the_appropriate_file._n
call fcn.00437260
push str._n_______Process_terminating._n
call fcn.00437260
mov eax, dword [0x4a369c]
add esp, 0x3c
test eax, eax
je 0x45e1f3
push eax
call fcn.0040c170
add esp, 4
mov dword [0x4a369c], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret