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

Disassembly:
mov eax, 0x1c84
call fcn.004865f0
mov eax, dword [0x4bd450]
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 0x4345c4
imul edx, edx, 0x1003f
add edx, eax
movzx eax, word [ecx]
add ecx, 2
cmp eax, ebx
jne 0x4345b2
cmp dword [esi + 0x248], 8
jb 0x4345d5
mov eax, dword [esi + 0x234]
jmp 0x4345db
lea eax, [esi + 0x234]
mov ecx, dword [esi + 4]
xor ecx, edx
push ecx
push eax
lea edx, [esp + 0x1040]
push str._s_x
push edx
mov ecx, 0x628
call fcn.00404a10
add esp, 0x10
test eax, eax
jl 0x4348bf
mov ecx, dword [esi + 0x26c]
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 + 0x26c]
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 0x4348bf
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434650
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.00404a10
add esp, 0xc
test eax, eax
jl 0x4348bf
push str.DefaultIcon
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0xc40]
push 0x4a69f8
push edx
mov ecx, 0x200
call fcn.00404a10
add esp, 0x10
test eax, eax
jl 0x4348bf
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x440]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00438450
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x4348d2
mov ecx, dword [esi + 0x26c]
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 0x4348bf
call fcn.00403a60
mov ecx, dword [eax + 8]
cmp ecx, 5
jne 0x434756
cmp dword [eax + 0xc], 1
je 0x434721
cmp ecx, ecx
jne 0x434756
cmp dword [eax + 0xc], 2
jne 0x434756
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ebx
push 1
push 0x4a5b20
push str.shellopenddeexec
push edx
call esi
mov eax, dword [esp + 0x14]
push 0xa
push 0x4a63b8
push 1
push 0x4a5b20
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 0x4348bf
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 0x4a5b20
push ecx
call ebp
test eax, eax
jne 0x4348bf
lea edx, [esp + 0x20]
push edx
push 1
push ebx
lea edx, [esp + 0xc44]
mov ecx, SysReAllocString
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], 1
mov dword [esp + 0x2c], ebx
call fcn.0040ed90
add esp, 0xc
test eax, eax
jne 0x4348bf
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x83c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x4a5b20
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4348bf
lea ecx, [esp + 0x838]
push 0x4a828c
push ecx
call fcn.0047221c
add esp, 8
test eax, eax
je 0x434832
lea edx, [esp + 0x838]
push str.__1_
push edx
call fcn.0047221c
add esp, 8
test eax, eax
jne 0x4348b7
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.00476ef0
lea eax, [esp + 0x44]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434861
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 0x4348bf
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi + 2]
push ecx
lea edx, [esp + 0x3c]
push edx
push 1
push ebx
push 0x4a5b20
push eax
call ebp
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4348d2
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
jmp 0x4348d8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4348e3
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4348ee
push eax
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4348f9
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.00471eba
add esp, 0x1c84
ret 8