Function at 0x5abc50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3656
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5edce8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.005ab520
add esp, 8
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
push 0x2001f
push str.SOFTWARERegisteredApplications
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], 0
call fcn.0041bcb0
mov edi, dword [ebp - 0x44c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x5abce6
xor bl, bl
jmp 0x5abef6
push 0x42
push str.SoftwareBiscuitZipCapabilities
push 1
push 0
push 0x5edce8
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0x2001f
push str.SOFTWAREBiscuitZip
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.0041bcb0
test eax, eax
je 0x5abd44
xor bl, bl
jmp 0x5abed5
mov edi, dword [0x662304]
mov esi, dword [edi]
cmp esi, edi
je 0x5abec7
nop dword [eax]
nop dword [eax + eax]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005245e0
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.005245e0
lea eax, [esi + 0x10]
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x5abd94
mov eax, dword [eax]
push eax
push 0x6273b4
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0040d440
add esp, 0x10
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
lea eax, [ebp - 0x21c]
push eax
push 0x5edce8
push 0x6273bc
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.0040d440
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x440]
add esp, 0x14
mov dword [ebp - 0x440], 0
or eax, 0x2001f
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
push 0
push 0
push eax
push 0
push 0
push str.CapabilitiesFileAssociations
push dword [ebp - 0x434]
call fcn.005ab160
mov ebx, dword [ebp - 0x440]
test eax, eax
jne 0x5abe50
push 0x16
push 0x5edce8
push 1
push 0
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x5abe65
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x440], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x43c], 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.005ab520
mov eax, dword [esi + 8]
add esp, 8
cmp byte [eax + 0xd], 0
je 0x5abea9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x5abea5
cmp esi, dword [eax + 8]
jne 0x5abea5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x5abe95
mov esi, eax
jmp 0x5abebf
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x5abebf
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x5abeb3
cmp esi, edi
jne 0x5abd60
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov edi, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x5abeec
push eax
call esi
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
test edi, edi
je 0x5abefd
push edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret