Function at 0x42a4be
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0x20
mov eax, 0x5b0a53
call fcn.00499ab7
push str.CLSID_
lea ecx, [ebp - 0x14]
call fcn.00408c50
xor ebx, ebx
push str.9ce424a8_8388_495f_a400_2bd50eb35657
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040d0c0
mov dword [ebp - 0x1c], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.004209f4
pop ecx
test eax, eax
je 0x42a508
mov dword [ebp - 0x1c], 0x106
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x10], ebx
je 0x42a78b
mov esi, 0x5c6984
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c50
mov edi, eax
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00408c50
mov ecx, dword [edi]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00407130
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov edi, str.Misc_UninstallToolDescription
push edi
call fcn.00408c50
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.0040d754
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00429411
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
mov byte [ebp - 4], 3
call fcn.00408c50
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.0040d754
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00429411
push dword [eax]
push 1
push ebx
push str.InfoTip
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00407130
push str.DefaultIcon
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call fcn.00408c50
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410ad4
mov eax, dword [eax]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00407130
cmp dword [ebp - 0x18], ebx
je 0x42a6c9
call fcn.004840f7
push dword [eax + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d525
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
call fcn.004840f7
push dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0041d525
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00407130
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.ShellOpenCommand
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], ebx
call fcn.00408c50
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.00410ad4
mov eax, dword [eax]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call edi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00407130
cmp dword [ebp - 0x20], ebx
je 0x42a782
call fcn.004840f7
push dword [eax + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.0041d525
pop ecx
pop ecx
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004840f7
push dword [eax + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d525
pop ecx
pop ecx
mov ecx, dword [edi]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx + ecx + 2]
push ecx
push dword [eax]
push 1
push ebx
push ebx
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00407130
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00407130
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407130
xor eax, eax
call fcn.00499b8f
ret