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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c62ec
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x64b9b0]
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 esi, edx
mov dword [ebp - 0x638], esi
mov ebx, ecx
mov dword [ebp - 0x640], ebx
movups xmm0, xmmword [str.SoftwareClasses_]
mov eax, dword [0x629ed4]
lea ecx, [ebp - 0x634]
push ebx
movups xmmword [ebp - 0x664], xmm0
mov dword [ebp - 0x644], eax
movups xmm0, xmmword [0x629ec4]
movups xmmword [ebp - 0x654], xmm0
call fcn.004032f0
push eax
lea edx, [ebp - 0x664]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x63c]
call fcn.00414570
add esp, 4
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x634]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47427f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474284
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0x61e1b4
push dword [ebp - 0x63c]
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x6c
lea eax, [ebp - 0x37c]
mov ecx, 0x25
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
lea edi, [ebp - 0x410]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005949a0
mov ecx, 0x27
lea edi, [ebp - 0x310]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithProgids
lea eax, [ebp - 0x272]
rep movsd dword es:[edi], dword [esi]
push 0x62
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.005949a0
mov ecx, 0x21
lea edi, [ebp - 0x210]
mov esi, str.SoftwareMicrosoftWindowsRoamingOpenWithFileExts_sUserChoice
lea eax, [ebp - 0x18a]
rep movsd dword es:[edi], dword [esi]
push 0x7a
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.005949a0
push 0x70
lea eax, [ebp - 0x80]
mov ecx, 0x24
mov esi, str.SoftwareMicrosoftWindowsRoamingOpenWithFileExts_sOpenWithProgids
lea edi, [ebp - 0x110]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005949a0
add esp, 0x30
mov ecx, ebx
call fcn.00473e00
test eax, eax
je 0x47435a
mov esi, dword [ebp - 0x638]
mov ecx, ebx
mov edx, esi
call fcn.00474070
test eax, eax
jne 0x4743b8
lea esi, [ebp - 0x410]
mov edi, 4
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x618]
push 0
push eax
call fcn.005949a0
push ebx
lea eax, [ebp - 0x618]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x618]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esi, 0x100
sub edi, 1
jne 0x474370
mov esi, dword [ebp - 0x638]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4743c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0x61e1b4
push dword [ebp - 0x63c]
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
mov dword [ebp - 0x61c], 7
mov dword [ebp - 0x620], 0
mov word [ebp - 0x630], ax
mov byte [ebp - 4], 3
test ebx, ebx
je 0x474428
test esi, esi
je 0x474428
lea eax, [ebp - 0x630]
mov edx, esi
push eax
mov ecx, ebx
call fcn.00488c40
add esp, 4
xor edi, edi
lea ebx, [ebp - 0x410]
call fcn.00402810
test eax, eax
je 0x47459b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
push dword [ebp - 0x640]
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.004043e0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474470
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
mov esi, dword [ebp - 0x634]
push 1
push str.ProgId
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x61c], 8
lea edx, [ebp - 0x630]
cmovae edx, dword [ebp - 0x630]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x634], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4744c0
sub ecx, dword [ebp - 0x634]
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 0x474507
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x638]
inc edi
add ebx, 0x100
cmp edi, 4
jl 0x474430
mov eax, dword [ebp - 0x61c]
cmp eax, 8
jb 0x47453b
inc eax
lea ecx, [ebp - 0x630]
push eax
push dword [ebp - 0x630]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x63c]
mov word [ebp - 0x630], ax
add edx, 0xfffffff0
mov dword [ebp - 0x61c], 7
or eax, 0xffffffff
mov dword [ebp - 0x620], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47457d
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.0057b967
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022b0
int3