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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x61ce74]
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.00540d70
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
add esp, 0x24
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48de95
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.00554202
push str.utilityinstall.ini
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0055418d
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 0x5b0144
push str.lowerversion
push 0x5c34ac
call esi
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x5b0144
push str.higherversion
push 0x5c34ac
call esi
lea eax, [ebp - 0x838]
mov ecx, edi
push eax
call fcn.00487300
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.00427100
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 0x48dc8d
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 0x48dc96
sub ecx, edx
sar ecx, 1
je 0x48dcf2
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x48dcdf
push 1
push 0x5c1168
lea ecx, [ebp - 0x834]
call fcn.00425dc0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dcd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x834]
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x48dd00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dd00
sub ecx, edx
sar ecx, 1
je 0x48dd62
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x48dd4f
push 1
push 0x5c1168
lea ecx, [ebp - 0x834]
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x48dd40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dd40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x834]
call fcn.00425dc0
mov esi, dword [ebp - 0x834]
add esi, 0xfffffff0
push esi
call fcn.00425f70
push 0x208
push 0
mov dword [ebp - 0x838], 0
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x628]
push eax
call fcn.00540d70
push ebx
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00554202
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 0x48ddde
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ddd1
jmp 0x48de21
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 0x48de49
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48de16
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 0x48de60
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 0x48de79
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3