Function at 0x4357e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b479
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebx
push esi
push edi
call fcn.004318b0
xor ebx, ebx
test eax, eax
je 0x4358a1
push ebp
push ebx
lea eax, [esp + 0x334]
push str.CPrepareInstall_::_PrepareInstallWin98_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 + 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.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x230]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
pop ebp
mov ecx, dword [0x4855a4]
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.0045ce46
mov esi, eax
push str.INF_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 1
call fcn.0045ce46
mov edi, eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x538], 2
call fcn.0045ce46
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x540], 3
call fcn.0045cfbb
push esi
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x540], 4
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 5
call fcn.0045cec5
lea ecx, [esp + 0x20]
mov byte [esp + 0x534], 4
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 3
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 2
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.0045cdd8
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], bl
call fcn.0045cdd8
mov eax, dword [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.004117b0
push str.DRVDATA.BIN
lea ecx, [esp + 0x24]
call fcn.0045ce46
mov esi, eax
push str.INF_
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 6
call fcn.0045ce46
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x534], 7
push ecx
lea ecx, [esp + 0x18]
call fcn.0045ce46
push edi
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x540], 8
call fcn.0045cfbb
push esi
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x53c], 9
push eax
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0xa
call fcn.0045cec5
lea ecx, [esp + 0x10]
mov byte [esp + 0x534], 9
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 8
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x534], 7
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 6
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x534], bl
call fcn.0045cdd8
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.004117b0
call fcn.004318b0
test eax, eax
je 0x435b2b
push ebx
lea edx, [esp + 0x430]
push str.CPrepareInstall_::_PrepareInstallWin98_n
push edx
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 + 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.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x534], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x52c
ret