Function at 0x1000a6b8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.1000f0c0
push ebx
push esi
mov esi, ecx
push edi
lea edi, [ebp - 0x2010]
mov eax, dword [esi]
mov cl, byte [eax]
push ecx
mov ecx, esi
call fcn.10009320
test eax, eax
je 0x1000a551
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esi], eax
mov al, byte [eax]
push eax
mov ecx, esi
call fcn.10009320
test eax, eax
jne 0x1000a538
mov ecx, dword [esi]
mov al, byte [ecx]
test al, al
je 0x1000a64b
cmp al, 0x27
jne 0x1000a65f
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esi], eax
mov cl, byte [eax]
test cl, cl
je 0x1000a5c0
mov ecx, esi
call fcn.100092c0
test eax, eax
jne 0x1000a5c0
mov eax, dword [esi]
cmp byte [eax], 0x27
jne 0x1000a58f
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esi], eax
mov ebx, dword [esi]
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [edi + 2]
lea edx, [ebp - 0x1010]
cmp ecx, edx
mov dword [esi], eax
jae 0x1000a64b
cmp ebx, eax
jae 0x1000a5bb
mov ecx, ebx
mov dl, byte [ecx]
inc ecx
mov byte [edi], dl
inc edi
cmp ecx, eax
jb 0x1000a5b1
cmp byte [eax], 0
jne 0x1000a574
mov eax, dword [esi]
cmp byte [eax], 0
je 0x1000a64b
push eax
mov byte [edi], 0
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esi], eax
mov al, byte [0x1001d9e0]
test al, 1
jne 0x1000a624
mov ecx, dword [0x10011454]
mov edx, dword [0x10011458]
or al, 1
mov word [0x10016794], 8
mov byte [0x1001d9e0], al
mov eax, dword [0x10011450]
mov dword [0x10016790], eax
mov dword [0x10016798], ecx
mov word [0x1001679c], 0x13
mov dword [0x100167a0], edx
mov word [0x100167a4], 0x11
xor ebx, ebx
mov edi, 0x10016790
mov eax, dword [edi]
lea ecx, [ebp - 0x2010]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000a694
add edi, 8
inc ebx
cmp edi, 0x100167a8
jb 0x1000a62b
mov eax, 0x80020009
lea esp, [ebp - 0x201c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
mov ecx, esi
call fcn.10009320
test eax, eax
jne 0x1000a68c
mov ebx, dword [esi]
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
cmp ebx, eax
mov dword [esi], eax
jae 0x1000a686
mov ecx, ebx
mov dl, byte [ecx]
inc ecx
mov byte [edi], dl
inc edi
cmp ecx, eax
jb 0x1000a67c
mov al, byte [eax]
test al, al
jne 0x1000a65f
mov byte [edi], 0
jmp 0x1000a5d7
mov di, word [ebx*8 + 0x10016794]
mov eax, dword [esi]
movsx ecx, byte [eax]
add ecx, 0xfffffff7
cmp ecx, 0x17
ja case.0x1000a6b1.10
xor edx, edx
mov dl, byte [ecx + 0x1000a8b4]
jmp dword [edx*4 + 0x1000a8ac]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esi], eax
jmp 0x1000a69c
lea eax, [ebp - 0x1010]
mov ecx, esi
push eax
call fcn.100093c0
test eax, eax
jl 0x1000a89c
and edi, 0xffff
mov eax, edi
sub eax, 8
je 0x1000a85d
sub eax, 9
je 0x1000a76d
sub eax, 2
jne 0x1000a887
lea ecx, [ebp - 0x1010]
test ecx, ecx
jne 0x1000a706
xor ebx, ebx
jmp 0x1000a73f
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.1000f0c0
mov ebx, esp
push edi
push ebx
lea eax, [ebp - 0x1010]
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push 4
push eax
mov eax, dword [edx]
push 4
push 0
push ecx
push eax
jmp 0x1000a881
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 4], eax
je 0x1000a795
mov eax, 0x80004005
lea esp, [ebp - 0x201c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
mov dword [ebp - 0x10], ebx
add eax, 3
and al, 0xfc
call fcn.1000f0c0
mov ecx, ebx
mov edi, esp
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esp
test eax, eax
jne 0x1000a7dc
mov eax, 0x80004005
lea esp, [ebp - 0x201c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
xor edi, edi
test eax, eax
jle 0x1000a848
mov al, byte [ebp + edi - 0x1010]
movsx ecx, al
add ecx, 0xffffffd0
cmp ecx, 0x36
ja case.0x1000a7ff.51
xor edx, edx
mov dl, byte [ecx + 0x1000a8dc]
jmp dword [edx*4 + 0x1000a8cc]
sub al, 0x30
mov bl, al
jmp 0x1000a81a
sub al, 0x37
mov bl, al
jmp 0x1000a81a
sub al, 0x57
mov bl, al
jmp 0x1000a81a
xor bl, bl
mov ecx, dword [ebp - 8]
mov eax, edi
cdq
sub eax, edx
mov edx, edi
sar eax, 1
and edx, 1
add eax, ecx
shl edx, 2
mov ecx, 4
sub ecx, edx
mov dl, byte [eax]
shl bl, cl
or dl, bl
inc edi
mov byte [eax], dl
mov eax, dword [ebp - 4]
cmp edi, eax
jl 0x1000a7e5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov eax, dword [eax]
push ecx
push 3
push 0
push edx
push eax
jmp 0x1000a881
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 0xc]
inc eax
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1010]
push ecx
mov ecx, dword [eax]
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0x10]
mov ecx, esi
push edx
call fcn.100093c0
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and eax, ecx
lea esp, [ebp - 0x201c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc