Function at 0x42c110
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4787a4
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2dc]
mov dword [esp + 0x24], eax
call fcn.00403f20
call fcn.0040fb10
mov dword [esp + 0x20], eax
call fcn.00446493
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c17e
push 0x80004005
call fcn.00402750
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x20]
lea eax, [esi + 0xac0]
push eax
lea ecx, [esp + 0x20]
push str.SOFTWARE_spokerSDL
push ecx
mov dword [esp + 0x2e0], 0
call fcn.0040a810
mov ebp, dword [esp + 0x28]
add esp, 0xc
lea edi, [esi + 0x2ce4]
push ebp
mov ebx, 0x487b98
mov esi, SysReAllocString
call fcn.00403040
add esp, 4
push 0
push ebp
mov edi, str.Bin_Flag
call fcn.00403140
push 0
push ebp
mov edi, str.Upd_Flag
call fcn.00403140
push ebp
mov edi, 0x483880
mov ebx, str.Upg_Date
call fcn.00403040
add esp, 0x14
push ebp
mov ebx, str.Upd_Ver
call fcn.00403040
add esp, 4
call fcn.0040fb10
add eax, 0xa40
xor ebx, ebx
mov ebp, 7
mov ecx, eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x42c234
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x70]
call fcn.00401750
mov edx, esi
push 1
push edx
mov byte [esp + 0x2dc], 1
call fcn.00403430
add esp, 8
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x80], 8
jb 0x42c281
mov eax, dword [esp + 0x6c]
push eax
call fcn.00438751
add esp, 4
mov edi, dword [esp + 0x20]
add edi, 0xa40
push edi
lea ecx, [esp + 0x20]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s_
push ecx
call fcn.0040a810
mov eax, dword [esp + 0x30]
add esp, 0xc
push 0xffffffffffffffff
add eax, 0x354
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
call fcn.00401ce0
push 0xf
push str.Utilslogo.ico
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2dc], 2
call fcn.0040d6f0
push 0x208
call fcn.00438756
mov edx, dword [esp + 0x20]
add esp, 4
push edx
mov ebx, str.DisplayName
mov esi, SysReAllocString
mov ebp, eax
call fcn.00403040
mov edx, dword [esp + 0x8c]
add esp, 4
cmp dword [esp + 0x9c], 8
jae 0x42c325
lea edx, [esp + 0x88]
mov ecx, ebp
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
test ax, ax
jne 0x42c327
mov eax, dword [esp + 0x1c]
push eax
mov edi, ebp
mov ebx, str.DisplayIcon
call fcn.00403040
add esp, 4
call fcn.00403f20
push eax
lea esi, [esp + 0x48]
call fcn.0041ba00
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x42c36a
mov ecx, dword [eax + 4]
jmp 0x42c36d
lea ecx, [eax + 4]
mov edx, ebp
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42c370
cmp dword [esp + 0x5c], esi
jb 0x42c394
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438751
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov edi, ebp
mov ebx, str.DisplayVersion
mov esi, SysReAllocString
call fcn.00403040
mov eax, dword [esp + 0x28]
add esp, 4
xor esi, esi
push 0xffffffffffffffff
push esi
add eax, 0x354
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], si
call fcn.00401ce0
push 0x20
push str.WebInstaller.exe_MODE_UNINSTALL
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2dc], 3
call fcn.0040d6f0
cmp dword [esp + 0xb8], 8
mov edx, dword [esp + 0xa4]
jae 0x42c414
lea edx, [esp + 0xa4]
mov ecx, ebp
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ax, si
jne 0x42c416
mov eax, dword [esp + 0x1c]
push eax
mov edi, ebp
mov ebx, str.UninstallString
mov esi, SysReAllocString
call fcn.00403040
mov ebx, dword [esp + 0x20]
add esp, 4
push 0xbcd7c
push ebx
mov edi, str.EstimatedSize
call fcn.00403140
push ebx
mov edi, 0x488c50
mov ebx, str.Publisher
call fcn.00403040
mov esi, dword [esp + 0x30]
add esp, 0xc
push esi
call fcn.00425530
xor ebx, ebx
cmp byte [esi + 0x3cc], bl
je 0x42c9ef
push 0x208
call fcn.00438756
mov ebp, esi
add ebp, 0x370
add esp, 4
cmp dword [ebp + 0x18], 8
mov edi, eax
jb 0x42c4a1
mov ecx, dword [ebp + 4]
jmp 0x42c4a4
lea ecx, [ebp + 4]
mov edx, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x42c4a6
mov eax, dword [esp + 0x20]
add eax, 0xac0
push eax
lea ecx, [esp + 0x20]
push str.SOFTWARE_spokerINIT
push ecx
call fcn.0040a810
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
mov ebx, str.BINPATH
mov esi, SysReAllocString
call fcn.00403040
add esp, 4
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
call fcn.00401ce0
push 4
push str.bin_
lea ecx, [esp + 0x70]
mov byte [esp + 0x2dc], 4
call fcn.0040d6f0
mov ecx, dword [esp + 0x20]
add ecx, 0xbc0
mov eax, ecx
lea edx, [eax + 2]
jmp 0x42c540
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x42c540
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.0040d6f0
push 4
push str..exe
lea ecx, [esp + 0x70]
call fcn.0040d6f0
push 0x208
call fcn.00438756
add esp, 4
mov dword [esp + 0x60], eax
lea eax, [esp + 0xbc]
push eax
push ebx
push ebx
push 0x10
mov byte [esp + 0x2e4], 5
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push ebx
call edi
test eax, eax
je 0x42c5e5
push str.Unable_to_retrieve_Desktop_path__no_Desktop_icon_created.
push ebx
push 0x34c
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
mov esi, 8
mov ebp, 7
lea edx, [esp + 0xbc]
push edx
push ebx
push ebx
push 0xb
push ebx
call edi
test eax, eax
je 0x42c726
push str.Unable_to_retrieve_Start_Menu_path__no_Start_Menu_shortcut_created.
push ebx
push 0x360
jmp 0x42c847
mov eax, dword [esp + 0x6c]
mov esi, 8
cmp dword [esp + 0x80], esi
jae 0x42c5fb
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xbc]
push ecx
push eax
push str.Creating_shortcut_for__s_into__s
push ebx
push 0x350
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
mov ecx, dword [esp + 0x84]
add esp, 0x18
cmp dword [esp + 0x80], esi
jae 0x42c630
lea ecx, [esp + 0x6c]
mov edx, dword [esp + 0x20]
add edx, 0xc40
push edx
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0xc4]
call fcn.00401010
test eax, eax
jne 0x42c5b9
push str.CreateLinkFileBase_____Failed_for_Desktop_shortcut
push ebx
push 0x353
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
lea edx, [esp + 0xbc]
lea eax, [esp + 0x44]
call fcn.00401360
mov byte [esp + 0x2d4], 6
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
jae 0x42c695
lea edx, [esp + 0x6c]
lea eax, [esp + 0x28]
call fcn.00401360
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2dc], 7
call fcn.0040ec10
add esp, 8
test al, al
sete byte [esp + 0x1b]
cmp dword [esp + 0x40], esi
jb 0x42c6d2
mov eax, dword [esp + 0x2c]
push eax
call fcn.00438751
add esp, 4
mov ebp, 7
mov byte [esp + 0x2d4], 5
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x42c6ff
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438751
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x42c5be
push str.CreateFileLink___second_Process___Failed_for_Desktop_shortcut
push ebx
push 0x357
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
jmp 0x42c5be
cmp dword [esp + 0x80], esi
mov eax, dword [esp + 0x6c]
jae 0x42c737
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xbc]
push ecx
push eax
push str.Creating_shortcut_for__s_into__s
push ebx
push 0x364
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
mov ecx, dword [esp + 0x84]
add esp, 0x18
cmp dword [esp + 0x80], esi
jae 0x42c76c
lea ecx, [esp + 0x6c]
mov edx, dword [esp + 0x20]
add edx, 0xc40
push edx
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0xc4]
call fcn.00401010
test eax, eax
jne 0x42c854
push str.CreateLinkFileBase_____Failed_for_Start_Menu_shortcut
push ebx
push 0x367
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
lea edx, [esp + 0xbc]
lea eax, [esp + 0x44]
call fcn.00401360
mov byte [esp + 0x2d4], 8
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
jae 0x42c7d1
lea edx, [esp + 0x6c]
lea eax, [esp + 0x28]
call fcn.00401360
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2dc], 9
call fcn.0040ec10
add esp, 8
test al, al
sete byte [esp + 0x1b]
cmp dword [esp + 0x40], esi
jb 0x42c80e
mov eax, dword [esp + 0x2c]
push eax
call fcn.00438751
add esp, 4
mov byte [esp + 0x2d4], 5
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x42c836
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438751
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x42c854
push str.CreateFileLink___second_Process___Failed_for_Star_Menu_shortcut
push ebx
push 0x36b
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
lea edx, [esp + 0xbc]
push edx
push ebx
push ebx
push 2
push ebx
call edi
test eax, eax
je 0x42c877
push str.Unable_to_retrieve_Quick_program_launch_Menu__no_Quick_launch_created.
push ebx
push 0x373
jmp 0x42c9a5
cmp dword [esp + 0x80], esi
mov eax, dword [esp + 0x6c]
jae 0x42c888
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xbc]
push ecx
push eax
push str.Creating_shortcut_for__s_into__s
push ebx
push 0x377
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
mov ecx, dword [esp + 0x84]
add esp, 0x18
cmp dword [esp + 0x80], esi
jae 0x42c8bd
lea ecx, [esp + 0x6c]
mov edx, dword [esp + 0x20]
add edx, 0xc40
push edx
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0xc4]
call fcn.00401010
test eax, eax
jne 0x42c9b2
push str.CreateLinkFileBase_____Failed_for_Programs_shortcut
push ebx
push 0x37a
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
lea edx, [esp + 0xbc]
lea eax, [esp + 0x44]
call fcn.00401360
mov byte [esp + 0x2d4], 0xa
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
jae 0x42c922
lea edx, [esp + 0x6c]
lea eax, [esp + 0x28]
call fcn.00401360
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2dc], 0xb
call fcn.0040ec10
add esp, 8
test al, al
sete byte [esp + 0x1b]
cmp dword [esp + 0x40], esi
jb 0x42c95f
mov eax, dword [esp + 0x2c]
push eax
call fcn.00438751
add esp, 4
mov byte [esp + 0x2d4], 5
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x42c987
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438751
add esp, 4
cmp byte [esp + 0x1b], bl
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
je 0x42c9b2
push str.CreateFileLink___second_Process___Failed_for_Programs_shortcut
push ebx
push 0x37e
push str.WebUpdaterDlg::registryUpdate
call fcn.004347c0
add esp, 0x10
mov edx, dword [esp + 0x60]
push edx
call fcn.00438751
add esp, 4
mov byte [esp + 0x2d4], 3
cmp dword [esp + 0x80], esi
jb 0x42c9dd
mov eax, dword [esp + 0x6c]
push eax
call fcn.00438751
add esp, 4
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov dword [esp + 0x80], ebp
xor ebx, ebx
push 0xc
call fcn.00403f20
mov ecx, eax
call fcn.00404130
call fcn.0042d150
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x2e8]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x20]
push ebx
push 0x14d
push 5
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, 8
cmp dword [esp + 0xb8], edi
mov dword [esi + 0x2e0], eax
jb 0x42ca4d
mov eax, dword [esp + 0xa4]
push eax
call fcn.00438751
add esp, 4
cmp dword [esp + 0x9c], edi
mov esi, 7
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x42ca81
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00438751
add esp, 4
mov dword [esp + 0x2d4], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.004552e7
add esp, 0x2c4
ret 4