Function at 0x43037a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 4
lea ecx, [ebp + 0x1c]
call fcn.004032e0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 2
push 0
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004586c8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
call fcn.004032e0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004584e5
cmp dword [ebp - 0x10], 0
je 0x43052f
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp + 0x14]
push eax
call fcn.0045825a
mov dword [ebp - 0x38], eax
call fcn.00431143
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x430480
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4898dc
mov ecx, dword [ebp + 8]
call fcn.00458553
mov eax, dword [ebp - 0x2c]
or al, 1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x10]
call fcn.004584e5
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004584e5
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004584e5
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004584e5
mov eax, dword [ebp + 8]
jmp 0x4305c9
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x18]
push edx
push 2
push 0
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004586c8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
call fcn.004032e0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004584e5
cmp dword [ebp - 0x10], 0
je 0x43052f
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4898e0
mov ecx, dword [ebp + 8]
call fcn.00458553
mov eax, dword [ebp - 0x2c]
or al, 1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x10]
call fcn.004584e5
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004584e5
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004584e5
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004584e5
mov eax, dword [ebp + 8]
jmp 0x4305c9
lea ecx, [ebp + 0x1c]
call fcn.00403470
test eax, eax
jle 0x430548
lea ecx, [ebp + 0x1c]
call fcn.00403470
mov dword [ebp - 0x48], eax
jmp 0x43054f
mov dword [ebp - 0x48], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 0
lea ecx, [ebp + 0x18]
call fcn.004032e0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4898e4
mov ecx, dword [ebp + 8]
call fcn.00458553
mov eax, dword [ebp - 0x2c]
or al, 1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x10]
call fcn.004584e5
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004584e5
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004584e5
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004584e5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret