Function at 0x5ab520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e35cb
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x655494]
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.005245e0
push esi
push str.SoftwareClasses_s
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.0040d440
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.005ab160
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0xb7
je 0x5ab5da
test eax, eax
jne 0x5ab90f
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005245e0
add esp, 0xc
cmp dword [0x653d40], 0
je 0x5ab6d6
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x5eb540
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x5ab6cc
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 0x5ab6c2
cmp ax, 6
je 0x5ab6c2
cmp ax, 0xc
je 0x5ab6c2
push str.IsWow64Process2
push 0x5ec470
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x5ab6b9
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 0x5ab6b9
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x844], cx
sete al
mov dword [0x65c614], eax
jmp 0x5ab6cc
xor eax, eax
mov dword [0x65c614], eax
jmp 0x5ab6cc
mov dword [0x65c614], 1
mov dword [0x653d40], 0
cmp dword [0x65c614], 0
lea eax, [ebp - 0x21c]
je 0x5ab6ec
push str.BiscuitZip64.exe
jmp 0x5ab6f1
push str.BiscuitZip.exe
push 0x662310
push 0x5f5fc4
push 0x104
push eax
call fcn.0040d440
add esp, 0x14
lea eax, [ebp - 0x83c]
push 0x412
push 0
push eax
call fcn.005245e0
push 0x5eb610
lea eax, [ebp - 0x21c]
push eax
push str.__s____unzip__s____fromDBClick
lea eax, [ebp - 0x83c]
push 0x208
push eax
call fcn.0040d440
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.005ab160
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x848], eax
test eax, eax
jne 0x5ab7b7
push 8
push 0x5f4028
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 0x5ab7c2
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.005ab160
mov esi, dword [ebp - 0x854]
mov dword [ebp - 0x844], eax
test eax, eax
jne 0x5ab854
lea ecx, [ebp - 0x83c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ab820
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x83c]
push eax
push 1
push 0
push 0x5eb574
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x844], eax
test esi, esi
je 0x5ab85f
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.005ab160
mov edi, dword [ebp - 0x854]
mov esi, eax
test esi, esi
jne 0x5ab8e1
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ab8b1
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x21c]
push eax
push 1
push 0
push 0x5eb574
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x5ab8f0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x5ab8f6
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x844], 0
jne 0x5ab90f
test esi, esi
jne 0x5ab90f
cmp dword [ebp - 0x848], esi
jne 0x5ab90f
mov al, 1
jmp 0x5ab911
xor al, al
mov ecx, dword [ebp - 0x860]
mov byte [ebp - 0x83d], al
test ecx, ecx
je 0x5ab92a
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.00468f28
mov esp, ebp
pop ebp
ret