Function at 0x45cb90
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x489018
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x45cc48
push 0
lea eax, [esp + 0x34]
push str.CSetupNT4_::_DoUninstall_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 + 0x130]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x130]
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 + 0x30]
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 + 0x130]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov ecx, dword [0x4a6844]
push ebp
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x434]
push 0x104
push edx
mov dword [esp + 0x548], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4a5690
lea ecx, [esp + 0x1c]
call fcn.00475f16
mov esi, eax
push str.WINACHSF
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 1
call fcn.00475f16
mov edi, eax
push 0x49b19c
lea ecx, [esp + 0x20]
mov byte [esp + 0x544], 2
call fcn.00475f16
mov ebp, eax
lea eax, [esp + 0x434]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x544], 3
call fcn.00475f16
push ebp
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x54c], 4
call fcn.0047608b
push edi
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x54c], 5
call fcn.0047608b
push esi
push eax
lea eax, [esp + 0x2c]
mov bl, 6
push eax
mov byte [esp + 0x54c], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x544], 7
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x540], bl
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x540], 5
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x540], 4
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x540], 3
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x540], 2
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x540], 1
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], 0
call fcn.00475ea8
push 0
push 1
mov ecx, dword [esp + 0x18]
push str.__U__S
push ecx
lea ecx, [esp + 0x40]
call fcn.00419760
test eax, eax
pop ebp
jne 0x45cddc
call fcn.00441cf0
test eax, eax
je 0x45cddc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push edx
push str.FAILED_SpawnApp_:_csSetupPath___s_n
push eax
call fcn.00465850
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
test eax, eax
je 0x45ce7c
push 0
lea edx, [esp + 0x334]
push str.CSetupNT4_::_DoUninstall_n
push edx
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 + 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 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 + 0x230]
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 + 0xc]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x534
ret