Function at 0x4129e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push 0x206
mov dword [ebp - 0xc50], eax
mov dword [ebp - 0xc54], ecx
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0xc32]
xor edx, edx
push edi
push eax
mov dword [ebp - 0xc4c], ecx
mov dword [ebp - 0xc48], edi
mov dword [ebp - 0xc40], edi
mov word [ebp - 0xc34], dx
call fcn.0052c850
push 0x206
lea edx, [ebp - 0xa2a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xa2c], cx
call fcn.0052c850
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.0052c850
push 0x206
lea eax, [ebp - 0x412]
xor edx, edx
push edi
push eax
mov word [ebp - 0x414], dx
call fcn.0052c850
push str.ShellOpenCommand
push esi
push str._s_s
lea ecx, [ebp - 0xc34]
push 0x104
push ecx
mov dword [ebp - 0xc3c], edi
mov dword [ebp - 0xc44], edi
call fcn.0052d99b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x44
lea edx, [ebp - 0xc48]
push edx
lea eax, [ebp - 0xc3c]
push eax
push edi
push 0x20006
push edi
push 0x556794
push edi
lea ecx, [ebp - 0xc34]
push ecx
push 0x80000000
call ebx
test eax, eax
jne 0x412b4b
mov edx, dword [ebp - 0xc4c]
push edx
push str.__s_____1_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0052d99b
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0052ceda
add esp, 0x18
inc eax
push eax
lea edx, [ebp - 0x20c]
push edx
push 1
push edi
mov dword [ebp - 0xc40], eax
mov eax, dword [ebp - 0xc3c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x412b63
mov ecx, dword [ebp - 0xc3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 0x643
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0xc3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.DefaultIcon
push esi
push str._s_s
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.0052d99b
add esp, 0x14
lea ecx, [ebp - 0xc48]
push ecx
lea edx, [ebp - 0xc44]
push edx
push edi
push 0x20006
push edi
push 0x556794
push edi
lea eax, [ebp - 0xa2c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x412b4b
mov ecx, dword [ebp - 0xc4c]
push ecx
push 0x558f6c
lea edx, [ebp - 0x414]
push 0x104
push edx
call fcn.0052d99b
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0052ceda
mov edx, dword [ebp - 0xc44]
add esp, 0x18
inc eax
push eax
lea ecx, [ebp - 0x414]
push ecx
push 1
push edi
push 0x556794
push edx
mov dword [ebp - 0xc40], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x412c3a
mov eax, dword [ebp - 0xc44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 0x643
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x206
lea eax, [ebp - 0x61a]
xor edx, edx
push edi
push eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0x61c], dx
call fcn.0052c850
mov ecx, dword [ebp - 0xc50]
push ecx
push 0x558f64
lea edx, [ebp - 0x61c]
push 0x104
push edx
call fcn.0052d99b
add esp, 0x1c
lea eax, [ebp - 0xc48]
push eax
lea ecx, [ebp - 0xc38]
push ecx
push edi
push 0x2001f
push edi
push 0x556794
push edi
lea edx, [ebp - 0x61c]
push edx
push 0x80000000
call ebx
test eax, eax
jne 0x412b4b
push 0x206
lea ecx, [ebp - 0x822]
push edi
push ecx
mov word [ebp - 0x824], ax
call fcn.0052c850
mov ecx, dword [ebp - 0xc38]
add esp, 0xc
lea edx, [ebp - 0xc40]
push edx
lea eax, [ebp - 0x824]
push eax
push edi
push edi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412d00
xor edx, edx
mov word [ebp - 0x824], dx
mov eax, dword [ebp + 0x10]
inc eax
push eax
push esi
push 1
push edi
mov dword [ebp - 0xc40], eax
mov eax, dword [ebp - 0xc38]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x412d46
mov ecx, dword [ebp - 0xc38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 0x643
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc54]
lea edx, [ebp - 0x824]
push edx
push esi
lea eax, [ebp - 0x61c]
push eax
add ecx, 0xdd9c
call fcn.004268e0
mov ecx, dword [ebp - 0xc38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0x10