Function at 0x4717c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d20fc
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x65b9c4]
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 ebx, edx
mov dword [ebp - 0x23c], ebx
push str..pdf
lea ecx, [ebp - 0x234]
call fcn.004063d0
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.0046e190
add esp, 4
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47183e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471843
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0x62b754
push dword [ebp - 0x238]
push reloc.WS2_32.dll_accept
call esi
call fcn.00471490
test eax, eax
je 0x471885
mov edx, ebx
call fcn.004716d0
test eax, eax
jne 0x4718ee
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, 0x62d610
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0059f570
add esp, 0xc
lea eax, [ebp - 0x218]
push str..pdf
push dword [esi]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push reloc.WS2_32.dll_accept
call ebx
add esi, 4
cmp esi, 0x62d620
jl 0x4718a0
mov ebx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4718f3
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0x62b754
push dword [ebp - 0x238]
push reloc.WS2_32.dll_accept
call esi
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
test ebx, ebx
je 0x471951
lea eax, [ebp - 0x230]
mov edx, ebx
push eax
call fcn.00494550
add esp, 4
mov edi, 0x62d610
call fcn.00402a80
test eax, eax
je 0x471ab4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push str..pdf
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push dword [edi]
push eax
call fcn.00408250
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471992
mov esi, dword [ebp - 0x234]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push ebx
push 1
push str.ProgId
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
cmovae edx, dword [ebp - 0x230]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x23c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4719e0
sub ecx, dword [ebp - 0x23c]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.Hash
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x471a27
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, 0x62d620
jl 0x471956
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x471a54
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00408090
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x238]
mov word [ebp - 0x230], ax
add edx, 0xfffffff0
mov dword [ebp - 0x21c], 7
or eax, 0xffffffff
mov dword [ebp - 0x220], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471a96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.0058651a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402350
int3