Function at 0x41fe90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509b7e
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.0043a630
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.0043a630
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.0043a630
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.0043a630
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x440]
call fcn.00401cc0
push 0x512eba
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 0x42005d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x394]
call fcn.004039e0
jmp 0x4200f7
mov ecx, dword [ebp - 0x47c]
add ecx, 0x114
push ecx
lea edx, [ebp - 0x394]
push edx
push 0x5138a0
lea eax, [ebp - 0x45c]
push eax
call fcn.004218d0
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.00421960
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.00462540
add esp, 0xc
push 0x400
push 0
mov ecx, dword [ebp - 0x47c]
add ecx, 0x130
push ecx
call fcn.00462540
add esp, 0xc
push 0x5138a8
push 0x5138b0
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 0x5138b4
lea ecx, [ebp - 0x31c]
call fcn.00421c10
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 0x420218
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 0x4203e9
lea edx, [ebp - 0x324]
push edx
push 0xf003f
push 0
push 0x5138d4
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420266
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 0x420392
mov dword [ebp - 0x398], 0
lea eax, [ebp - 0x320]
push eax
push 0xf003f
push 0
push 0x5138ec
mov ecx, dword [ebp - 0x324]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4202c4
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 0x42037b
lea ecx, [ebp - 0x340]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.0043a510
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 0x420336
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 0x42035f
push 0x2c8
lea ecx, [ebp - 0x31c]
push ecx
push 3
push 0
push 0x513914
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.0046252a
mov esp, ebp
pop ebp
ret 0x10