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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a65ab
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x639354]
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.00560a80
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00560a80
add esp, 0x24
mov dword [ebp - 4], 0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x49e6ee
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], 1
push 0x104
push eax
call fcn.0056f8ec
push str.utilityinstall.ini
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0056f877
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 0x5b8734
push str.lowerversion
push str.update
call esi
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5b8734
push str.higherversion
push str.update
call esi
lea eax, [ebp - 0x838]
mov ecx, edi
push eax
call fcn.004975b0
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 2
call fcn.004297a0
mov edx, dword [ebp - 0x838]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49e4e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e4f0
sub ecx, edx
sar ecx, 1
je 0x49e552
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x49e53f
push 1
push 0x5bcda0
lea ecx, [ebp - 0x834]
call fcn.004299d0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x49e530
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e530
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x834]
call fcn.004299d0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x49e560
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e560
sub ecx, edx
sar ecx, 1
je 0x49e5c2
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x49e5af
push 1
push 0x5bcda0
lea ecx, [ebp - 0x834]
call fcn.004299d0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x49e5a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e5a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x834]
call fcn.004299d0
mov esi, dword [ebp - 0x834]
add esi, 0xfffffff0
push esi
call fcn.00429b80
push 0x208
push 0
mov dword [ebp - 0x834], 0
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x628]
push eax
call fcn.00560a80
push ebx
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0056f8ec
add esp, 0x1c
lea eax, [ebp - 0x834]
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e63e
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e631
jmp 0x49e681
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x834]
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 0x49e6a9
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e676
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 - 0x834]
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 0x49e6c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x49e6d2
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3