Function at 0x11bdd8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x11bde0
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x11c17f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00013c3c
lea eax, [ebp - 8]
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 - 0x18], eax
xor eax, eax
push ebp
push 0x11c145
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
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
cmp dword [ebp - 0x18], 0
je 0x11bea5
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x11c190
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.000189b4
test eax, eax
jne 0x11bea5
cmp dword [ebp - 0x1c], 1
jne 0x11bea5
cmp dword [ebp - 0x14], 0xa
jb 0x11bea5
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.0001899c
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
test eax, eax
jle 0x11c11b
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x11c198
call fcn.00031d88
mov ecx, dword [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0011ae80
mov eax, dword [ebp - 8]
call fcn.00013ecc
cmp eax, 0x33
jne 0x11bfa6
lea eax, [ebp - 0x30]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.000140d4
mov eax, dword [ebp - 0x30]
mov edx, dword [0x2a8338]
call fcn.00013fdc
jne 0x11bf9e
lea eax, [ebp - 8]
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 - 8]
mov ecx, 0x24
call fcn.0001415c
lea eax, [ebp - 8]
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 - 8]
mov ecx, 0x2c
call fcn.0001415c
lea edx, [ebp - 0x3c]
mov eax, 0x11c19c
call fcn.00031d88
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.00013ed4
lea eax, [ebp - 8]
call fcn.0001409c
push eax
mov eax, 0x2a833c
call fcn.0001409c
mov ecx, 2
pop edx
call fcn.00012840
jmp 0x11bfa6
lea eax, [ebp - 8]
call fcn.0011b50c
mov eax, dword [ebp - 8]
call fcn.00013ecc
cmp eax, 0x37
jne 0x11c114
lea eax, [ebp - 0x40]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.000140d4
mov eax, dword [ebp - 0x40]
mov edx, dword [0x2a833c]
call fcn.00013fdc
jne 0x11c10b
lea eax, [ebp - 0x20]
push eax
mov ecx, 8
mov edx, 0x24
mov eax, dword [ebp - 8]
call fcn.000140d4
lea edx, [ebp - 0x44]
mov eax, 0x11c1a4
call fcn.00031d88
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
call fcn.00013ed4
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xc]
call fcn.00015490
mov esi, eax
cmp dword [ebp - 0xc], 0
jne 0x11c102
add esi, edi
lea eax, [ebp - 8]
mov ecx, 8
mov edx, 0x24
call fcn.00014114
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.0002d44c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 8]
mov ecx, 0x24
call fcn.0001415c
lea eax, [ebp - 8]
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, 0x11c1a8
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 - 8]
call fcn.0011aa60
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
test eax, eax
jle 0x11c11b
xor eax, eax
push ebp
push 0x11c0f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x18], 0
je 0x11c0e9
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 0x11c190
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x11c0ec
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x11c11b
mov dword [ebp - 4], 3
jmp 0x11c11b
mov dword [ebp - 4], 2
jmp 0x11c11b
mov dword [ebp - 4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11c14c
cmp dword [ebp - 0x18], 0
je 0x11c137
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
call fcn.00019230
ret