Function at 0x4233c0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46a0d6
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebx
push esi
push edi
call fcn.004318b0
xor ebx, ebx
test eax, eax
je 0x423481
push ebp
push ebx
lea eax, [esp + 0x320]
push str.CInstallWA1_::_CleanUpSourcePath_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 + 0x11c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11c]
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 + 0x31c]
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 + 0x11c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
pop ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x624]
call fcn.0043a3a0
lea edx, [esp + 0x10]
lea eax, [esp + 0x418]
push edx
push eax
lea ecx, [esp + 0x628]
push str.ProgramFilesDir
push ecx
lea ecx, [esp + 0x62c]
mov dword [esp + 0x20], 0x104
call fcn.0043ac10
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0045ce46
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x820], ebx
call fcn.0045d253
mov esi, dword [esp + 0x824]
cmp eax, 0xffffffff
je 0x423543
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.0045bd16
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x820], 1
call fcn.0045cec5
lea ecx, [esp + 0x10]
mov byte [esp + 0x81c], bl
call fcn.0045cdd8
mov ecx, dword [esp + 0xc]
push ecx
push str._SYSTEMDRIVE_
mov ecx, esi
call fcn.0045ba50
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push str._HOMEDRIVE_
call fcn.0045ba50
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push str._SYSTEMROOT_
call fcn.0045ba50
lea ecx, [esp + 0x14]
push ecx
push str._WINDIR_
mov ecx, esi
call fcn.0045ba50
lea edx, [esp + 0x418]
mov ecx, esi
push edx
push str._PROGRAMFILES_
call fcn.0045ba50
mov eax, dword [esi]
push 0x5c
mov ecx, esi
mov edi, dword [eax - 8]
call fcn.0045bd8e
dec edi
cmp eax, edi
jne 0x4235b5
push 0x5c
mov ecx, esi
call fcn.0045bd8e
cmp eax, 0xffffffff
je 0x4235b5
push 1
push eax
mov ecx, esi
call fcn.0045b9bb
call fcn.004318b0
test eax, eax
je 0x423654
push ebx
lea ecx, [esp + 0x520]
push str.CInstallWA1_::_CleanUpSourcePath_n
push ecx
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 + 0x218]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
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 + 0x51c]
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 + 0x218]
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 + 0x81c], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x814
ret 4