Function at 0x1005870a
Capabilities:
Persist via contextmenuhandlers registry key
Set registry value

Disassembly:
push 0x250
mov eax, 0x100f11fb
call fcn.10082248
mov edi, ecx
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
call fcn.100a25c0
add esp, 0xc
mov dword [ebp - 0x220], ebx
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push str.SOFTWAREClassesCLSID_
call fcn.10022050
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
push 0xf013f
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
cmovae eax, dword [ebp - 0x230]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100587d3
push dword [ebp - 0x24c]
mov ecx, edi
call fcn.10057398
cmp dword [ebp - 0x24c], 0
je 0x100587d3
push dword [ebp - 0x24c]
call esi
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.10022050
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x1005882f
push dword [ebp - 0x250]
mov ecx, edi
call fcn.10057398
cmp dword [ebp - 0x250], 0
je 0x1005882f
push dword [ebp - 0x250]
call esi
push str.TypeLib_
lea ecx, [ebp - 0x230]
call fcn.10022050
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x254]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x1005888b
push dword [ebp - 0x254]
mov ecx, edi
call fcn.1005780d
cmp dword [ebp - 0x254], 0
je 0x1005888b
push dword [ebp - 0x254]
call esi
push str.SOFTWAREClassesDirectory_background_shellexContextMenuHandlers_
lea ecx, [ebp - 0x230]
call fcn.10022050
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x25c]
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor edi, edi
push 0xf013f
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x100589f2
push str.AntZipAccer
lea ecx, [ebp - 0x230]
call fcn.10022050
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x258]
push edi
push ecx
push edi
push 0xf003f
push edi
push edi
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push edi
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100589d0
push 0x100fc528
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.10022050
push str.0704e2de_5157_5340_a429_fec62d76ff47
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.1003768b
push 0x100fc57c
lea ecx, [ebp - 0x248]
call fcn.1003768b
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1005897f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10058997
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push edi
push 0x100f55e0
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x248]
call fcn.10001ee0
cmp dword [ebp - 0x258], 0
je 0x100589e1
push dword [ebp - 0x258]
call esi
cmp dword [ebp - 0x25c], 0
je 0x100589f2
push dword [ebp - 0x25c]
call esi
lea ecx, [ebp - 0x230]
call fcn.10001ee0
mov al, 1
call fcn.100821f2
ret