Function at 0x450850
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4930a9
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebx
push esi
push edi
call fcn.0044bde0
xor ebx, ebx
test eax, eax
je 0x450911
push ebp
push ebx
lea eax, [esp + 0x334]
push str.CPrepareInstall_::_PrepareInstallWin98_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 + 0x230]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x230]
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 + 0x330]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x230]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
pop ebp
mov ecx, dword [0x4b538c]
mov dword [esp + 0xc], ecx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x28]
push 0x104
push edx
mov dword [esp + 0x53c], ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.DRVIDX.BIN
lea ecx, [esp + 0x14]
call fcn.004822f6
mov esi, eax
push str.INF_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 1
call fcn.004822f6
mov edi, eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x538], 2
call fcn.004822f6
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x540], 3
call fcn.0048246b
push esi
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x540], 4
call fcn.0048246b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 5
call fcn.00482375
lea ecx, [esp + 0x20]
mov byte [esp + 0x534], 4
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 3
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 2
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.00482288
mov eax, dword [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.0041b2f0
push str.DRVDATA.BIN
lea ecx, [esp + 0x24]
call fcn.004822f6
mov esi, eax
push str.INF_
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 6
call fcn.004822f6
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x534], 7
push ecx
lea ecx, [esp + 0x18]
call fcn.004822f6
push edi
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x540], 8
call fcn.0048246b
push esi
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x53c], 9
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0xa
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 9
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 8
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 7
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 6
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x534], bl
call fcn.00482288
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041b2f0
call fcn.0044bde0
test eax, eax
je 0x450b9b
push ebx
lea edx, [esp + 0x430]
push str.CPrepareInstall_::_PrepareInstallWin98_n
push edx
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 + 0x12c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x12c]
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 + 0x42c]
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 + 0x12c]
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 + 0xc]
mov dword [esp + 0x534], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x52c
ret