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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0xa0b78
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xa0fec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.00013d18
lea eax, [ebp - 0x24]
call fcn.00013d18
lea eax, [ebp - 0x18]
mov edx, 0x2800
call fcn.000271f0
mov dword [ebp - 0xc], 4
xor eax, eax
push ebp
push 0xa0c44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
lea eax, [ebp - 0x38]
call fcn.00026f34
mov eax, dword [ebp - 0x38]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [ebp - 0x28], 0
je 0xa0c3a
mov dword [ebp - 0x20], 0x27ff
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0xa1000
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xa0c3a
cmp dword [ebp - 0x30], 1
jne 0xa0c3a
cmp dword [ebp - 0x20], 0xa
jb 0xa0c3a
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00013ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xa0c4e
mov eax, dword [ebp - 0x1c]
call fcn.00013fa8
test eax, eax
jle 0xa0f88
lea eax, [ebp - 0x24]
push eax
mov ecx, 0xa1010
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.000a004c
mov eax, dword [ebp - 0x24]
call fcn.00013fa8
cmp eax, 0x33
jne 0xa0d62
lea eax, [ebp - 0x3c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.000141b0
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x16d268]
call fcn.000140b8
jne 0xa0d5a
lea eax, [ebp - 0x24]
mov ecx, 8
mov edx, 0x24
call fcn.000141f0
lea edx, [ebp - 0x140]
xor eax, eax
call fcn.00029850
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x40]
call fcn.00013f4c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x24]
mov ecx, 0x24
call fcn.00014238
lea eax, [ebp - 0x24]
mov ecx, 8
mov edx, 0x2c
call fcn.000141f0
lea edx, [ebp - 0x140]
xor eax, eax
call fcn.00029850
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x144]
call fcn.00013f4c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x24]
mov ecx, 0x2c
call fcn.00014238
lea eax, [ebp - 0x24]
mov edx, 0xa101c
call fcn.00013fb0
lea eax, [ebp - 0x24]
call fcn.00014178
push eax
mov eax, 0x16d26c
call fcn.00014178
mov ecx, 2
pop edx
call fcn.0001291c
jmp 0xa0d62
lea eax, [ebp - 0x24]
call fcn.000a0628
mov eax, dword [ebp - 0x24]
call fcn.00013fa8
cmp eax, 0x37
jne 0xa0f81
lea eax, [ebp - 0x148]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.000141b0
mov eax, dword [ebp - 0x148]
mov edx, dword [0x16d26c]
call fcn.000140b8
jne 0xa0f78
lea eax, [ebp - 0x10]
push eax
mov ecx, 8
mov edx, 0x24
mov eax, dword [ebp - 0x24]
call fcn.000141b0
lea eax, [ebp - 0x34]
push eax
mov ecx, 8
mov edx, 0x2c
mov eax, dword [ebp - 0x24]
call fcn.000141b0
lea eax, [ebp - 0x14c]
mov ecx, dword [ebp - 0x10]
mov edx, 0xa102c
call fcn.00013ff4
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x2c]
call fcn.00015578
mov esi, eax
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 0x34]
mov edx, 0xa102c
call fcn.00013ff4
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14]
call fcn.00015578
mov ebx, eax
cmp dword [ebp - 0x2c], 0
jne 0xa0f6f
cmp dword [ebp - 0x14], 0
jne 0xa0f6f
add esi, dword [ebp - 4]
test ebx, ebx
jne 0xa0e35
mov ebx, dword [ebp - 4]
jmp 0xa0e46
lea eax, [ebx + ebx*8]
add eax, dword [ebp - 4]
mov ecx, 0xa
xor edx, edx
div ecx
mov ebx, eax
lea eax, [ebp - 0x24]
mov ecx, 8
mov edx, 0x24
call fcn.000141f0
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.00029850
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x154]
call fcn.00013f4c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x24]
mov ecx, 0x24
call fcn.00014238
lea eax, [ebp - 0x24]
mov ecx, 8
mov edx, 0x2c
call fcn.000141f0
lea edx, [ebp - 0x140]
mov eax, ebx
call fcn.00029850
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x158]
call fcn.00013f4c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x24]
mov ecx, 0x2c
call fcn.00014238
lea eax, [ebp - 0x24]
call fcn.00014178
push eax
mov eax, 0x16d26c
call fcn.00014178
mov ecx, 2
pop edx
call fcn.0001291c
push 0xa1038
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
mov edx, 5
mov eax, dword [ebp - 0x24]
call fcn.0009fc70
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.00013fa8
test eax, eax
jle 0xa0f88
xor eax, eax
push ebp
push 0xa0f63
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x28], 0
je 0xa0f56
mov eax, dword [ebp - 0x1c]
call fcn.00013fa8
inc eax
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0001416c
push eax
push 1
push 0
push 0xa1000
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0xa0f59
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xa0f88
mov dword [ebp - 0xc], 3
jmp 0xa0f88
mov dword [ebp - 0xc], 2
jmp 0xa0f88
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x18]
mov edx, 0x2800
call fcn.00027218
cmp dword [ebp - 0x28], 0
je 0xa0fa4
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa0ff3
lea eax, [ebp - 0x158]
mov edx, 6
call fcn.00013d3c
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00013d3c
lea eax, [ebp - 0x24]
call fcn.00013d18
lea eax, [ebp - 0x1c]
call fcn.00013d18
lea eax, [ebp - 0x10]
call fcn.00013d18
ret