Function at 0x1000a7d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x211c
call fcn.1000d960
mov eax, dword [0x1001c3d0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2118]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x212c], esi
mov dword [ebp - 0x2124], edi
call fcn.100099b0
cmp eax, edi
jl 0x1000ab6e
lea ecx, [ebp - 0x2124]
push ecx
lea edx, [ebp - 0x2118]
push edx
call fcn.1000ac30
add esp, 8
test eax, eax
jne 0x1000a849
mov eax, 0x80020009
jmp 0x1000ab6e
mov ecx, esi
call fcn.10009950
lea eax, [ebp - 0x2118]
push eax
mov ecx, esi
call fcn.100099b0
cmp eax, edi
jl 0x1000ab6e
movzx eax, word [ebp - 0x2124]
cmp eax, 0x13
jg 0x1000aa7b
je 0x1000aa1f
cmp eax, 8
je 0x1000a9ec
cmp eax, 0x11
jne 0x1000ab59
lea ecx, [ebp - 0x2118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test bl, 1
mov dword [ebp - 0x2120], ebx
jne 0x1000a96a
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x211c], esi
mov dword [ebp - 0x118], 0
cmp esi, 0x100
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
jbe 0x1000a8ea
push esi
lea ecx, [ebp - 0x118]
call fcn.100097a0
jmp 0x1000a94b
lea edi, [ebp - 0x114]
mov dword [ebp - 0x118], edi
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor esi, esi
test ebx, ebx
rep stosb byte es:[edi], al
jle 0x1000a9a4
mov eax, dword [ebp - 0x118]
mov edx, esi
shr edx, 1
add edx, eax
mov ax, word [ebp + esi*2 - 0x2118]
movzx ecx, ax
add ecx, 0xffffffd0
cmp ecx, 0x36
ja case.0x1000a938.58
movzx ecx, byte [ecx + 0x1000ab9c]
jmp dword [ecx*4 + 0x1000ab8c]
mov edi, dword [ebp - 0x118]
test edi, edi
jne 0x1000a8f6
lea edx, [ebp - 0x114]
test edx, edx
je 0x1000a96a
lea ecx, [ebp - 0x118]
call fcn.1000ace0
mov eax, 0x80004005
jmp 0x1000ab6e
sub al, 0x30
jmp 0x1000a982
sub al, 0x37
jmp 0x1000a982
sub al, 0x57
jmp 0x1000a982
xor al, al
mov ecx, esi
and ecx, 1
shl ecx, 2
mov edi, ecx
mov ecx, 4
sub ecx, edi
shl al, cl
mov cl, byte [edx]
or cl, al
inc esi
cmp esi, ebx
mov byte [edx], cl
jl 0x1000a912
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x211c]
mov edx, dword [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
cmp eax, edx
je 0x1000ab42
lea ecx, [ebp - 0x118]
call fcn.1000ace0
jmp 0x1000ab42
lea eax, [ebp - 0x2118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x2118]
push edx
mov edx, dword [ecx]
push 1
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x1000ab42
call dword [0x1001c1ec]
lea eax, [ebp - 0x2120]
push eax
push edi
push edi
lea ecx, [ebp - 0x2118]
push ecx
mov dword [ebp - 0x2128], edi
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x2120]
mov ecx, dword [ebp + 0xc]
push 4
lea eax, [ebp - 0x211c]
push eax
push 4
mov dword [ebp - 0x211c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2128]
mov esi, eax
call fcn.100092e0
jmp 0x1000ab42
cmp eax, 0x4008
jne 0x1000ab59
lea ecx, [ebp - 0x2118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x118], edi
lea edx, [eax + eax]
mov dword [ebp - 4], edi
push edx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.1000acf0
mov edi, dword [ebp - 0x118]
test edi, edi
je 0x1000ab28
cmp word [ebp - 0x2118], 0
lea esi, [ebp - 0x2118]
je 0x1000ab06
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
mov cx, word [esi]
cmp cx, 0x5c
jne 0x1000aaf7
cmp word [eax], 0x30
jne 0x1000aaf7
mov word [edi], 0
push eax
add edi, 2
call ebx
mov esi, eax
jmp 0x1000ab00
mov word [edi], cx
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x1000aad0
mov ecx, dword [ebp + 0xc]
mov word [edi], 0
mov eax, dword [ebp - 0x118]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000abe0
mov edi, dword [ebp - 0x118]
mov esi, eax
jmp 0x1000ab2d
mov esi, 0xe
lea edx, [ebp - 0x114]
cmp edi, edx
je 0x1000ab42
lea ecx, [ebp - 0x118]
call fcn.1000ace0
xor edi, edi
cmp esi, edi
je 0x1000ab53
push esi
call fcn.1000a530
add esp, 4
jmp 0x1000ab6e
mov esi, dword [ebp - 0x212c]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.100099b0
xor ecx, ecx
cmp eax, edi
setge cl
dec ecx
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.1000d8e6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc