Function at 0x420c60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b667
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x47c], ecx
lea ecx, [ebp + 8]
call fcn.004077e0
add eax, 0x2dc
mov ecx, eax
call fcn.00401e70
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00401c80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x35c]
push ecx
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3d0]
call fcn.00401cc0
lea edx, [ebp - 0x408]
push edx
call fcn.00411050
mov ecx, eax
call fcn.0040a340
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x484]
call fcn.00401e70
push eax
lea ecx, [ebp - 0x3ec]
call fcn.00401c80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3ec]
push ecx
lea edx, [ebp - 0x394]
push edx
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3ec]
call fcn.00401cc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x408]
call fcn.00401cc0
lea ecx, [ebp + 8]
call fcn.004077e0
add eax, 0x38
mov ecx, eax
call fcn.00401e70
push eax
lea ecx, [ebp - 0x424]
call fcn.00401c80
mov byte [ebp - 4], 8
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x378]
push ecx
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x424]
call fcn.00401cc0
lea ecx, [ebp + 8]
call fcn.004077e0
mov ecx, eax
call fcn.00401e70
push eax
lea ecx, [ebp - 0x440]
call fcn.00401c80
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x340]
push eax
call fcn.0043b7f0
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x440]
call fcn.00401cc0
push 0x514eba
lea ecx, [ebp - 0x2c]
call fcn.00401c10
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x47c]
add ecx, 0x130
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401c10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.00407580
movzx edx, al
test edx, edx
jne 0x420e2d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x394]
call fcn.00403d50
jmp 0x420ec7
mov ecx, dword [ebp - 0x47c]
add ecx, 0x114
push ecx
lea edx, [ebp - 0x394]
push edx
push 0x515950
lea eax, [ebp - 0x45c]
push eax
call fcn.004228f0
add esp, 0xc
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x48c]
push edx
lea eax, [ebp - 0x478]
push eax
call fcn.00422980
add esp, 0xc
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x494], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x494]
push edx
lea ecx, [ebp - 0x394]
call fcn.00403d50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x478]
call fcn.00401c50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x45c]
call fcn.00401c50
push 0x2c8
push 0
lea eax, [ebp - 0x31c]
push eax
call fcn.00463a20
add esp, 0xc
push 0x400
push 0
mov ecx, dword [ebp - 0x47c]
add ecx, 0x130
push ecx
call fcn.00463a20
add esp, 0xc
push 0x515958
push 0x515960
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x378]
call fcn.00403b40
push eax
lea ecx, [ebp - 0x340]
call fcn.00403b40
push eax
lea ecx, [ebp - 0x394]
call fcn.00403b40
push eax
lea ecx, [ebp - 0x35c]
call fcn.00403b40
push eax
push 0x515964
lea ecx, [ebp - 0x31c]
call fcn.00422ce0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
lea ecx, [ebp - 0x50]
push ecx
push 0xf003f
push 0
push str.SOFTWARE_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420fe8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
call fcn.00401c50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00401c50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x340]
call fcn.00401c50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x378]
call fcn.00401c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x394]
call fcn.00401c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35c]
call fcn.00401c50
jmp 0x4211b9
lea edx, [ebp - 0x324]
push edx
push 0xf003f
push 0
push 0x515984
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421036
push 0
lea ecx, [ebp - 0x324]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.7654
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x421162
mov dword [ebp - 0x398], 0
lea eax, [ebp - 0x320]
push eax
push 0xf003f
push 0
push 0x51599c
mov ecx, dword [ebp - 0x324]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421094
push 0
lea edx, [ebp - 0x320]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.InstallV2
mov eax, dword [ebp - 0x324]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42114b
lea ecx, [ebp - 0x340]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.0043b6d0
add esp, 8
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x4c]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x3b4]
call fcn.00401e70
push eax
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421106
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3b4]
call fcn.00401e70
push eax
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42112f
push 0x2c8
lea ecx, [ebp - 0x31c]
push ecx
push 3
push 0
push 0x5159c4
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3b4]
call fcn.00401cc0
mov edx, dword [ebp - 0x324]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
call fcn.00401c50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00401c50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x340]
call fcn.00401c50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x378]
call fcn.00401c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x394]
call fcn.00401c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x35c]
call fcn.00401c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a0b
mov esp, ebp
pop ebp
ret 0x10