Function at 0xa1488
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2d
push 0
push 0
dec ecx
jne 0xa1490
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xa18dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00013d18
lea eax, [ebp - 0x10]
call fcn.00013d18
lea eax, [ebp - 0x1c]
mov edx, 0x2800
call fcn.000271f0
mov eax, 0x16d25c
call fcn.00013d18
xor eax, eax
mov dword [0x16d258], eax
xor eax, eax
mov dword [0x16d260], eax
xor eax, eax
mov dword [0x16d254], eax
xor eax, eax
mov dword [0x16d24c], eax
push 0x16d250
lea eax, [ebp - 0x48]
call fcn.000a0628
mov eax, dword [ebp - 0x48]
mov ecx, 0x33
mov edx, 1
call fcn.000141b0
xor eax, eax
push ebp
push 0xa1598
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x4c]
call fcn.00026f34
mov eax, dword [ebp - 0x4c]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [ebp - 8], 0
je 0xa158e
mov dword [ebp - 0x2c], 0x27ff
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0xa18ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0xa158e
cmp dword [ebp - 0x3c], 1
jne 0xa158e
cmp dword [ebp - 0x2c], 0xa
jb 0xa158e
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00013ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xa15a2
mov eax, dword [ebp - 0xc]
call fcn.00013fa8
test eax, eax
jle 0xa1861
lea eax, [ebp - 0x10]
push eax
mov ecx, 0xa18fc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.000a004c
mov eax, dword [ebp - 0x10]
call fcn.00013fa8
cmp eax, 0x33
jne 0xa16b6
lea eax, [ebp - 0x50]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.000141b0
mov eax, dword [ebp - 0x50]
mov edx, dword [0x16d268]
call fcn.000140b8
jne 0xa16ae
lea eax, [ebp - 0x10]
mov ecx, 8
mov edx, 0x24
call fcn.000141f0
lea edx, [ebp - 0x154]
xor eax, eax
call fcn.00029850
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x54]
call fcn.00013f4c
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x10]
mov ecx, 0x24
call fcn.00014238
lea eax, [ebp - 0x10]
mov ecx, 8
mov edx, 0x2c
call fcn.000141f0
lea edx, [ebp - 0x154]
xor eax, eax
call fcn.00029850
lea edx, [ebp - 0x154]
lea eax, [ebp - 0x158]
call fcn.00013f4c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x10]
mov ecx, 0x2c
call fcn.00014238
lea eax, [ebp - 0x10]
mov edx, 0xa1908
call fcn.00013fb0
lea eax, [ebp - 0x10]
call fcn.00014178
push eax
mov eax, 0x16d26c
call fcn.00014178
mov ecx, 2
pop edx
call fcn.0001291c
jmp 0xa16b6
lea eax, [ebp - 0x10]
call fcn.000a0628
mov eax, dword [ebp - 0x10]
call fcn.00013fa8
cmp eax, 0x37
jne 0xa185a
lea eax, [ebp - 0x15c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.000141b0
mov eax, dword [ebp - 0x15c]
mov edx, dword [0x16d26c]
call fcn.000140b8
jne 0xa1853
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x11
mov edx, 3
mov eax, dword [ebp - 0x10]
call fcn.000141b0
lea eax, [ebp - 0x38]
push eax
mov ecx, 8
mov edx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.000141b0
lea eax, [ebp - 0x24]
push eax
mov ecx, 8
mov edx, 0x1c
mov eax, dword [ebp - 0x10]
call fcn.000141b0
lea eax, [ebp - 0x28]
push eax
mov ecx, 8
mov edx, 0x24
mov eax, dword [ebp - 0x10]
call fcn.000141b0
lea eax, [ebp - 0x18]
push eax
mov ecx, 8
mov edx, 0x2c
mov eax, dword [ebp - 0x10]
call fcn.000141b0
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x38]
mov edx, 0xa1918
call fcn.00013ff4
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x30]
call fcn.00015578
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x24]
mov edx, 0xa1918
call fcn.00013ff4
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x34]
call fcn.00015578
mov esi, eax
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x28]
mov edx, 0xa1918
call fcn.00013ff4
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x40]
call fcn.00015578
mov ebx, eax
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x18]
mov edx, 0xa1918
call fcn.00013ff4
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x14]
call fcn.00015578
mov edi, eax
cmp dword [ebp - 0x30], 0
jne 0xa184c
cmp dword [ebp - 0x34], 0
jne 0xa184c
cmp dword [ebp - 0x40], 0
jne 0xa184c
cmp dword [ebp - 0x14], 0
jne 0xa184c
mov eax, 0x16d25c
mov edx, dword [ebp - 0x20]
call fcn.00013d6c
mov eax, dword [ebp - 0x44]
mov dword [0x16d258], eax
mov dword [0x16d260], esi
mov dword [0x16d254], ebx
mov dword [0x16d24c], edi
push 0x16d250
mov ecx, 0x33
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.000141b0
xor ebx, ebx
jmp 0xa1866
mov ebx, 5
jmp 0xa1866
mov ebx, 3
jmp 0xa1866
mov ebx, 2
jmp 0xa1866
mov ebx, 1
lea eax, [ebp - 0x1c]
mov edx, 0x2800
call fcn.00027218
cmp dword [ebp - 8], 0
je 0xa1882
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa18e3
lea eax, [ebp - 0x16c]
mov edx, 6
call fcn.00013d3c
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00013d3c
lea eax, [ebp - 0x38]
call fcn.00013d18
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00013d3c
lea eax, [ebp - 0x18]
call fcn.00013d18
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00013d3c
ret