Function at 0x4189d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474d58
mov eax, dword fs:[0]
push eax
sub esp, 0xe5c
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0xe64], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0xe50], ebx
mov dword [ebp - 0xe4c], ebx
mov dword [ebp - 0xe50], ebx
mov dword [ebp - 0xe4c], 7
mov word [ebp - 0xe60], ax
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0xe68], esp
push 0x16
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push str.UninstallReportVersion
mov byte [ecx], al
call fcn.004069a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe60]
mov byte [ebp - 4], 1
call fcn.00442050
add esp, 0x18
cmp dword [0x49ad14], 1
jne 0x418ae7
cmp dword [0x49ad28], 3
jg 0x418ae7
test al, al
jne 0x418ae7
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.004235a0
mov dword [ebp - 0x1c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_upload_result.cpp
mov dword [ebp - 0x18], 0x138
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x138
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_upload_result.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
call fcn.00426000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
mov ebx, 1
mov edx, str.Check_failed:_result.
mov dword [ebp - 0xe64], ebx
call fcn.00407b40
mov dword [ebp - 4], 1
test bl, 1
je 0x418afe
lea ecx, [ebp - 0xc0]
call fcn.00425b00
push 0x104
lea eax, [ebp - 0x72c]
push 0
push eax
call fcn.00452a30
push 0x104
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00452a30
push 0x104
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00452a30
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00452a30
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00452a30
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00452a30
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0x48
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x418ba7
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x418c22
mov eax, dword [ebp - 0x11c]
sub eax, 0
je 0x418bf1
sub eax, 1
je 0x418bea
sub eax, 1
jne 0x418c0f
imul eax, dword [ebp - 0x128], 0x64
add eax, dword [ebp - 0x124]
push eax
push 0x48821c
push 0x208
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004186f0
add esp, 0x14
jmp 0x418c0f
push str.Windows_98_or_95
jmp 0x418bf6
push str.Windows_3.1
push 0x208
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004186f0
add esp, 0x10
mov ecx, 0x82
lea esi, [ebp - 0x420]
lea edi, [ebp - 0xc40]
rep movsd dword es:[edi], dword [esi]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00452a30
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xe64], 0x104
push 0
push eax
call fcn.00452a30
add esp, 0x18
lea eax, [ebp - 0x218]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x418d2b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418c80
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
je 0x418ca7
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push str._smsi.dll
push 0x208
push 0x104
push eax
call fcn.004186f0
add esp, 0x14
lea eax, [ebp - 0xe64]
push 0
push 0
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.msi.dll_MsiMessageBoxW]
test eax, eax
jne 0x418d2b
lea eax, [ebp - 0x420]
push 0x2e
push eax
call fcn.0045158d
add eax, 2
push 0x2e
push eax
call fcn.0045158d
add eax, 2
push 0x2e
push eax
call fcn.0045158d
lea ecx, [ebp - 0x420]
sub eax, ecx
and eax, 0xfffffffe
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0xe48]
push eax
call fcn.00451f30
add esp, 0x24
cmp dword [ebp - 0xe4c], 8
lea ecx, [ebp - 0x72c]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xe60]
cmovae eax, dword [ebp - 0xe60]
push 0
push 0
push 0x104
push ecx
push dword [ebp - 0xe50]
push eax
push 0
push 0
call esi
lea ecx, [ebp - 0xc40]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418d70
push 0
push 0
push 0x104
sub ecx, edx
lea eax, [ebp - 0x628]
push eax
sar ecx, 1
lea eax, [ebp - 0xc40]
push ecx
push eax
push 0
push 0
call esi
lea ecx, [ebp - 0xe48]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418da6
push 0
push 0
push 0x104
sub ecx, edx
lea eax, [ebp - 0x524]
push eax
sar ecx, 1
lea eax, [ebp - 0xe48]
push ecx
push eax
push 0
push 0
call esi
push 0x30c
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00452a30
add esp, 0xc
call fcn.00418790
test eax, eax
je 0x418dfc
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x418e01
push str.121.14.102.16
push 0x488288
push 0x40
push 0x49acb8
call fcn.00418770
add esp, 0x10
lea eax, [ebp - 0x524]
push 0x1bb
push 0x49acb8
push 2
push 1
push 6
push 0x488324
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x72c]
push eax
push str.GET__Upload_Data_r_nVERSION:_1__r_nMODULE_ID:_607__r_nCOMM:_s__s__s__s__lu__lu__lu_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.00__Windows_Xp__r_nHost:__s:_d_r_nCache_Control:_no_cache_r_n_r_n
lea eax, [ebp - 0xa38]
push 0x30c
push eax
call fcn.00418770
lea edx, [ebp - 0xa38]
add esp, 0x30
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418e61
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00418820
test eax, eax
jne 0x418eb7
lea edx, [ebp - 0xa38]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418e82
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00418820
test eax, eax
jne 0x418eb7
lea edx, [ebp - 0xa38]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418ea3
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00418820
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xe4c]
cmp edx, 8
jb 0x418efa
mov ecx, dword [ebp - 0xe60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418ef0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f3c
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0xe50], 0
mov dword [ebp - 0xe4c], 7
mov word [ebp - 0xe60], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
call fcn.0045559f
int3