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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x14d675
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x14e2ab
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x3c]
mov eax, 0x14e2bc
call fcn.00031d88
lea eax, [ebp - 0x3c]
mov edx, dword [ebp + 0xc]
call fcn.00013ed4
mov eax, dword [ebp - 0x3c]
call fcn.0014d54c
pop ecx
xor eax, eax
push ebp
push 0x14e22c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
call fcn.0002b6e4
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0002b220
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
call fcn.00027f5c
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
pop edx
call fcn.00013f18
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, 0x19000
call fcn.00019220
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x14dc23
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x14dbbc
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x14e2cc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
call fcn.000189b4
mov ebx, eax
test ebx, ebx
jne 0x14d8d4
cmp dword [ebp - 0x34], 1
jne 0x14d89c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.0001899c
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.0002b090
mov eax, dword [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
call fcn.0002b090
mov eax, dword [ebp - 0x50]
pop edx
call fcn.000141b8
test eax, eax
jg 0x14d880
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
test eax, eax
jle 0x14d7e0
lea edx, [ebp - 0x54]
mov eax, 0x14e2d8
call fcn.00031d88
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00013f18
push dword [ebp - 0x2c]
lea edx, [ebp - 0x58]
mov eax, 0x14e2dc
call fcn.00031d88
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00013f8c
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014090
push eax
push 1
push 0
push 0x14e2cc
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
jne 0x14d84d
push ebp
lea edx, [ebp - 0x5c]
mov eax, 0x14e2e0
call fcn.00031d88
mov eax, dword [ebp - 0x5c]
call fcn.0014d54c
pop ecx
jmp 0x14d9b1
push ebp
lea edx, [ebp - 0x60]
mov eax, 0x14e2f8
call fcn.00031d88
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0x64]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x60]
call fcn.0014d5dc
pop ecx
jmp 0x14d9b1
push ebp
lea edx, [ebp - 0x68]
mov eax, 0x14e310
call fcn.00031d88
mov eax, dword [ebp - 0x68]
call fcn.0014d54c
pop ecx
jmp 0x14d9b1
push ebp
lea edx, [ebp - 0x6c]
mov eax, 0x14e320
call fcn.00031d88
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x70]
call fcn.0002b0cc
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x6c]
call fcn.0014d5dc
pop ecx
jmp 0x14d9b1
cmp ebx, 2
jne 0x14d974
push dword [ebp - 0x2c]
lea edx, [ebp - 0x74]
mov eax, 0x14e2dc
call fcn.00031d88
push dword [ebp - 0x74]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00013f8c
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014090
push eax
push 1
push 0
push 0x14e2cc
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
jne 0x14d944
push ebp
lea edx, [ebp - 0x78]
mov eax, 0x14e334
call fcn.00031d88
mov eax, dword [ebp - 0x78]
call fcn.0014d54c
pop ecx
jmp 0x14d9b1
push ebp
lea edx, [ebp - 0x7c]
mov eax, 0x14e34c
call fcn.00031d88
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0x80]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x7c]
call fcn.0014d5dc
pop ecx
jmp 0x14d9b1
push ebp
lea edx, [ebp - 0x84]
mov eax, 0x14e364
call fcn.00031d88
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x88]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0x88]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x84]
call fcn.0014d5dc
pop ecx
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x14e378
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
test ebx, ebx
jne 0x14daee
cmp dword [ebp - 0x34], 4
jne 0x14daa7
cmp dword [ebp - 0x24], 1
je 0x14da85
mov dword [ebp - 0x24], 1
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push 0x14e378
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
jne 0x14da43
push ebp
lea edx, [ebp - 0x8c]
mov eax, 0x14e390
call fcn.00031d88
mov eax, dword [ebp - 0x8c]
call fcn.0014d54c
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0x90]
mov eax, 0x14e3a8
call fcn.00031d88
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0x94]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x90]
call fcn.0014d5dc
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0x98]
mov eax, 0x14e3c0
call fcn.00031d88
mov eax, dword [ebp - 0x98]
call fcn.0014d54c
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0x9c]
mov eax, 0x14e3d0
call fcn.00031d88
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.0002b0cc
mov edx, dword [ebp - 0xa0]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x9c]
call fcn.0014d5dc
pop ecx
jmp 0x14dbf9
cmp ebx, 2
jne 0x14db7d
mov dword [ebp - 0x24], 1
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push 0x14e378
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
jne 0x14db3e
push ebp
lea edx, [ebp - 0xa4]
mov eax, 0x14e3e4
call fcn.00031d88
mov eax, dword [ebp - 0xa4]
call fcn.0014d54c
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0xa8]
mov eax, 0x14e3fc
call fcn.00031d88
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0xac]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0xac]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0xa8]
call fcn.0014d5dc
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0xb0]
mov eax, 0x14e414
call fcn.00031d88
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xb4]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0xb4]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0xb0]
call fcn.0014d5dc
pop ecx
jmp 0x14dbf9
push ebp
lea edx, [ebp - 0xb8]
mov eax, 0x14e420
call fcn.00031d88
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xbc]
mov eax, ebx
call fcn.0002b100
mov edx, dword [ebp - 0xbc]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0xb8]
call fcn.0014d5dc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14dc2a
cmp dword [ebp - 0x30], 0
je 0x14dc15
mov eax, dword [ebp - 0x30]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
call fcn.00019230
ret