Function at 0x420c70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b677
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.0043b800
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.0043b800
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.0043b800
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.0043b800
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 0x420e3d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x394]
call fcn.00403d50
jmp 0x420ed7
mov ecx, dword [ebp - 0x47c]
add ecx, 0x114
push ecx
lea edx, [ebp - 0x394]
push edx
push 0x515960
lea eax, [ebp - 0x45c]
push eax
call fcn.00422900
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.00422990
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.00463a30
add esp, 0xc
push 0x400
push 0
mov ecx, dword [ebp - 0x47c]
add ecx, 0x130
push ecx
call fcn.00463a30
add esp, 0xc
push 0x515968
push 0x515970
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 0x515974
lea ecx, [ebp - 0x31c]
call fcn.00422cf0
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 0x420ff8
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 0x4211c9
lea edx, [ebp - 0x324]
push edx
push 0xf003f
push 0
push 0x515994
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421046
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 0x421172
mov dword [ebp - 0x398], 0
lea eax, [ebp - 0x320]
push eax
push 0xf003f
push 0
push 0x5159ac
mov ecx, dword [ebp - 0x324]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4210a4
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 0x42115b
lea ecx, [ebp - 0x340]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.0043b6e0
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 0x421116
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 0x42113f
push 0x2c8
lea ecx, [ebp - 0x31c]
push ecx
push 3
push 0
push 0x5159d4
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.00463a1b
mov esp, ebp
pop ebp
ret 0x10