Function at 0x467ef0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x495e9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x720
mov eax, dword [0x4b538c]
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.0046c5b0
test eax, eax
jne 0x4683c7
call fcn.0044bde0
test eax, eax
je 0x467fe4
push ebp
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x38]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push 0x80000002
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x540]
call fcn.00457c00
lea ecx, [esp + 0x53c]
push ecx
lea ecx, [esp + 0x53c]
call fcn.00457e10
test eax, eax
je 0x468330
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.004822f6
mov esi, eax
lea eax, [esp + 0x138]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x73c], 4
call fcn.004822f6
push esi
lea ecx, [esp + 0x24]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x744], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x73c], 6
call fcn.00482375
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], bl
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 4
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], 3
call fcn.00482288
push str._system.new
lea ecx, [esp + 0x24]
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x73c], 7
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x24]
mov bl, 8
push eax
mov byte [esp + 0x744], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x73c], 9
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 7
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.00482288
push str._system.bak
lea ecx, [esp + 0x24]
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x738], 0xa
push ecx
lea ecx, [esp + 0x1c]
call fcn.004822f6
mov bl, 0xb
mov byte [esp + 0x738], bl
push esi
lea edx, [esp + 0x20]
push eax
push edx
call fcn.0048246b
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x73c], 0xc
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 0xa
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.00482288
mov eax, dword [esp + 0x14]
push 0x4ac458
push eax
call fcn.00472aa0
mov esi, eax
add esp, 8
test esi, esi
je 0x468330
mov ecx, dword [esp + 0x24]
push 0x4ad094
push ecx
call fcn.00472aa0
mov edi, eax
add esp, 8
test edi, edi
je 0x46827c
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.004729d0
add esp, 0xc
test eax, eax
je 0x468273
lea eax, [esp + 0x23c]
lea ecx, [esp + 0x10]
push eax
call fcn.004823c5
lea ecx, [esp + 0x10]
call fcn.0048273e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x468427
push str._386ENH_
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
je 0x468243
mov ebp, 1
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x23c]
push ecx
push 0x4ac498
push edi
call fcn.00473570
add esp, 0xc
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.004729d0
add esp, 0xc
test eax, eax
jne 0x468201
push edi
call fcn.00472920
add esp, 4
push esi
call fcn.00472920
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x468330
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.0041b5a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0041b5a0
mov edx, dword [esp + 0x24]
push 0
push edx
mov ecx, esi
call fcn.0041b2f0
push 0x80000002
lea ecx, [esp + 0x344]
call fcn.00457bc0
push 1
push 0
push 1
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x350]
call fcn.00457ff0
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVBF
lea ecx, [esp + 0x350]
call fcn.00457ff0
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVCD
lea ecx, [esp + 0x350]
call fcn.00457ff0
call fcn.0044bde0
test eax, eax
je 0x4683c7
push 0
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x10]
mov byte [esp + 0x738], 2
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x738], 1
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0x738], 0
call fcn.00482288
lea ecx, [esp + 0x14]
mov dword [esp + 0x738], 0xffffffff
call fcn.00482288
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 0x468243
push 0x5b
lea ecx, [esp + 0x14]
call fcn.00482703
test eax, eax
jne 0x468451
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
je 0x468273
jmp 0x468243
push str.DEVICE
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
je 0x468243
push str.TURBOVCD.VXD
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
jne 0x468492
push str.COMBUFF
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
je 0x468243
mov dword [esp + 0x2c], 1
jmp 0x468259