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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbd76
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x66f33c]
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
mov dword [ebp - 0x254], ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push 0
push eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
call fcn.0047be90
add esp, 0xc
call fcn.00454993
test al, al
je 0x43518c
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x4351b4
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x4351cd
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x4351e9
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
push 0x17
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov dword [ebp - 0x264], esi
call fcn.00454360
test al, al
je 0x435284
push ebx
push ebx
pop ebp
push esi
pop edx
pop esp
push edi
push ebx
pop edx
push edi
push edi
push ebp
pop eax
pop edi
push esp
pop edi
push ebx
push ebx
push ebx
push ebp
pop ecx
pop ebx
pop esi
push esi
push esi
push esp
pop esp
push esi
pop edi
push ecx
push esp
pop ebx
mov esi, dword [ebp - 0x264]
call fcn.0045442f
test al, al
je 0x4352a0
pop eax
pop eax
push ebx
pop edx
pop ecx
push edi
pop esp
pop ebp
push eax
pop edi
pop edi
pop eax
push esi
push esp
push eax
push eax
push esp
pop eax
pop ebp
call fcn.004544fe
test al, al
je 0x4352bd
pop edi
pop ebx
push ebp
push eax
pop edx
pop ecx
push ecx
push esi
pop edi
push esp
push ebp
push esp
pop edi
push edi
pop esp
push esi
pop esp
push edx
push edx
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4352e5
push dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x254]
call fcn.00432cd0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x4352e5
push eax
call ebx
call fcn.0045469c
test al, al
je 0x435309
pop esp
push esp
pop esi
pop esi
pop edx
push ebx
push esi
pop esi
push esp
pop eax
pop edx
pop esi
push ebx
pop ecx
pop ecx
pop edx
push eax
pop ebp
push edx
pop eax
pop edx
pop eax
push ecx
pop edx
pop ecx
pop edi
pop ecx
push 6
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.00403000
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 dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x264], eax
call fcn.004544b9
test al, al
je 0x43537b
pop esi
push ebx
pop edi
push esi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ecx
pop ecx
pop edx
pop edx
pop esp
push ebx
push ebx
push esp
pop eax
pop ebp
push esi
pop eax
pop edx
pop edi
push eax
pop ebx
push ebp
push eax
pop esi
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x264], 0
jne 0x4353a2
push dword [ebp - 0x250]
mov ecx, dword [ebp - 0x254]
call fcn.00432cd0
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x4353a2
push eax
call ebx
call fcn.00454588
test al, al
je 0x4353ca
pop esp
pop edx
push ecx
push esi
pop edx
pop ebx
pop edi
push esi
pop ebp
pop ecx
pop esp
push eax
pop ebp
pop edx
push ebp
pop ecx
push ebx
pop esi
pop eax
pop edx
push ebx
push esi
pop ecx
push ebp
push ebx
pop ebp
pop ecx
push edx
push edx
pop edi
push eax
call fcn.0045469c
test al, al
je 0x4353f0
pop ebx
push ecx
push ebp
pop edi
push edx
pop ecx
push esp
pop ebx
pop ecx
pop edi
push ebx
push ebx
push esp
pop edi
pop edx
push ebx
push ebx
pop edi
pop eax
pop ebp
pop esi
pop edi
pop ebx
push esp
pop ebp
pop eax
pop esi
pop edi
pop ecx
push 8
push str.TypeLib_
lea ecx, [ebp - 0x230]
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x258]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435456
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x254]
call fcn.004333d0
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x435456
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00454588
test al, al
je 0x435471
pop edx
pop edi
push edx
pop ebx
pop ebp
pop edx
push esp
pop edx
push esp
push ebp
pop ebp
pop edi
push eax
push esp
push esp
push ebx
pop edi
pop edi
call fcn.004547b0
test al, al
je 0x435495
push edi
push edi
push eax
push edi
pop ecx
push ebp
push esp
pop ebp
push ebp
push ebp
pop edi
pop ebp
push ebp
pop esp
pop ecx
push esp
push eax
pop esp
push esi
pop esp
push ebp
push esi
push eax
push edi
pop edx
push edx
push esp
call fcn.00454612
test al, al
je 0x4354b0
pop edi
push edi
push ebx
push edx
pop esi
pop edi
push ebx
pop ebx
push esp
push eax
pop eax
push ebx
pop esi
push ebx
push ebx
push esp
pop ecx
pop ebx
push 0x42
push str.SOFTWAREClassesDirectory_background_shellexContextMenuHandlers_
lea ecx, [ebp - 0x230]
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x260]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4356fe
call fcn.004543ea
test al, al
je 0x435520
push ebx
push ecx
pop edx
pop ecx
pop edx
push eax
pop ecx
push edi
push ebx
push edx
push edx
push edi
pop esi
pop ebx
push esp
push esi
push eax
pop edi
pop eax
push esp
push edx
pop edi
pop esi
push ebp
pop eax
pop edx
pop esi
push ebx
push ebp
pop ebp
push esi
call fcn.00454726
test al, al
je 0x435547
pop esi
pop ebp
pop ebx
pop ecx
push ecx
push ebp
pop eax
push esi
pop ecx
pop eax
pop edx
push ebp
pop eax
push esp
pop esi
pop esi
push edi
pop ecx
pop ebx
push eax
push esi
pop edi
pop ecx
push ecx
pop eax
push esi
push ebp
pop eax
push edi
pop ecx
call fcn.00454909
test al, al
je 0x43556f
push esp
pop eax
push ecx
pop edi
push ecx
pop ecx
pop eax
push esp
pop ecx
pop edi
pop edi
push ebx
pop ecx
pop edx
pop ecx
push eax
pop esp
pop eax
push edx
pop ecx
pop eax
pop ebx
pop eax
pop ecx
pop edx
push ebp
push ecx
pop eax
push edi
push esp
pop edx
push 0x15
push str.WindowsResetMasterExt
lea ecx, [ebp - 0x230]
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x25c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x435681
push 0x5e616c
lea ecx, [ebp - 0x248]
call fcn.00403740
push 0x24
push str.4C6C327A_90BB_4D08_91EF_AEACDDE064E9
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00405290
push 1
push 0x5e61bc
lea ecx, [ebp - 0x248]
call fcn.00405290
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x435612
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435630
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e266c
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x435681
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403100
call fcn.00454543
test al, al
je 0x4356a5
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4356b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004544b9
test al, al
je 0x4356d3
push edx
pop edi
push esi
push ebp
pop esp
push edx
push ebp
push eax
pop edx
push ebp
pop edx
pop ebp
push ebp
pop esp
pop edi
pop edx
pop edx
push edi
pop esi
push ecx
call fcn.004547b0
test al, al
je 0x4356ed
pop edi
push ebx
pop edi
push ebp
push ebp
pop eax
pop ebp
push edx
pop ebp
pop edx
pop ecx
push esi
push ebp
pop ebx
push ebx
pop ecx
push ebx
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4356fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x43571c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403100
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.0045132d
mov esp, ebp
pop ebp
ret