Function at 0x45be30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488e6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x720
mov eax, dword [0x4a6844]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x738], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x738], 3
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call fcn.004603a0
test eax, eax
jne 0x45c307
call fcn.00441cf0
test eax, eax
je 0x45bf24
push ebp
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x340]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x38]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push 0x80000002
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x540]
call fcn.0044cdb0
lea ecx, [esp + 0x53c]
push ecx
lea ecx, [esp + 0x53c]
call fcn.0044cfc0
test eax, eax
je 0x45c270
lea edx, [esp + 0x138]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system.ini
lea ecx, [esp + 0x20]
call fcn.00475f16
mov esi, eax
lea eax, [esp + 0x138]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x73c], 4
call fcn.00475f16
push esi
lea ecx, [esp + 0x24]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x744], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x73c], 6
call fcn.00475f95
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], bl
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 4
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], 3
call fcn.00475ea8
push str._system.new
lea ecx, [esp + 0x24]
call fcn.00475f16
mov esi, eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x73c], 7
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x24]
mov bl, 8
push eax
mov byte [esp + 0x744], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x73c], 9
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 7
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.00475ea8
push str._system.bak
lea ecx, [esp + 0x24]
call fcn.00475f16
mov esi, eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x738], 0xa
push ecx
lea ecx, [esp + 0x1c]
call fcn.00475f16
mov bl, 0xb
mov byte [esp + 0x738], bl
push esi
lea edx, [esp + 0x20]
push eax
push edx
call fcn.0047608b
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x73c], 0xc
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.00475ea8
mov eax, dword [esp + 0x14]
push 0x49e124
push eax
call fcn.004666e0
mov esi, eax
add esp, 8
test esi, esi
je 0x45c270
mov ecx, dword [esp + 0x24]
push 0x49edac
push ecx
call fcn.004666e0
mov edi, eax
add esp, 8
test edi, edi
je 0x45c1bc
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.00466610
add esp, 0xc
test eax, eax
je 0x45c1b3
lea eax, [esp + 0x23c]
lea ecx, [esp + 0x10]
push eax
call fcn.00475fe5
lea ecx, [esp + 0x10]
call fcn.0047635e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x45c367
push str._386ENH_
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45c183
mov ebp, 1
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x23c]
push ecx
push 0x49e164
push edi
call fcn.004671b0
add esp, 0xc
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.00466610
add esp, 0xc
test eax, eax
jne 0x45c141
push edi
call fcn.00466560
add esp, 4
push esi
call fcn.00466560
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x45c270
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00418dc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push 0
push eax
push ecx
mov ecx, esi
call fcn.00418dc0
mov edx, dword [esp + 0x24]
push 0
push edx
mov ecx, esi
call fcn.00418b10
push 0x80000002
lea ecx, [esp + 0x344]
call fcn.0044cd70
push 1
push 0
push 1
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x350]
call fcn.0044d1a0
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVBF
lea ecx, [esp + 0x350]
call fcn.0044d1a0
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVCD
lea ecx, [esp + 0x350]
call fcn.0044d1a0
call fcn.00441cf0
test eax, eax
je 0x45c307
push 0
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x340]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x10]
mov byte [esp + 0x738], 2
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x738], 1
call fcn.00475ea8
lea ecx, [esp + 0x24]
mov byte [esp + 0x738], 0
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov dword [esp + 0x738], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x730]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x72c
ret
test ebp, ebp
je 0x45c183
push 0x5b
lea ecx, [esp + 0x14]
call fcn.00476323
test eax, eax
jne 0x45c391
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
je 0x45c1b3
jmp 0x45c183
push str.DEVICE
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45c183
push str.TURBOVCD.VXD
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x45c3d2
push str.COMBUFF
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
je 0x45c183
mov dword [esp + 0x2c], 1
jmp 0x45c199