Function at 0x496940
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f280a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x536364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x53ec04]
test eax, eax
jne 0x4969a4
push 0x53f750
push 0x2c
call fcn.004a1e56
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x496996
mov ecx, eax
call fcn.00482a60
jmp 0x496998
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x53ec04], eax
push str.Uninst::killApp
push str.setupHelper
push eax
call fcn.00483cd0
add esp, 0xc
lea ecx, [ebp - 0x14]
push str.SodaMSOAddin.dll
call fcn.004828f0
mov ecx, 0x53f4e0
mov dword [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4969d3
sub ecx, edx
sar ecx, 1
jne 0x4969e9
call fcn.00496760
push 0x53f4e0
lea ecx, [ebp - 0x10]
call fcn.004828f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00490520
add esp, 0xc
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496a2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496a45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
call fcn.00483a50
mov ecx, eax
test ecx, ecx
je 0x496bac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push str._s__u___s_
push eax
call fcn.00483970
add esp, 0xc
push 5
push 0
push dword [ebp - 0x10]
push str.regsvr32.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.004837b0
push str.x64SodaMSOAddin64.dll
lea ecx, [ebp - 0x1c]
call fcn.004828f0
mov ecx, 0x53f4e0
mov byte [ebp - 4], 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496ab2
sub ecx, edx
sar ecx, 1
jne 0x496ac8
call fcn.00496760
push 0x53f4e0
lea ecx, [ebp - 0x18]
call fcn.004828f0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00490520
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496b07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496b25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push str._s__u___s_
push eax
call fcn.00483970
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 5
push 0
push esi
push str.regsvr32.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x496b6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x496b81
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x496b99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004836b0
int3