Function at 0x4459f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d2af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x720
mov eax, dword [0x4855a4]
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.00448bf0
test eax, eax
jne 0x445ec7
call fcn.004318b0
test eax, eax
je 0x445ae4
push ebp
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x38]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
push 0x80000002
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x540]
call fcn.0043a3a0
lea ecx, [esp + 0x53c]
push ecx
lea ecx, [esp + 0x53c]
call fcn.0043a5b0
test eax, eax
je 0x445e30
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.0045ce46
mov esi, eax
lea eax, [esp + 0x138]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x73c], 4
call fcn.0045ce46
push esi
lea ecx, [esp + 0x24]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x744], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x73c], 6
call fcn.0045cec5
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], bl
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 4
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], 3
call fcn.0045cdd8
push str._system.new
lea ecx, [esp + 0x24]
call fcn.0045ce46
mov esi, eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x73c], 7
call fcn.0045ce46
push esi
push eax
lea eax, [esp + 0x24]
mov bl, 8
push eax
mov byte [esp + 0x744], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x73c], 9
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 7
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.0045cdd8
push str._system.bak
lea ecx, [esp + 0x24]
call fcn.0045ce46
mov esi, eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x738], 0xa
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045ce46
mov bl, 0xb
mov byte [esp + 0x738], bl
push esi
lea edx, [esp + 0x20]
push eax
push edx
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x73c], 0xc
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x738], bl
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 0xa
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.0045cdd8
mov eax, dword [esp + 0x14]
push 0x47f6b0
push eax
call fcn.0044d7c0
mov esi, eax
add esp, 8
test esi, esi
je 0x445e30
mov ecx, dword [esp + 0x24]
push 0x47fe14
push ecx
call fcn.0044d7c0
mov edi, eax
add esp, 8
test edi, edi
je 0x445d7c
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.0044d6f0
add esp, 0xc
test eax, eax
je 0x445d73
lea eax, [esp + 0x23c]
lea ecx, [esp + 0x10]
push eax
call fcn.0045cf15
lea ecx, [esp + 0x10]
call fcn.0045d28e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x445f27
push str._386ENH_
lea ecx, [esp + 0x14]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x445d43
mov ebp, 1
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x23c]
push ecx
push 0x483f2c
push edi
call fcn.0044e0d0
add esp, 0xc
push esi
lea edx, [esp + 0x240]
push 0x103
push edx
call fcn.0044d6f0
add esp, 0xc
test eax, eax
jne 0x445d01
push edi
call fcn.0044d640
add esp, 4
push esi
call fcn.0044d640
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x445e30
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.00411a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push 0
push eax
push ecx
mov ecx, esi
call fcn.00411a60
mov edx, dword [esp + 0x24]
push 0
push edx
mov ecx, esi
call fcn.004117b0
push 0x80000002
lea ecx, [esp + 0x344]
call fcn.0043a360
push 1
push 0
push 1
push str.SystemCurrentControlSetControlCommAlias
lea ecx, [esp + 0x350]
call fcn.0043a790
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVBF
lea ecx, [esp + 0x350]
call fcn.0043a790
push 1
push 0
push 1
push str.SystemCurrentControlSetServicesVxDTURBOVCD
lea ecx, [esp + 0x350]
call fcn.0043a790
call fcn.004318b0
test eax, eax
je 0x445ec7
push 0
lea eax, [esp + 0x344]
push str.CSetupHSF::UninstallTurboCom_n
push eax
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x738], 2
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x738], 1
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x738], 0
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov dword [esp + 0x738], 0xffffffff
call fcn.0045cdd8
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 0x445d43
push 0x5b
lea ecx, [esp + 0x14]
call fcn.0045d253
test eax, eax
jne 0x445f51
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
je 0x445d73
jmp 0x445d43
push str.DEVICE
lea ecx, [esp + 0x14]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x445d43
push str.TURBOVCD.VXD
lea ecx, [esp + 0x14]
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x445f92
push str.COMBUFF
lea ecx, [esp + 0x14]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x445d43
mov dword [esp + 0x2c], 1
jmp 0x445d59