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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x60c9c8]
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 - 0xc3c], edi
mov word [ebp - 0xc34], dx
call fcn.00531fb0
push 0x206
lea edx, [ebp - 0xa2a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xa2c], cx
call fcn.00531fb0
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.00531fb0
push 0x206
lea eax, [ebp - 0x412]
xor edx, edx
push edi
push eax
mov word [ebp - 0x414], dx
call fcn.00531fb0
push str.ShellOpenCommand
push esi
push 0x55d250
lea ecx, [ebp - 0xc34]
push 0x104
push ecx
mov dword [ebp - 0xc40], edi
mov dword [ebp - 0xc44], edi
call fcn.00533b0b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x44
lea edx, [ebp - 0xc48]
push edx
lea eax, [ebp - 0xc40]
push eax
push edi
push 0x20006
push edi
push 0x55c8ac
push edi
lea ecx, [ebp - 0xc34]
push ecx
push 0x80000000
call ebx
test eax, eax
jne 0x41553b
mov edx, dword [ebp - 0xc4c]
push edx
push str.__s_____1_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00533b0b
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.005330ca
add esp, 0x18
inc eax
push eax
lea edx, [ebp - 0x20c]
push edx
push 1
push edi
mov dword [ebp - 0xc3c], eax
mov eax, dword [ebp - 0xc40]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x415553
mov ecx, dword [ebp - 0xc40]
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.00531f97
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0xc40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.DefaultIcon
push esi
push 0x55d250
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.00533b0b
add esp, 0x14
lea ecx, [ebp - 0xc48]
push ecx
lea edx, [ebp - 0xc44]
push edx
push edi
push 0x20006
push edi
push 0x55c8ac
push edi
lea eax, [ebp - 0xa2c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x41553b
mov ecx, dword [ebp - 0xc4c]
push ecx
push 0x55fc44
lea edx, [ebp - 0x414]
push 0x104
push edx
call fcn.00533b0b
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.005330ca
mov edx, dword [ebp - 0xc44]
add esp, 0x18
inc eax
push eax
lea ecx, [ebp - 0x414]
push ecx
push 1
push edi
push 0x55c8ac
push edx
mov dword [ebp - 0xc3c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41562a
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.00531f97
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.00531fb0
mov ecx, dword [ebp - 0xc50]
push ecx
push 0x55fc3c
lea edx, [ebp - 0x61c]
push 0x104
push edx
call fcn.00533b0b
add esp, 0x1c
lea eax, [ebp - 0xc48]
push eax
lea ecx, [ebp - 0xc38]
push ecx
push edi
push 0x2001f
push edi
push 0x55c8ac
push edi
lea edx, [ebp - 0x61c]
push edx
push 0x80000000
call ebx
test eax, eax
jne 0x41553b
push 0x206
lea ecx, [ebp - 0x822]
push edi
push ecx
mov word [ebp - 0x824], ax
call fcn.00531fb0
mov ecx, dword [ebp - 0xc38]
add esp, 0xc
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x824]
push eax
push edi
push edi
push edi
push ecx
mov dword [ebp - 0xc3c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4156fa
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 - 0xc3c], eax
mov eax, dword [ebp - 0xc38]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x415740
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.00531f97
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, 0xd9b8
call fcn.0042c560
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.00531f97
mov esp, ebp
pop ebp
ret 0x10