Function at 0x402bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x47d348]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x45b048]
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionUninstallBearScreenShot]
push ebx
push 0
mov word [ebp - 8], ax
mov ebx, ecx
mov al, byte [0x45b04a]
mov byte [ebp - 6], al
lea eax, [ebp - 0x150]
push eax
push 0
movups xmmword [ebp - 0x48], xmm0
push 0xf003f
movups xmm0, xmmword [0x45b018]
push 0
push 0
movups xmmword [ebp - 0x38], xmm0
push 0
movups xmm0, xmmword [0x45b028]
lea eax, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x28], xmm0
push SysReAllocStringLen
movups xmm0, xmmword [0x45b038]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402e58
push esi
push edi
push 0x104
push eax
lea eax, [ebp - 0x14c]
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x14c]
mov esi, 0x45b04c
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x402c89
mov al, byte [esi + ecx]
test al, al
je 0x402c89
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x402c70
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ecx - 1]
test edx, edx
push 0x104
cmovne eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 0x150]
call edi
push 0x104
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x14c]
mov esi, 0x45b064
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x402cfa
mov al, byte [esi + ecx]
test al, al
je 0x402cfa
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x402ce1
test edx, edx
lea eax, [ecx - 1]
push 0x104
cmovne eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x150]
call edi
push 0x104
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ebx
call fcn.00401510
push str.uninst.exe
lea ecx, [ebp - 0x14c]
call fcn.00401d30
push 0x104
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x150]
call edi
push 0x104
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ebx
call fcn.00401510
push str.BearScreenShot.exe
lea ecx, [ebp - 0x14c]
call fcn.00401d30
push 0x104
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x150]
call edi
push 0x104
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x14c]
mov esi, 0x45b0b8
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x402e09
mov al, byte [esi + ecx]
test al, al
je 0x402e09
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x402df0
test edx, edx
lea eax, [ecx - 1]
push 0x104
cmovne eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0x150]
call edi
mov eax, dword [ebp - 0x150]
pop edi
pop esi
test eax, eax
je 0x402e44
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044df71
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0044df71
mov esp, ebp
pop ebp
ret