Function at 0x45d2a8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00404ae8
mov eax, dword [ebp + 0x14]
call fcn.00404ae8
mov eax, dword [ebp + 0x10]
call fcn.00404ae8
xor eax, eax
push ebp
push 0x45d6c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov dl, 1
mov eax, dword [0x42e3a0]
call fcn.0042e4a0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45d4bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x1c]
call fcn.0042e540
xor ecx, ecx
mov edx, 0x45d6dc
mov eax, dword [ebp - 0x1c]
call fcn.0042e5a4
test al, al
je 0x45d49f
mov dword [ebp - 0x24], 7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0042e900
test al, al
je 0x45d446
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0042e718
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x45d40e
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00404c84
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404af8
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00404c3c
test eax, eax
jne 0x45d49f
cmp dword [ebp - 0x28], 0
je 0x45d3d3
mov eax, dword [ebp - 0x28]
call fcn.004048f8
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.00404b98
push dword [ebp - 0x28]
push dword [ebp - 8]
push 0x45d71c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004049b8
mov eax, dword [ebp - 0x28]
call fcn.004048f8
push eax
mov eax, dword [ebp - 0x28]
push eax
push 7
push 0
push ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
jmp 0x45d49f
lea eax, [ebp - 0x28]
mov ecx, 0x45d71c
mov edx, dword [ebp - 8]
call fcn.00404944
mov eax, dword [ebp - 0x28]
call fcn.004048f8
push eax
mov eax, dword [ebp - 0x28]
push eax
push 7
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404af8
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
jmp 0x45d49f
lea eax, [ebp - 0x28]
mov ecx, 0x45d71c
mov edx, dword [ebp - 8]
call fcn.00404944
mov eax, dword [ebp - 0x28]
call fcn.004048f8
push eax
mov eax, dword [ebp - 0x28]
push eax
push 7
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404af8
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov cl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0042e5a4
test al, al
je 0x45d49f
mov ecx, 1
mov edx, 0x45d728
mov eax, dword [ebp - 0x1c]
call fcn.0042e810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d4c4
mov eax, dword [ebp - 0x1c]
call fcn.0042e510
mov eax, dword [ebp - 0x1c]
call fcn.00403844
ret