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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4808fc
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4ad070]
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 - 0x240], ebx
mov esi, ecx
mov dword [ebp - 0x238], esi
push esi
lea ecx, [ebp - 0x234]
call fcn.00407e20
push eax
mov edx, str.SoftwareClasses_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00426620
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 0x4241e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4241f0
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0x4994f4
push dword [ebp - 0x23c]
push SysReAllocString
call edi
mov ecx, esi
call fcn.00423e40
test eax, eax
je 0x424236
mov edx, ebx
mov ecx, esi
call fcn.00424070
test eax, eax
jne 0x4242a5
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, 0x491470
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x238]
push dword [esi]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push SysReAllocString
call ebx
add esi, 4
cmp esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jl 0x424250
mov ebx, dword [ebp - 0x240]
mov esi, dword [ebp - 0x238]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4242b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0x4994f4
push dword [ebp - 0x23c]
push SysReAllocString
call edi
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
test esi, esi
je 0x424314
test ebx, ebx
je 0x424314
lea eax, [ebp - 0x230]
mov edx, ebx
push eax
mov ecx, esi
call fcn.0043b860
add esp, 4
mov edi, 0x491470
nop dword [eax]
call fcn.00402750
test eax, eax
je 0x4244d2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push dword [edi]
push eax
call fcn.00406b20
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424360
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 SysReAllocString
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 - 0x240], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4243b0
sub ecx, dword [ebp - 0x240]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.Hash
push esi
push SysReAllocString
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 0x4243f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x238]
add edi, 4
cmp edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
jl 0x424320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x424472
mov ecx, dword [ebp - 0x230]
inc eax
cmp eax, 0x7fffffff
jbe 0x42442e
call fcn.0045e3b1
add eax, eax
cmp eax, 0x1000
jb 0x424469
test byte [ebp - 0x230], 0x1f
je 0x424445
call fcn.0045e3b1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x424451
call fcn.0045e3b1
sub ecx, eax
cmp ecx, 4
jae 0x42445d
call fcn.0045e3b1
cmp ecx, 0x23
jbe 0x424467
call fcn.0045e3b1
mov ecx, eax
push ecx
call fcn.00452308
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
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 0x4244b4
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.0045230d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004027d0
int3