Function at 0x420060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5635bc]
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.00406fb0
add eax, 0x2dc
mov ecx, eax
call fcn.00401cf0
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.0043a800
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3d0]
call fcn.00401cc0
lea edx, [ebp - 0x408]
push edx
call fcn.00410940
mov ecx, eax
call fcn.00409c30
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.00401cf0
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.0043a800
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.00406fb0
add eax, 0x38
mov ecx, eax
call fcn.00401cf0
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.0043a800
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x424]
call fcn.00401cc0
lea ecx, [ebp + 8]
call fcn.00406fb0
mov ecx, eax
call fcn.00401cf0
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.0043a800
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x440]
call fcn.00401cc0
push 0x512eaa
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.00406e80
movzx edx, al
test edx, edx
jne 0x42022d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x394]
call fcn.004039e0
jmp 0x4202c7
mov ecx, dword [ebp - 0x47c]
add ecx, 0x114
push ecx
lea edx, [ebp - 0x394]
push edx
push 0x513870
lea eax, [ebp - 0x45c]
push eax
call fcn.00421aa0
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.00421b30
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.004039e0
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.00462710
add esp, 0xc
push 0x400
push 0
mov ecx, dword [ebp - 0x47c]
add ecx, 0x130
push ecx
call fcn.00462710
add esp, 0xc
push 0x513878
push 0x513880
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x378]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x340]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x394]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x35c]
call fcn.00403a00
push eax
push 0x513884
lea ecx, [ebp - 0x31c]
call fcn.00421de0
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 0x4203e8
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 0x4205b9
lea edx, [ebp - 0x324]
push edx
push 0xf003f
push 0
push 0x5138a4
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420436
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 0x420562
mov dword [ebp - 0x398], 0
lea eax, [ebp - 0x320]
push eax
push 0xf003f
push 0
push 0x5138bc
mov ecx, dword [ebp - 0x324]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420494
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 0x42054b
lea ecx, [ebp - 0x340]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.0043a6e0
add esp, 8
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x4c]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x3b4]
call fcn.00401cf0
push eax
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420506
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x3b4]
call fcn.00401cf0
push eax
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42052f
push 0x2c8
lea ecx, [ebp - 0x31c]
push ecx
push 3
push 0
push 0x5138e4
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.004626fa
mov esp, ebp
pop ebp
ret 0x10