Function at 0x43e8e0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x64b4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x258
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00523fd0
add esp, 0xc
xor edi, edi
mov edx, dword [edi + 0x5ea914]
lea esi, [ebp - 0x260]
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x43e930
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e950
sub ecx, edx
lea esi, [ebp - 0x260]
sar ecx, 1
mov edx, 0x5ea9c0
lea esi, [esi + ecx*2]
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x43e970
cmp dword [0x649d40], 0
je 0x43ea6b
push str.GetNativeSystemInfo
push 0x5e5548
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x43ea61
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x2a0]
movaps xmmword [ebp - 0x2a0], xmm0
push ecx
movaps xmmword [ebp - 0x290], xmm0
call eax
mov ax, word [ebp - 0x2a0]
cmp ax, 9
je 0x43ea57
cmp ax, 6
je 0x43ea57
cmp ax, 0xc
je 0x43ea57
push str.IsWow64Process2
push 0x5e6058
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x43ea4e
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x43ea4e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x264], cx
sete al
mov dword [0x6523bc], eax
jmp 0x43ea61
xor eax, eax
mov dword [0x6523bc], eax
jmp 0x43ea61
mov dword [0x6523bc], 1
mov dword [0x649d40], 0
cmp dword [0x6523bc], 0
lea eax, [ebp - 0x264]
push 0
push eax
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x260]
push 0
je 0x43ead1
push 0xf013f
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43eb13
push 0x4e
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push 1
push eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x264]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x43eb19
push 0xf003f
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43eb13
push 0x4e
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push 1
push eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x264]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x43eb19
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 4
cmp edi, 0xc
jb 0x43e920
call fcn.004363f0
push 0
test al, al
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x264]
push eax
push 0
je 0x43eb4a
push 0xf013f
jmp 0x43eb4f
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43eb8c
push 0x38
push str.Uninstaller_Shell_Extension
push 1
push eax
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x264]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00465678
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret