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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x410d95
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x410c77
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x1cc]
mov edx, 0x410dac
call fcn.0040342c
mov eax, dword [ebp - 0x14]
call fcn.004035a4
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x410d7f
mov eax, dword [ebx + 0x7c]
call fcn.0040a44c
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x410db8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebx + 0x7c]
call fcn.0040a47c
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x410dc0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebx + 0x7c]
call fcn.0040a4d4
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x410dc4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebx + 0x7c]
call fcn.0040a4ac
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x410dcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x410d7f
mov eax, dword [ebx + 0x1d8]
call dword [ebx + 0x1d4]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x1cc]
mov edx, 0x410dac
call fcn.0040342c
mov eax, dword [ebp - 0x14]
call fcn.004035a4
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x410d7f
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x410db8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x410cf5
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp - 0x10]
call fcn.0040a458
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x410dc0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x410d20
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp - 0x10]
call fcn.0040a488
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x410dc4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x410d4b
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp - 0x10]
call fcn.0040a4e0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x410dcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x410d76
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp - 0x10]
call fcn.0040a4b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410d9c
lea eax, [ebp - 0x14]
call fcn.00403188
ret