Function at 0x4e6350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x55b524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x428]
mov esi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
call fcn.00491810
push esi
push str.SoftwareClasses_s
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.00409c90
add esp, 0x1c
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
push 0
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push edi
lea ecx, [ebp - 0x860]
call fcn.004e5f90
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0xb7
je 0x4e640a
test eax, eax
jne 0x4e673f
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00491810
add esp, 0xc
cmp dword [0x559d9c], 0
je 0x4e6506
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x51d300
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x4e64fc
xorps xmm0, xmm0
mov dword [ebp - 0x864], 0
lea ecx, [ebp - 0x884]
push ecx
movups xmmword [ebp - 0x884], xmm0
movups xmmword [ebp - 0x874], xmm0
call eax
mov ax, word [ebp - 0x884]
cmp ax, 9
je 0x4e64f2
cmp ax, 6
je 0x4e64f2
cmp ax, 0xc
je 0x4e64f2
push str.IsWow64Process2
push 0x51e0f8
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x4e64e9
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4e64e9
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x844], cx
sete al
mov dword [0x56053c], eax
jmp 0x4e64fc
xor eax, eax
mov dword [0x56053c], eax
jmp 0x4e64fc
mov dword [0x56053c], 1
mov dword [0x559d9c], 0
cmp dword [0x56053c], 0
lea eax, [ebp - 0x21c]
je 0x4e651c
push str.BiscuitZip64.exe
jmp 0x4e6521
push str.BiscuitZip.exe
push 0x5652b0
push 0x5276cc
push 0x104
push eax
call fcn.00409c90
add esp, 0x14
lea eax, [ebp - 0x83c]
push 0x412
push 0
push eax
call fcn.00491810
push 0x51d3d0
lea eax, [ebp - 0x21c]
push eax
push str.__s____unzip__s____fromDBClick
lea eax, [ebp - 0x83c]
push 0x208
push eax
call fcn.00409c90
mov edi, dword [ebp - 0x85c]
lea ecx, [ebp - 0x854]
add esp, 0x20
mov dword [ebp - 0x854], 0
or edi, 0x2001f
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
push 0
push 0
push edi
push 0
push 0
push str.shellopen
push dword [ebp - 0x860]
call fcn.004e5f90
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x848], eax
test eax, eax
jne 0x4e65e7
push 0xa
push 0x5258b8
push 1
push 0
push str.FriendlyAppName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x848], eax
test esi, esi
je 0x4e65f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push edi
push 0
push 0
push str.shellopencommand
push dword [ebp - 0x860]
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
call fcn.004e5f90
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x844], eax
test eax, eax
jne 0x4e6684
lea ecx, [ebp - 0x83c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e6650
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x83c]
push eax
push 1
push 0
push 0x51d334
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x844], eax
test esi, esi
je 0x4e668f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push edi
push 0
push 0
push str.DefaultIcon
push dword [ebp - 0x860]
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
call fcn.004e5f90
mov edi, dword [ebp - 0x854]
mov esi, eax
test esi, esi
jne 0x4e6711
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e66e1
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x21c]
push eax
push 1
push 0
push 0x51d334
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x4e6720
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x4e6726
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x844], 0
jne 0x4e673f
test esi, esi
jne 0x4e673f
cmp dword [ebp - 0x848], esi
jne 0x4e673f
mov al, 1
jmp 0x4e6741
xor al, al
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 0x83d], al
test ecx, ecx
je 0x4e675a
push ecx
call edi
mov al, byte [ebp - 0x83d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462c38
mov esp, ebp
pop ebp
ret