Function at 0x4949c0
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ce06
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x62819c]
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
mov edi, ecx
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0x24
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x494d15
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
push dword [edi + 0x10]
lea eax, [ebp - 0x830]
mov dword [ebp - 4], 0
push 0x104
push eax
call fcn.00559d1c
push str.utilityinstall.ini
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00559ca7
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x830]
add esp, 0x18
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5ac698
push str.lowerversion
push str.update
call esi
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5ac698
push str.higherversion
push str.update
call esi
lea eax, [ebp - 0x838]
mov ecx, edi
push eax
call fcn.0048dc40
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.0042a6a0
mov edx, dword [ebp - 0x838]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494b0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494b16
sub ecx, edx
sar ecx, 1
je 0x494b72
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x494b5f
push 1
push 0x5b94f8
lea ecx, [ebp - 0x834]
call fcn.00429240
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494b50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x834]
call fcn.00429240
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x494b80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494b80
sub ecx, edx
sar ecx, 1
je 0x494be2
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x494bcf
push 1
push 0x5b94f8
lea ecx, [ebp - 0x834]
call fcn.00429240
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x494bc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494bc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x834]
call fcn.00429240
mov esi, dword [ebp - 0x834]
add esi, 0xfffffff0
push esi
call fcn.004293f0
push 0x208
push 0
mov dword [ebp - 0x838], 0
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x628]
push eax
call fcn.0054b380
push ebx
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00559d1c
add esp, 0x1c
lea eax, [ebp - 0x838]
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x494c5e
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494c51
jmp 0x494ca1
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x838]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x494cc9
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494c96
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push str.waitclearversions
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ebx - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494ce0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x494cf9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3