Function at 0x417fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474228
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.00405f80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe60]
mov byte [ebp - 4], 1
call fcn.00441670
add esp, 0x18
cmp dword [0x49ad1c], 1
jne 0x4180e7
cmp dword [0x49ad2c], 3
jg 0x4180e7
test al, al
jne 0x4180e7
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.00422bb0
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.00425610
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.00407130
mov dword [ebp - 4], 1
test bl, 1
je 0x4180fe
lea ecx, [ebp - 0xc0]
call fcn.00425110
push 0x104
lea eax, [ebp - 0x72c]
push 0
push eax
call fcn.00452050
push 0x104
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00452050
push 0x104
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00452050
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00452050
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 0x4181a7
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x418222
mov eax, dword [ebp - 0x11c]
sub eax, 0
je 0x4181f1
sub eax, 1
je 0x4181ea
sub eax, 1
jne 0x41820f
imul eax, dword [ebp - 0x128], 0x64
add eax, dword [ebp - 0x124]
push eax
push 0x488214
push 0x208
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00417cf0
add esp, 0x14
jmp 0x41820f
push str.Windows_98_or_95
jmp 0x4181f6
push str.Windows_3.1
push 0x208
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00417cf0
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.00452050
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xe64], 0x104
push 0
push eax
call fcn.00452050
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 0x41832b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418280
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
je 0x4182a7
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.00417cf0
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 0x41832b
lea eax, [ebp - 0x420]
push 0x2e
push eax
call fcn.00450bad
add eax, 2
push 0x2e
push eax
call fcn.00450bad
add eax, 2
push 0x2e
push eax
call fcn.00450bad
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.00451550
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 0x418370
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 0x4183a6
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.00452050
add esp, 0xc
call fcn.00417d90
test eax, eax
je 0x4183fc
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x418401
push str.121.14.102.16
push 0x488280
push 0x40
push 0x49acc0
call fcn.00417d70
add esp, 0x10
lea eax, [ebp - 0x524]
push 0x1bb
push 0x49acc0
push 2
push 1
push 6
push 0x48831c
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.00417d70
lea edx, [ebp - 0xa38]
add esp, 0x30
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418461
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00417e20
test eax, eax
jne 0x4184b7
lea edx, [ebp - 0xa38]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418482
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00417e20
test eax, eax
jne 0x4184b7
lea edx, [ebp - 0xa38]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4184a3
sub edx, ecx
lea ecx, [ebp - 0xa38]
call fcn.00417e20
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xe4c]
cmp edx, 8
jb 0x4184fa
mov ecx, dword [ebp - 0xe60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4184f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41853c
push edx
push ecx
call fcn.0044f7c7
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.0044f786
mov esp, ebp
pop ebp
ret 4
call fcn.00454bbf
int3