Function at 0x437cb0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x1c], 0
call fcn.00458a60
mov dword [esp + 0x18], eax
mov dword [0x4a53a4], 0x101
call fcn.00455950
mov ebx, dword [0x4781d4]
push str.VFPASCII
call ebx
add esp, 8
test eax, eax
je 0x437d1b
mov esi, eax
mov edi, 0x478c3c
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x437d1b
push str._nSetting_Viewproject_ASCII_mode_to_ON...
mov ebp, 2
call fcn.00437260
add esp, 4
mov dword [esp + 0x10], str.vp520.mdb
jmp 0x437d28
mov ebp, 1
mov dword [esp + 0x10], str.vp520.bdb
mov eax, dword [0x4a1298]
mov esi, 1
cmp eax, esi
jle 0x437d51
mov ecx, dword [str.5.2.0]
push ecx
push str._nInitializing_Viewproject_version__s..._n
call fcn.00437260
mov eax, dword [0x4a1298]
add esp, 8
cmp eax, esi
jne 0x437dd2
push str.LOCKMODE
call ebx
mov esi, eax
add esp, 4
test esi, esi
je 0x437dd2
mov edi, dword [0x478210]
push 0x47c9c8
push esi
call edi
add esp, 8
test eax, eax
jne 0x437d80
push esi
push str._nViewproject_Lock_mode:__s
jmp 0x437dca
push str.FILE
push esi
call edi
add esp, 8
test eax, eax
jne 0x437d97
push esi
push str._nViewproject_Lock_mode:__s
jmp 0x437dca
push 0x47be94
push esi
call edi
add esp, 8
test eax, eax
jne 0x437dae
push esi
push str._nViewproject_Lock_mode:__s
jmp 0x437dca
push 0x47c9a0
push esi
call edi
add esp, 8
test eax, eax
push esi
jne 0x437dc5
push str._nViewproject_Lock_mode:__s
jmp 0x437dca
push str._nWarning:_Invalid_Viewproject_Lock_mode:__s
call fcn.00437260
add esp, 8
push str.VFPDIRCACHE
call ebx
add esp, 4
test eax, eax
je 0x437de5
cmp byte [eax], 0
jne 0x437def
push str.VFPMEGACACHE
call ebx
add esp, 4
test eax, eax
je 0x437e45
cmp byte [eax], 0
je 0x437e45
mov esi, eax
mov eax, dword [0x4a1298]
mov edi, 0x478c3c
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov ecx, dword [0x4a1294]
je 0x437e2a
and ecx, 0xffffffbf
cmp eax, 1
mov dword [0x4a1294], ecx
jle 0x437e45
push str._nViewproject_mega_file_index_caching_enabled._n
jmp 0x437e3d
or ecx, 0x40
cmp eax, 1
mov dword [0x4a1294], ecx
jle 0x437e45
push str._nViewproject_directory_caching_disabled_via_environment_variable._n
call fcn.00437260
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00419210
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0043be00
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push str.vfpMasterVPROJ
call fcn.00437280
add esp, 0x2c
test eax, eax
pop edi
pop esi
pop ebp
mov dword [0x4a12a4], eax
pop ebx
jne 0x437e9f
mov eax, dword [esp + 4]
add esp, 0xc
ret
cmp dword [esp + 4], 0xe
jne 0x437eaf
mov eax, 0x46
add esp, 0xc
ret
mov eax, dword [0x4a12a0]
push eax
call fcn.00434a40
add esp, 4
test eax, eax
jne 0x437ee7
mov ecx, dword [0x4a12a0]
push ecx
call fcn.00457d20
add esp, 4
test eax, eax
jne 0x437ee7
mov edx, dword [0x4a12a0]
push edx
call fcn.00457de0
add esp, 4
test eax, eax
je 0x437ef0
mov eax, 1
add esp, 0xc
ret
mov eax, dword [0x4a129c]
test al, 4
jne 0x437efe
cmp eax, 4
jne 0x437f03
call fcn.004601c0
xor eax, eax
add esp, 0xc
ret