Function at 0x5a77a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df12b
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x64f494]
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.00520870
push esi
push str.SoftwareClasses_s
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.0040d390
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.005a73e0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0xb7
je 0x5a785a
test eax, eax
jne 0x5a7b8f
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00520870
add esp, 0xc
cmp dword [0x64dd40], 0
je 0x5a7956
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x5e6540
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x5a794c
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 0x5a7942
cmp ax, 6
je 0x5a7942
cmp ax, 0xc
je 0x5a7942
push str.IsWow64Process2
push 0x5e7408
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x5a7939
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 0x5a7939
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x844], cx
sete al
mov dword [0x65648c], eax
jmp 0x5a794c
xor eax, eax
mov dword [0x65648c], eax
jmp 0x5a794c
mov dword [0x65648c], 1
mov dword [0x64dd40], 0
cmp dword [0x65648c], 0
lea eax, [ebp - 0x21c]
je 0x5a796c
push str.BiscuitZip64.exe
jmp 0x5a7971
push str.BiscuitZip.exe
push 0x65c188
push 0x5f0a2c
push 0x104
push eax
call fcn.0040d390
add esp, 0x14
lea eax, [ebp - 0x83c]
push 0x412
push 0
push eax
call fcn.00520870
push 0x5e6610
lea eax, [ebp - 0x21c]
push eax
push str.__s____unzip__s____fromDBClick
lea eax, [ebp - 0x83c]
push 0x208
push eax
call fcn.0040d390
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.005a73e0
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x848], eax
test eax, eax
jne 0x5a7a37
push 0xa
push 0x5eec18
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 0x5a7a42
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.005a73e0
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x844], eax
test eax, eax
jne 0x5a7ad4
lea ecx, [ebp - 0x83c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a7aa0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x83c]
push eax
push 1
push 0
push 0x5e6574
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x844], eax
test esi, esi
je 0x5a7adf
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.005a73e0
mov edi, dword [ebp - 0x854]
mov esi, eax
test esi, esi
jne 0x5a7b61
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a7b31
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x21c]
push eax
push 1
push 0
push 0x5e6574
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x5a7b70
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x5a7b76
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x844], 0
jne 0x5a7b8f
test esi, esi
jne 0x5a7b8f
cmp dword [ebp - 0x848], esi
jne 0x5a7b8f
mov al, 1
jmp 0x5a7b91
xor al, al
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 0x83d], al
test ecx, ecx
je 0x5a7baa
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.00465208
mov esp, ebp
pop ebp
ret