Function at 0x14fd30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x14fd38
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014080
xor eax, eax
push ebp
push 0x1500ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x2800
call fcn.00019248
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x15005d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x2a9118]
add eax, dword [edx]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
jne 0x150033
test ebx, ebx
jne 0x150033
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x1500bc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00018af4
mov ebx, eax
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
jne 0x150033
test ebx, ebx
jne 0x150033
cmp dword [ebp - 0xc], 1
jne 0x150033
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00018adc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.00014350
xor ebx, ebx
mov esi, 1
jmp 0x15001d
cmp esi, 0x19
jne 0x14ffee
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0001e5f8
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0001e5f8
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00014874
test eax, eax
jle 0x15001c
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0001e5f8
mov edx, dword [ebp - 0x24]
mov eax, 0x1500cc
call fcn.00014874
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00014548
sub eax, 3
cmp edi, eax
jne 0x15001c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
call fcn.00014660
je 0x14ffd4
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0xf003f
jne 0x14ffa7
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x7a]
call fcn.000acda0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.000144c4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x78]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.000145b4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00014548
inc eax
add eax, eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x80], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00014538
push eax
push 1
push 0
push 0x1500bc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je 0x14ff8f
lea edx, [ebp - 0x38]
mov eax, 0x1500d8
call fcn.00031d88
push dword [ebp - 0x38]
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.0002b100
push dword [ebp - 0x3c]
lea edx, [ebp - 0x40]
mov eax, 0x1500e0
call fcn.00031d88
push dword [ebp - 0x40]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00013f8c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.000144c4
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc]
call fcn.00014554
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x84]
call fcn.000199bc
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov edx, 0x1500e8
call fcn.000145b4
jmp 0x14ffea
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
lea eax, [ebp - 0x44]
mov edx, 0x1500f0
call fcn.000145b4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x84]
call fcn.0001991c
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x14ffea
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov edx, 0x1500e8
call fcn.000145b4
mov bl, 1
jmp 0x15001c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx + esi*4 - 0x78]
call fcn.00014660
jne 0x15001c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + esi*4 - 0x78]
mov eax, dword [ebp + 8]
lea eax, [eax + esi*4 - 0x78]
mov edx, 0x1500e8
call fcn.000145b4
mov bl, 1
inc esi
test bl, bl
jne 0x150033
cmp esi, 0x19
jg 0x150033
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x14fe23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x150064
cmp dword [ebp - 0x14], 0
je 0x15004f
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00019258
ret