Function at 0x1000c6c0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1001dbb0
push 0xffffffffffffffff
push 0x1001e153
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xac
mov eax, dword [0x10028018]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
xor eax, eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x9c], 0
lea ecx, [ebp + 0x208]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.1000d3f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1000c73e
mov eax, dword [ebp - 0x18]
jmp 0x1000cca0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp + 0x208]
push eax
call fcn.1000c380
add esp, 8
test eax, eax
jne 0x1000c75f
mov eax, 0x80020009
jmp 0x1000cca0
mov ecx, dword [ebp - 0x40]
call fcn.1000e090
lea ecx, [ebp + 0x208]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.1000d3f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1000c787
mov eax, dword [ebp - 0x18]
jmp 0x1000cca0
movzx edx, word [ebp - 0x38]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x13
jg 0x1000c7b3
cmp dword [ebp - 0x34], 0x13
je 0x1000c9f8
cmp dword [ebp - 0x34], 8
je 0x1000c7c5
cmp dword [ebp - 0x34], 0x11
je 0x1000ca8b
jmp 0x1000cc63
cmp dword [ebp - 0x34], 0x4008
je 0x1000c86b
jmp 0x1000cc63
xor eax, eax
jne 0x1000c7c5
lea ecx, [ebp + 0x208]
test ecx, ecx
je 0x1000c7dc
mov dword [ebp - 0x5c], 1
jmp 0x1000c7e3
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xb8], edx
cmp dword [ebp - 0xb8], 0
jne 0x1000c7fe
mov dword [ebp - 0x1c], 0xd
jmp 0x1000c866
xor eax, eax
jne 0x1000c7c9
lea ecx, [ebp + 0x208]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax]
mov word [ebp - 0x52], cx
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x52], 0
jne 0x1000c817
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xb0]
sar edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp + 0x208]
push edx
push 1
push 0
mov eax, dword [ebp + 0x2218]
push eax
mov ecx, dword [ebp + 0x2214]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
jmp 0x1000cc63
lea eax, [ebp + 0x208]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x28]
mov ax, word [edx]
mov word [ebp - 0x50], ax
add dword [ebp - 0x28], 2
cmp word [ebp - 0x50], 0
jne 0x1000c880
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xb4]
sar ecx, 1
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
add edx, 2
mov dword [ebp - 0x3c], edx
mov dword [ebp], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.1000c5a0
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp]
call fcn.1000c450
jmp 0x1000c8e9
mov dword [ebp - 4], 0
jmp 0x1000c8f9
mov edx, dword [ebp]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0
je 0x1000c9d5
mov eax, dword [ebp]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x208]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
test eax, eax
je 0x1000c99b
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x1000c972
mov ecx, dword [ebp - 0x60]
movzx edx, word [ecx]
cmp edx, 0x30
jne 0x1000c972
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx], ax
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x20], eax
jmp 0x1000c990
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x1000c925
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov word [edx], cx
mov eax, dword [ebp]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp + 0x2218]
push edx
mov ecx, dword [ebp + 0x2214]
call fcn.1000c490
mov dword [ebp - 0x1c], eax
jmp 0x1000c9dc
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000c9f3
lea ecx, [ebp]
call fcn.1000b4a0
jmp 0x1000cc63
mov dword [ebp - 0xbc], 3
mov dword [ebp - 0x44], 0
lea ecx, [ebp + 0x208]
mov dword [ebp - 0xac], ecx
lea edx, [ebp - 0x80]
push edx
push 0
push 0
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xa0], ecx
xor edx, edx
jne 0x1000ca33
push 4
lea eax, [ebp - 0xa0]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x2218]
push ecx
mov edx, dword [ebp + 0x2214]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x44], 0
je 0x1000ca86
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
jmp 0x1000ca5d
jmp 0x1000cc63
lea edx, [ebp + 0x208]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add eax, 2
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx]
mov word [ebp - 0x4e], dx
add dword [ebp - 0x30], 2
cmp word [ebp - 0x4e], 0
jne 0x1000caa0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xa4]
sar eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
and edx, 1
je 0x1000cae1
mov eax, 0x80004005
jmp 0x1000cca0
mov eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp + 0x104], 0
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
push 1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1000c5a0
add esp, 8
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp + 0x104]
call fcn.1000c450
jmp 0x1000cb29
mov dword [ebp - 4], 3
jmp 0x1000cb39
mov edx, dword [ebp + 0x104]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0
jne 0x1000cb77
mov dword [ebp - 0x74], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x108]
cmp dword [ebp + 0x104], eax
je 0x1000cb6f
lea ecx, [ebp + 0x104]
call fcn.1000b4a0
mov eax, dword [ebp - 0x74]
jmp 0x1000cca0
mov ecx, dword [ebp + 0x104]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
mov eax, dword [ebp - 0x7c]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x1000cba4
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x48]
jge 0x1000cc03
mov eax, dword [ebp + 0x104]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x24]
and ecx, 1
mov esi, 1
sub esi, ecx
shl esi, 2
mov edx, dword [ebp - 0x24]
movzx eax, word [ebp + edx*2 + 0x208]
push eax
call fcn.1000c620
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x58]
mov byte [edx], cl
jmp 0x1000cb9b
mov eax, dword [ebp + 0x104]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 0x2214]
mov edx, dword [ecx]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
push 3
push 0
mov edx, dword [ebp + 0x2218]
push edx
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x108]
cmp dword [ebp + 0x104], ecx
je 0x1000cc63
lea ecx, [ebp + 0x104]
call fcn.1000b4a0
cmp dword [ebp - 0x1c], 0
je 0x1000cc81
mov dword [ebp - 0x9c], 0x204
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1000d3b0
add esp, 4
jmp 0x1000cca0
mov eax, dword [ebp + 0x221c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.1000d3f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1000cc9e
mov eax, dword [ebp - 0x18]
jmp 0x1000cca0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.1001329a
add ebp, 0x220c
mov esp, ebp
pop ebp
ret 0xc