Function at 0x43084d
Capabilities:
Check os version
Delete registry key
Delete registry value
Persist via contextmenuhandlers registry key
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad49a
mov eax, dword fs:[0]
push eax
mov eax, 0x1b88
call fcn.00431860
mov eax, dword [0x63a188]
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 - 0x1b84], ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x238]
push 0x1e
pop ecx
mov esi, 0x5b5328
mov dword [ebp - 0x1b78], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1b90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1b80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1b7c], eax
mov eax, dword [ebp + 0x28]
push 0x4e
mov dword [ebp - 0x1b94], eax
lea eax, [ebp - 0x1be]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0044e770
mov esi, 0xc8
lea eax, [ebp - 0x3c8]
push esi
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0x300]
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0x490]
push ebx
push eax
call fcn.0044e770
mov esi, 0x190
lea eax, [ebp - 0x7b0]
push esi
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0xe68]
push ebx
push eax
call fcn.0044e770
add esp, 0x48
lea eax, [ebp - 0x1a48]
push 0x7d0
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0x940]
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0x620]
push ebx
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0xad0]
push ebx
push eax
call fcn.0044e770
push 0x100
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0044e770
mov edi, dword [ebp - 0x1b78]
push edi
push dword [ebp - 0x1b90]
push 0x5b3e78
lea eax, [ebp - 0x130]
push eax
call fcn.00408530
add esp, 0x4c
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.0045c434
lea eax, [ebp - 0x3c8]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x3c8]
push str.OpenWithProgids
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0045c434
lea eax, [ebp - 0x300]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x300]
push str.UserChoice
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.0045c434
lea eax, [ebp - 0x490]
push edi
push eax
call fcn.0045c3c3
add esp, 0x40
lea eax, [ebp - 0x490]
push str.OpenWithList
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x238]
push edi
push eax
call fcn.0045c3c3
mov esi, dword [ebp - 0x1b84]
lea eax, [ebp - 0x7b0]
push dword [esi]
push eax
call fcn.0045c434
lea eax, [ebp - 0x7b0]
push str.SoftwareClasses_
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x7b0]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x7b0]
push eax
lea eax, [ebp - 0xe68]
push eax
call fcn.0045c434
lea eax, [ebp - 0xe68]
push str.OpenWithProgids
push eax
call fcn.0045c3c3
push dword [esi]
lea eax, [ebp - 0x1a48]
push eax
call fcn.0045c434
add esp, 0x40
lea eax, [ebp - 0x1a48]
mov edi, str.SoftwareClasses_
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1a48]
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x1a48]
push str.DefaultIcon
push eax
call fcn.0045c3c3
push dword [esi]
lea eax, [ebp - 0x940]
push eax
call fcn.0045c434
lea eax, [ebp - 0x940]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x940]
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x940]
push str._shellopencommand
push eax
call fcn.0045c3c3
push dword [esi]
lea eax, [ebp - 0x620]
push eax
call fcn.0045c434
add esp, 0x40
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x620]
push str._shellexContextMenuHandlers_
push eax
call fcn.0045c3c3
push dword [esi]
lea eax, [ebp - 0xad0]
push eax
call fcn.0045c434
lea eax, [ebp - 0xad0]
push edi
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xad0]
push eax
call fcn.0045c3c3
lea eax, [ebp - 0xad0]
push str._shellexDropHandler
push eax
call fcn.0045c3c3
add esp, 0x38
cmp byte [ebp + 0x24], bl
je 0x43118d
push dword [ebp - 0x1b7c]
lea eax, [ebp - 0x620]
push eax
call fcn.0045c3c3
pop ecx
pop ecx
lea eax, [ebp - 0x130]
mov edi, reloc.WS2_32.dll_accept
push eax
push str.ProgId
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
push edi
call fcn.00430204
test al, al
je 0x430cdd
push ebx
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
lea eax, [ebp - 0x3c8]
push eax
push edi
call fcn.004301d1
test al, al
je 0x430cdd
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
push 0x5b0700
lea eax, [ebp - 0x7b0]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00430204
test al, al
je 0x430cdd
push ebx
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
lea eax, [ebp - 0xe68]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004301d1
test al, al
je 0x430cdd
push dword [ebp - 0x1b8c]
lea eax, [ebp - 0x1a48]
mov ecx, esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00430204
test al, al
je 0x430cdd
push dword [ebp - 0x1b80]
lea eax, [ebp - 0x940]
mov ecx, esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00430204
test al, al
je 0x430cdd
push ebx
push ebx
lea eax, [ebp - 0x620]
mov ecx, esi
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004301d1
test al, al
je 0x430cdd
push dword [ebp - 0x1b7c]
lea eax, [ebp - 0xad0]
mov ecx, esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00430204
test al, al
je 0x430cdd
mov eax, dword [ebp - 0x1b94]
mov byte [eax], bl
jmp 0x4312f2
mov eax, dword [ebp - 0x1b94]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [eax], 1
lea eax, [ebp - 0x300]
push eax
push edi
call esi
lea eax, [ebp - 0x3c8]
push eax
push edi
call esi
lea eax, [ebp - 0x490]
push eax
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
and dword [ebp - 0x1b88], ebx
lea eax, [ebp - 0x1b88]
push eax
push 0
lea eax, [ebp - 0x1b84]
xor esi, esi
push eax
push 0x5b0700
push dword [ebp - 0x1b78]
inc esi
push closesocket
mov dword [ebp - 0x1b84], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x430e1f
push dword [ebp - 0x1b88]
call fcn.0045c3b8
push dword [ebp - 0x1b88]
mov ebx, eax
push 0
push ebx
call fcn.0044e770
add esp, 0x10
mov dword [ebp - 0x1b84], esi
lea eax, [ebp - 0x1b88]
push eax
push ebx
lea eax, [ebp - 0x1b84]
push eax
push 0x5b0700
push dword [ebp - 0x1b78]
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test ebx, ebx
je 0x430e1f
push ebx
call fcn.0045c456
pop ecx
test eax, eax
je 0x430e1f
lea eax, [ebp - 0x130]
push eax
push ebx
call fcn.0045c3f4
pop ecx
pop ecx
test eax, eax
je 0x430e1f
push 0x208
lea eax, [ebp - 0xcd8]
push 0
push eax
call fcn.0044e770
push dword [ebp - 0x1b90]
lea eax, [ebp - 0xcd8]
push str._sBackup
push eax
call fcn.00408530
push ebx
call fcn.0045c456
add esp, 0x1c
lea eax, [eax*2 + 2]
push eax
push ebx
push esi
lea eax, [ebp - 0xcd8]
push eax
push dword [ebp - 0x1b78]
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x130]
push eax
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x130]
push eax
push esi
push 0x5b0700
lea eax, [ebp - 0x7b0]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xe68]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1b8c]
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1b8c]
lea eax, [ebp - 0x1a48]
push esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1b80]
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1b80]
lea eax, [ebp - 0x940]
push esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
push eax
push eax
push esi
push eax
lea eax, [ebp - 0x620]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1b7c]
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1b7c]
lea eax, [ebp - 0xad0]
push esi
push 0x5b0700
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x3c8]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x130]
push eax
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x130]
push eax
push esi
push str.ProgId
lea eax, [ebp - 0x300]
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call edi
push 0x110
lea eax, [ebp - 0x1b70]
push 0
push eax
call fcn.0044e770
add esp, 0xc
mov dword [ebp - 0x1b74], 0x114
lea eax, [ebp - 0x1b74]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1b70], 6
jb 0x431158
cmp dword [ebp - 0x1b6c], 2
jb 0x4312e7
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
push 0x40
push 0
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x170]
push eax
call fcn.0044e770
mov edi, 0x208
lea eax, [ebp - 0x1278]
push edi
push 0
push eax
call fcn.0044e770
push edi
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.0044e770
add esp, 0x24
lea eax, [ebp - 0x1070]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1070]
push eax
call fcn.0045c456
pop ecx
test eax, eax
jne 0x431039
call fcn.004071e0
mov ecx, eax
call fcn.0043288a
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0045c434
pop ecx
pop ecx
lea eax, [ebp - 0x1070]
push 0x5c
push eax
call fcn.0045056b
pop ecx
pop ecx
test eax, eax
je 0x431053
xor ecx, ecx
mov word [eax + 2], cx
and dword [ebp - 0x1a50], 0
xor eax, eax
mov dword [ebp - 0x1a4c], 7
mov word [ebp - 0x1a60], ax
and dword [ebp - 4], eax
mov edi, str.Assh.dll
push edi
call fcn.0045c456
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1a60]
call fcn.00408220
cmp dword [ebp - 0x1a4c], 8
lea eax, [ebp - 0x1a60]
cmovae eax, dword [ebp - 0x1a60]
push eax
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x1278]
push 0x5b3e78
push eax
call fcn.00408530
add esp, 0x10
lea eax, [ebp - 0x1278]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4310f0
push str.HashAssociation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4310f0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 0x1b78]
call eax
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call fcn.0045c480
pop ecx
test eax, eax
je 0x431145
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00439ca0
lea eax, [ebp - 0x170]
push eax
call fcn.0045c456
add esp, 0xc
mov edi, reloc.WS2_32.dll_accept
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x170]
push eax
push esi
push str.Hash
lea eax, [ebp - 0x300]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0
push esi
lea ecx, [ebp - 0x1a60]
call fcn.0042c46b
jmp 0x4312e7
lea eax, [ebp - 0x130]
push eax
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x130]
push eax
push esi
push 0x5b0700
lea eax, [ebp - 0x238]
push eax
push reloc.WS2_32.dll_closesocket
call edi
jmp 0x4312e7
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x300]
push eax
mov edi, reloc.WS2_32.dll_accept
push edi
call esi
lea eax, [ebp - 0x3c8]
push eax
push edi
call esi
lea eax, [ebp - 0x490]
push eax
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push edi
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 0x238]
push eax
push edi
call esi
lea eax, [ebp - 0x130]
dec edi
push eax
push edi
call esi
xor ebx, ebx
mov dword [ebp - 0x1b80], 1
push 0x208
lea eax, [ebp - 0xcd8]
mov dword [ebp - 0x1b7c], ebx
push ebx
push eax
call fcn.0044e770
push dword [ebp - 0x1b90]
lea eax, [ebp - 0xcd8]
push str._sBackup
push eax
call fcn.00408530
add esp, 0x18
lea eax, [ebp - 0x1b7c]
push eax
push ebx
lea eax, [ebp - 0x1b80]
push eax
lea eax, [ebp - 0xcd8]
push eax
push dword [ebp - 0x1b78]
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4312f2
push dword [ebp - 0x1b7c]
call fcn.0045c3b8
push dword [ebp - 0x1b7c]
mov ebx, eax
push 0
push ebx
call fcn.0044e770
add esp, 0x10
lea eax, [ebp - 0x1b7c]
xor esi, esi
inc esi
mov dword [ebp - 0x1b80], esi
push eax
push ebx
lea eax, [ebp - 0x1b80]
push eax
lea eax, [ebp - 0xcd8]
push eax
push dword [ebp - 0x1b78]
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test ebx, ebx
je 0x4312f2
push ebx
call fcn.0045c456
pop ecx
test eax, eax
je 0x4312e7
lea eax, [ebp - 0x130]
push eax
push ebx
call fcn.0045c3f4
pop ecx
pop ecx
test eax, eax
je 0x4312d3
push ebx
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push esi
push 0x5b0700
push dword [ebp - 0x1b78]
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0xcd8]
push eax
push dword [ebp - 0x1b78]
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test ebx, ebx
je 0x4312f2
push ebx
call fcn.0045a284
pop ecx
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.004315db
mov esp, ebp
pop ebp
ret 0x24