Function at 0x11b5c8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x11b5d0
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x11b949
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00013c3c
lea eax, [ebp - 0xc]
call fcn.00013c3c
mov eax, 0x2800
call fcn.00019220
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x11b91a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
lea eax, [ebp - 0x28]
call fcn.00025330
mov eax, dword [ebp - 0x28]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x11b696
cmp dword [ebp - 8], 0
je 0x11b696
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x11b95c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.000189b4
test eax, eax
jne 0x11b696
cmp dword [ebp - 0x18], 1
jne 0x11b696
cmp dword [ebp - 0x20], 0xa
jb 0x11b696
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0001899c
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
test eax, eax
jle 0x11b8f0
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x11b964
call fcn.00031d88
mov ecx, dword [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0011ae80
mov eax, dword [ebp - 0xc]
call fcn.00013ecc
cmp eax, 0x33
jne 0x11b797
lea eax, [ebp - 0x30]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.000140d4
mov eax, dword [ebp - 0x30]
mov edx, dword [0x2a8338]
call fcn.00013fdc
jne 0x11b78f
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 0x24
call fcn.00014114
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.0002d44c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
mov ecx, 0x24
call fcn.0001415c
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 0x2c
call fcn.00014114
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.0002d44c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0xc]
mov ecx, 0x2c
call fcn.0001415c
lea edx, [ebp - 0x3c]
mov eax, 0x11b968
call fcn.00031d88
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
call fcn.00013ed4
lea eax, [ebp - 0xc]
call fcn.0001409c
push eax
mov eax, 0x2a833c
call fcn.0001409c
mov ecx, 2
pop edx
call fcn.00012840
jmp 0x11b797
lea eax, [ebp - 0xc]
call fcn.0011b50c
mov eax, dword [ebp - 0xc]
call fcn.00013ecc
cmp eax, 0x37
jne 0x11b8e9
lea eax, [ebp - 0x40]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.000140d4
mov eax, dword [ebp - 0x40]
mov edx, dword [0x2a833c]
call fcn.00013fdc
jne 0x11b8e0
lea eax, [ebp - 0x14]
push eax
mov ecx, 8
mov edx, 0x1c
mov eax, dword [ebp - 0xc]
call fcn.000140d4
lea edx, [ebp - 0x44]
mov eax, 0x11b970
call fcn.00031d88
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
call fcn.00013ed4
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
call fcn.00015490
mov esi, eax
cmp dword [ebp - 0x1c], 0
jne 0x11b8d7
inc esi
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 0x1c
call fcn.00014114
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.0002d44c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0xc]
mov ecx, 0x1c
call fcn.0001415c
lea eax, [ebp - 0xc]
call fcn.0001409c
push eax
mov eax, 0x2a833c
call fcn.0001409c
mov ecx, 2
pop edx
call fcn.00012840
lea edx, [ebp - 0x4c]
mov eax, 0x11b974
call fcn.00031d88
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0011aa60
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
test eax, eax
jle 0x11b8d2
cmp dword [ebp - 8], 0
je 0x11b8c9
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 0x11b95c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
jmp 0x11b8f0
mov dword [ebp - 4], 5
jmp 0x11b8f0
mov dword [ebp - 4], ebx
jmp 0x11b8f0
mov dword [ebp - 4], 3
jmp 0x11b8f0
mov dword [ebp - 4], 2
jmp 0x11b8f0
mov dword [ebp - 4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11b921
cmp dword [ebp - 8], 0
je 0x11b90c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
call fcn.00019230
ret