Function at 0x4497ef
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
mov eax, 0x1dfc
call fcn.0044a8a0
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x1e
mov dword [ebp - 0x1ddc], ecx
lea edi, [ebp - 0x1ec]
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov dword [ebp - 0x1dfc], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1df4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1de4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1df0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1de0], eax
mov eax, dword [ebp + 0x28]
push 0x4e
mov dword [ebp - 0x1df8], eax
lea eax, [ebp - 0x172]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0046cf80
mov esi, 0xc8
lea eax, [ebp - 0x3bc]
push esi
push ebx
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x2f4]
push ebx
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x484]
push ebx
push eax
call fcn.0046cf80
mov edi, 0x190
lea eax, [ebp - 0x9ac]
push edi
push ebx
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0xccc]
push ebx
push eax
call fcn.0046cf80
add esp, 0x48
lea eax, [ebp - 0x1cc4]
push 0x7d0
push ebx
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0xe5c]
push ebx
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0xb3c]
push ebx
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0xfec]
push ebx
push eax
call fcn.0046cf80
add esi, 0x38
lea eax, [ebp - 0x124]
push esi
push ebx
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0x81c]
push ebx
push eax
call fcn.0046cf80
add esp, 0x48
lea eax, [ebp - 0x10ec]
push esi
push ebx
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x11ec]
push ebx
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x12ec]
push ebx
push eax
call fcn.0046cf80
mov edi, dword [ebp - 0x1dfc]
lea eax, [ebp - 0x124]
push edi
push dword [ebp - 0x1df4]
push 0x5d82b0
push eax
call fcn.00405db0
mov esi, dword [ebp - 0x1ddc]
add esp, 0x34
cmp byte [esi + 4], bl
je 0x4499ff
push edi
push str.ZHPDFReader
lea eax, [ebp - 0x10ec]
push 0x5d82b0
push eax
call fcn.00405db0
push str.ZHPDFReader
lea eax, [ebp - 0x11ec]
push 0x5d6c8c
push eax
call fcn.00405db0
push edi
push str._NNSP
lea eax, [ebp - 0x12ec]
push 0x5d82b0
push eax
call fcn.00405db0
add esp, 0x2c
lea eax, [ebp - 0x10ec]
mov ecx, esi
push eax
push edi
call fcn.00449055
test eax, eax
jne 0x44a2d4
lea eax, [ebp - 0x11ec]
mov ecx, esi
push eax
push edi
call fcn.00449055
test eax, eax
jne 0x44a2d4
lea eax, [ebp - 0x12ec]
mov ecx, esi
push eax
push edi
call fcn.00449055
test eax, eax
jne 0x44a2d4
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x3bc]
push edi
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x3bc]
push str.OpenWithProgids
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x2f4]
push edi
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x2f4]
push str.UserChoice
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x484]
push edi
push eax
call fcn.0047bbfb
add esp, 0x40
lea eax, [ebp - 0x484]
push str.OpenWithList
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x1ec]
push edi
push eax
call fcn.0047bbfb
push dword [esi]
lea eax, [ebp - 0x9ac]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x9ac]
push str.SoftwareClasses_
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x9ac]
push edi
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x9ac]
push eax
lea eax, [ebp - 0xccc]
push eax
call fcn.0047bb33
lea eax, [ebp - 0xccc]
push str.OpenWithProgids
push eax
call fcn.0047bbfb
push dword [esi]
lea eax, [ebp - 0x81c]
push eax
call fcn.0047bb33
add esp, 0x40
lea eax, [ebp - 0x81c]
push str.SoftwareClasses_
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x1cc4]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x1cc4]
push str.DefaultIcon
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0xe5c]
push eax
call fcn.0047bb33
lea eax, [ebp - 0xe5c]
push str._shellopencommand
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0xb3c]
push eax
call fcn.0047bb33
lea eax, [ebp - 0xb3c]
push 0x5d880c
push eax
call fcn.0047bbfb
add esp, 0x40
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0xfec]
push eax
call fcn.0047bb33
lea eax, [ebp - 0xfec]
push str._shellexDropHandler
push eax
call fcn.0047bbfb
add esp, 0x10
cmp byte [ebp + 0x24], bl
je 0x44a176
push dword [ebp - 0x1de0]
lea eax, [ebp - 0xb3c]
push eax
call fcn.0047bbfb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0x124]
push eax
push str.ProgId
lea eax, [ebp - 0x2f4]
mov esi, reloc.WS2_32.dll_accept
push eax
push esi
call fcn.004491b2
test al, al
je 0x449d1b
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0x124]
push 0
push eax
lea eax, [ebp - 0x3bc]
push eax
push esi
call fcn.00449181
test al, al
je 0x449d1b
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0x124]
push eax
push 0x6568a4
lea eax, [ebp - 0x9ac]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004491b2
test al, al
je 0x449d1b
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0x124]
push 0
push eax
lea eax, [ebp - 0xccc]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00449181
test al, al
je 0x449d1b
push dword [ebp - 0x1df0]
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0x1cc4]
push 0x6568a4
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004491b2
test al, al
je 0x449d1b
push dword [ebp - 0x1de4]
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0xe5c]
push 0x6568a4
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004491b2
test al, al
je 0x449d1b
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0xb3c]
push 0
push 0
push eax
push reloc.WS2_32.dll_closesocket
call fcn.00449181
test al, al
je 0x449d1b
push dword [ebp - 0x1de0]
mov ecx, dword [ebp - 0x1ddc]
lea eax, [ebp - 0xfec]
push 0x6568a4
push eax
push reloc.WS2_32.dll_closesocket
call fcn.004491b2
test al, al
je 0x449d1b
mov eax, dword [ebp - 0x1df8]
mov byte [eax], bl
jmp 0x44a2d4
mov eax, dword [ebp - 0x1df8]
mov byte [eax], 1
lea eax, [ebp - 0x2f4]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call esi
lea eax, [ebp - 0x3bc]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x484]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x1ec]
mov esi, reloc.WS2_32.dll_accept
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
and dword [ebp - 0x1de8], ebx
lea eax, [ebp - 0x1de8]
push eax
push 0
lea eax, [ebp - 0x1dec]
mov dword [ebp - 0x1dec], 1
push eax
push 0x6568a4
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x449e65
push dword [ebp - 0x1de8]
call fcn.0047bb28
push dword [ebp - 0x1de8]
mov ebx, eax
push 0
push ebx
call fcn.0046cf80
add esp, 0x10
mov dword [ebp - 0x1dec], 1
lea eax, [ebp - 0x1de8]
push eax
push ebx
lea eax, [ebp - 0x1dec]
push eax
push 0x6568a4
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test ebx, ebx
je 0x449e65
push ebx
call fcn.0047bb55
pop ecx
test eax, eax
je 0x449e65
lea eax, [ebp - 0x124]
push eax
push ebx
call fcn.0047c3f2
pop ecx
pop ecx
test eax, eax
je 0x449e65
push 0x208
lea eax, [ebp - 0x68c]
push 0
push eax
call fcn.0046cf80
push dword [ebp - 0x1df4]
lea eax, [ebp - 0x68c]
push str._sBackup
push eax
call fcn.00405db0
push ebx
call fcn.0047bb55
add esp, 0x1c
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
lea eax, [ebp - 0x68c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x124]
push eax
call fcn.0047bb55
pop ecx
xor edi, edi
inc edi
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push edi
push 0x6568a4
lea eax, [ebp - 0x9ac]
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 - 0x124]
push eax
lea eax, [ebp - 0xccc]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1df0]
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1df0]
lea eax, [ebp - 0x1cc4]
push edi
push 0x6568a4
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1de4]
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1de4]
lea eax, [ebp - 0xe5c]
push edi
push 0x6568a4
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
push eax
push eax
push edi
push eax
lea eax, [ebp - 0xb3c]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x1de0]
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1de0]
lea eax, [ebp - 0xfec]
push edi
push 0x6568a4
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 - 0x124]
push eax
lea eax, [ebp - 0x3bc]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x124]
push eax
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push edi
push str.ProgId
lea eax, [ebp - 0x2f4]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x110
lea eax, [ebp - 0x1dd4]
push 0
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0x1dd8], 0x114
lea eax, [ebp - 0x1dd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1dd4], 6
jb 0x44a13d
cmp dword [ebp - 0x1dd0], 2
jb 0x44a2c9
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
push 0x40
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0046cf80
mov edi, 0x208
lea eax, [ebp - 0x14f4]
push edi
push 0
push eax
call fcn.0046cf80
push edi
lea eax, [ebp - 0x68c]
push 0
push eax
call fcn.0046cf80
add esp, 0x24
lea eax, [ebp - 0x68c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x68c]
push eax
call fcn.0047bb55
pop ecx
test eax, eax
jne 0x44a078
call fcn.00404470
mov ecx, eax
call fcn.0044f059
push eax
lea eax, [ebp - 0x68c]
push eax
call fcn.0047bb33
pop ecx
pop ecx
lea eax, [ebp - 0x68c]
push 0x5c
push eax
call fcn.0046d6e3
pop ecx
pop ecx
test eax, eax
je 0x44a092
xor ecx, ecx
mov word [eax + 2], cx
push str.BKAss.dll
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x14f4]
push 0x5d82b0
push eax
call fcn.00405db0
add esp, 0x10
lea eax, [ebp - 0x14f4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44a0ec
push str.HashAssociation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x44a0ec
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x1dfc]
push eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call fcn.0047bb70
pop ecx
test eax, eax
je 0x44a2c9
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00454f30
lea eax, [ebp - 0x124]
push eax
call fcn.0047bb55
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x22c]
push eax
push 1
push str.Hash
lea eax, [ebp - 0x2f4]
push eax
push esi
jmp 0x44a16b
lea eax, [ebp - 0x124]
push eax
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push edi
push 0x6568a4
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x44a2c9
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x2f4]
push eax
mov ebx, reloc.WS2_32.dll_accept
push ebx
call esi
lea eax, [ebp - 0x3bc]
push eax
push ebx
call esi
lea eax, [ebp - 0x484]
push eax
push ebx
call esi
lea eax, [ebp - 0x1ec]
push eax
push ebx
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 0x1ec]
push eax
push ebx
call esi
lea eax, [ebp - 0x124]
dec ebx
push eax
push ebx
call esi
and dword [ebp - 0x1de0], 0
lea eax, [ebp - 0x68c]
push 0x208
push 0
push eax
mov dword [ebp - 0x1de4], 1
call fcn.0046cf80
push dword [ebp - 0x1df4]
lea eax, [ebp - 0x68c]
push str._sBackup
push eax
call fcn.00405db0
add esp, 0x18
lea eax, [ebp - 0x1de0]
push eax
push 0
lea eax, [ebp - 0x1de4]
push eax
lea eax, [ebp - 0x68c]
push eax
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44a2d4
push dword [ebp - 0x1de0]
call fcn.0047bb28
push dword [ebp - 0x1de0]
mov ebx, eax
push 0
push ebx
call fcn.0046cf80
add esp, 0x10
lea eax, [ebp - 0x1de0]
xor esi, esi
inc esi
mov dword [ebp - 0x1de4], esi
push eax
push ebx
lea eax, [ebp - 0x1de4]
push eax
lea eax, [ebp - 0x68c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test ebx, ebx
je 0x44a2d4
push ebx
call fcn.0047bb55
pop ecx
test eax, eax
je 0x44a2c9
lea eax, [ebp - 0x124]
push eax
push ebx
call fcn.0047c3f2
pop ecx
pop ecx
test eax, eax
je 0x44a2b6
push ebx
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push esi
push 0x6568a4
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x68c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test ebx, ebx
je 0x44a2d4
push ebx
call fcn.00479da4
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
leave
ret 0x24