Function at 0x42ea90
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1c84
call fcn.0045a2a0
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x1c7c], eax
movzx eax, word [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x1c94]
xor ebx, ebx
push esi
mov esi, edx
xor edx, edx
add ecx, 2
push edi
mov edi, dword [esp + 0x1c98]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x42eaf4
imul edx, edx, 0x1003f
add edx, eax
movzx eax, word [ecx]
add ecx, 2
cmp eax, ebx
jne 0x42eae2
cmp dword [esi + 0x244], 8
jb 0x42eb05
mov eax, dword [esi + 0x230]
jmp 0x42eb0b
lea eax, [esi + 0x230]
mov ecx, dword [esi]
xor ecx, edx
push ecx
push eax
lea edx, [esp + 0x1040]
push str._s_x
push edx
mov ecx, 0x628
call fcn.00402ee0
add esp, 0x10
test eax, eax
jl 0x42edef
mov ecx, dword [esi + 0x268]
lea eax, [esp + 0x1038]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 0x268]
lea eax, [esp + 0x18]
push eax
push ebx
push 0x2001f
push 1
push ebx
push ebx
lea ecx, [esp + 0x1054]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42edef
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42eb80
sub eax, edx
sar eax, 1
push edi
lea ebp, [eax + eax + 2]
lea eax, [esp + 0x43c]
push str.SOFTWAREClasses_s
push eax
mov ecx, 0x200
call fcn.00402ee0
add esp, 0xc
test eax, eax
jl 0x42edef
push str.DefaultIcon
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0xc40]
push str._s_s
push edx
mov ecx, 0x200
call fcn.00402ee0
add esp, 0x10
test eax, eax
jl 0x42edef
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x440]
push ecx
push 0x80000002
call fcn.00431cf0
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x42ee02
mov ecx, dword [esi + 0x268]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 1
lea eax, [esp + 0x1044]
push eax
push ecx
call edi
test eax, eax
jne 0x42edef
call fcn.004022c0
mov ecx, dword [eax + 8]
cmp ecx, 5
jne 0x42ec86
cmp dword [eax + 0xc], 1
je 0x42ec51
cmp ecx, ecx
jne 0x42ec86
cmp dword [eax + 0xc], 2
jne 0x42ec86
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ebx
push 1
push 0x474a60
push str.shellopenddeexec
push edx
call esi
mov eax, dword [esp + 0x14]
push 0xa
push str.open
push 1
push 0x474a60
push str.shell
push eax
call esi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 1
push str.shellopencommand
push edx
call edi
test eax, eax
jne 0x42edef
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 1
push ebx
push 0x474a60
push ecx
call ebp
test eax, eax
jne 0x42edef
lea edx, [esp + 0x20]
push edx
push 1
push ebx
lea ecx, [esp + 0xc44]
mov edi, 0x80000001
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], 1
mov dword [esp + 0x2c], ebx
call fcn.0040a800
add esp, 0xc
test eax, eax
jne 0x42edef
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x83c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x474a60
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42edef
lea ecx, [esp + 0x838]
push 0x4766c4
push ecx
call fcn.0044b912
add esp, 8
test eax, eax
je 0x42ed62
lea edx, [esp + 0x838]
push str.__1_
push edx
call fcn.0044b912
add esp, 8
test eax, eax
jne 0x42ede7
mov ecx, 0x13
mov esi, str.42042206_2D85_11D3_8CFF_005004838597
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push 0x3b2
lea eax, [esp + 0x8a]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0044e9d0
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42ed91
sub eax, edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x2001f
push 1
push ebx
sar eax, 1
push ebx
mov esi, eax
mov eax, dword [esp + 0x30]
push str.shellexIconHandler
push eax
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42edef
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi + 2]
push ecx
lea edx, [esp + 0x3c]
push edx
push 1
push ebx
push 0x474a60
push eax
call ebp
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42ee02
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x42ee08
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42ee13
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x42ee1e
push eax
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x42ee29
push eax
call esi
mov ecx, dword [esp + 0x1c8c]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044b6ee
add esp, 0x1c84
ret 8