Function at 0x42bb20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x453c81
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
push 0x104
push 0x469120
xor ebx, ebx
push ebx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x469120
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, 0x469120
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42bb83
sub eax, edx
sar eax, 1
push eax
lea esi, [edi + 0xad4]
push 0x469120
call fcn.004040c0
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [edi + 0x10]
cmp eax, ebx
jne 0x42bf29
mov eax, dword [edi + 0xabc]
neg eax
sbb eax, eax
and eax, 0xe
cmp eax, ebx
jne 0x42bf29
lea eax, [edi + 0x814]
push eax
call fcn.0042d670
cmp dword [esi + 0x18], 8
jb 0x42bbe3
mov eax, dword [esi + 4]
jmp 0x42bbe6
lea eax, [esi + 4]
push eax
push str.__Source:__s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0xc
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, ebx
je 0x42bc95
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
cmp dword [esp + 0x14], ebx
setne al
test al, al
je 0x42bc95
call fcn.00431ae0
cmp eax, 0x5010100
jb 0x42bc95
cmp eax, 0xffffffff
ja 0x42bc95
push 0x104
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
cmp eax, ebx
jne 0x42bc66
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.msls31.dll
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8000
call ebp
lea edx, [esp + 0x44]
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
call ebp
xor ebx, ebx
cmp dword [esi + 0x18], 8
jb 0x42bca0
mov esi, dword [esi + 4]
jmp 0x42bca3
add esi, 4
push esi
lea eax, [esp + 0x250]
push 0x104
push eax
call fcn.0043a1a2
add esp, 0xc
mov edx, str.uninstall
call fcn.00401e60
test eax, eax
jne 0x42bcda
push str.Lang
lea ecx, [esp + 0x250]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [esp + 0x24c]
call fcn.0042e990
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp dword [edi + 0xc], ebx
je 0x42be09
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea esi, [esp + 0x28]
mov dword [esp + 0x460], ebx
call fcn.0042af80
mov ebx, 1
mov ebp, 8
mov byte [esp + 0x460], bl
cmp dword [eax + 0x18], ebp
jb 0x42bd2f
mov eax, dword [eax + 4]
jmp 0x42bd32
add eax, 4
push eax
push str.Error_in_command_line:__s
push 0x4676b8
mov eax, 2
call fcn.0042dae0
add esp, 0xc
mov byte [esp + 0x460], 0
cmp dword [esp + 0x40], ebp
jb 0x42bd65
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00439935
add esp, 4
lea esi, [esp + 0x28]
call fcn.0042af80
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x464], 2
call fcn.0040d330
mov byte [esp + 0x460], 0
cmp dword [esp + 0x40], ebp
jb 0x42bd9b
mov edx, dword [esp + 0x2c]
push edx
call fcn.00439935
add esp, 4
push 0x7f02
xor eax, eax
push 7
push 0x84
push 0x7d9
lea edx, [esp + 0x28]
lea ecx, [eax + 0x3b]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
call fcn.00433190
add esp, 0x10
cmp eax, 7
jne 0x42bdf3
mov dword [0x4676dc], 0xa001
call fcn.0042da30
lea esi, [esp + 0x18]
mov dword [edi + 0x10], ebx
call fcn.0040d0e0
jmp 0x42bf29
lea esi, [esp + 0x18]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040d0e0
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov edx, 0x45b03c
call fcn.00401e60
test eax, eax
je 0x42be41
mov eax, dword [0x468c60]
push ebx
push 0x435d90
push ebx
push 0x9b
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x42bebe
mov edx, 0x45cae4
call fcn.00401e60
test eax, eax
je 0x42be5a
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
jmp 0x42bebe
mov edx, str.noinstall
call fcn.00401e60
test eax, eax
je 0x42be71
mov esi, edi
call fcn.0042c170
jmp 0x42bebe
mov edx, 0x45af68
call fcn.00401e60
test eax, eax
je 0x42be88
mov eax, edi
call fcn.0042c1b0
jmp 0x42bebe
mov edx, str.uninstall
call fcn.00401e60
test eax, eax
je 0x42be9f
mov esi, edi
call fcn.0042c0b0
jmp 0x42bebe
mov edx, 0x4568a8
call fcn.00401e60
test eax, eax
je 0x42beb7
push edi
call fcn.0042c310
test al, al
je 0x42bebe
mov esi, edi
call fcn.0042bf60
mov edx, 0x45b038
call fcn.00401e60
test eax, eax
je 0x42bee5
call fcn.004021a0
test eax, eax
je 0x42bede
mov esi, edi
call fcn.0042d380
jmp 0x42bef9
push str.Not_in_silent_mode__ignoring__b_switch
jmp 0x42beea
push str.IIF_will_NOT_initiate_reboot
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 8
call fcn.0042da30
cmp dword [0x468c58], ebx
je 0x42bf23
mov ecx, dword [0x468c60]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, 0x468c44
mov dword [0x468c60], ebx
call fcn.00420940
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00437ffa
add esp, 0x450
ret