Function at 0x1000a4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b786
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x22e0
call fcn.1001b130
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 0x24], 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 - 0x22e0], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2028]
push ecx
mov ecx, dword [ebp - 0x22e0]
call fcn.1000b240
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000a533
mov eax, dword [ebp - 0x20]
jmp 0x1000aabc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2028]
push eax
call fcn.1000a130
add esp, 8
test eax, eax
jne 0x1000a554
mov eax, 0x80020009
jmp 0x1000aabc
mov ecx, dword [ebp - 0x22e0]
mov edx, dword [ecx]
movzx eax, word [edx]
push eax
mov ecx, dword [ebp - 0x22e0]
call fcn.1000bec0
test eax, eax
je 0x1000a588
mov ecx, dword [ebp - 0x22e0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [ebp - 0x22e0]
mov dword [ecx], eax
jmp 0x1000a554
lea edx, [ebp - 0x2028]
push edx
mov ecx, dword [ebp - 0x22e0]
call fcn.1000b240
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000a5ab
mov eax, dword [ebp - 0x20]
jmp 0x1000aabc
movzx eax, word [ebp - 0x1c]
mov dword [ebp - 0x22e4], eax
cmp dword [ebp - 0x22e4], 0x13
jg 0x1000a5e6
cmp dword [ebp - 0x22e4], 0x13
je 0x1000a816
cmp dword [ebp - 0x22e4], 8
je 0x1000a5f7
cmp dword [ebp - 0x22e4], 0x11
je 0x1000a8bc
jmp 0x1000aa82
cmp dword [ebp - 0x22e4], 0x4008
je 0x1000a655
jmp 0x1000aa82
xor ecx, ecx
jne 0x1000a5f7
xor edx, edx
jne 0x1000a5f7
lea eax, [ebp - 0x2028]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x22b8], eax
jne 0x1000a61c
mov dword [ebp - 0x18], 0xd
jmp 0x1000a650
xor ecx, ecx
jne 0x1000a5ff
lea edx, [ebp - 0x2028]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x2028]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
jmp 0x1000aa82
lea edx, [ebp - 0x2028]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x2134], eax
mov dword [ebp - 0x2130], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 2
mov eax, dword [ebp - 0x2134]
push eax
call fcn.1000a3a0
add esp, 8
mov dword [ebp - 0x22e8], eax
mov ecx, dword [ebp - 0x22e8]
push ecx
lea ecx, [ebp - 0x2130]
call fcn.1000a290
jmp 0x1000a6b8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2130], 0
je 0x1000a7ea
mov edx, dword [ebp - 0x2130]
mov dword [ebp - 0x2138], edx
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x213c], eax
mov dword [ebp - 0x2134], 0
mov ecx, dword [ebp - 0x213c]
movzx edx, word [ecx]
test edx, edx
je 0x1000a7a1
mov eax, dword [ebp - 0x213c]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2140], eax
mov ecx, dword [ebp - 0x213c]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x1000a75d
mov eax, dword [ebp - 0x2140]
movzx ecx, word [eax]
cmp ecx, 0x30
jne 0x1000a75d
xor edx, edx
mov eax, dword [ebp - 0x2138]
mov word [eax], dx
mov ecx, dword [ebp - 0x2138]
add ecx, 2
mov dword [ebp - 0x2138], ecx
mov edx, dword [ebp - 0x2140]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x213c], eax
jmp 0x1000a78d
mov eax, dword [ebp - 0x2138]
mov ecx, dword [ebp - 0x213c]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x2138]
add eax, 2
mov dword [ebp - 0x2138], eax
mov ecx, dword [ebp - 0x213c]
add ecx, 2
mov dword [ebp - 0x213c], ecx
mov edx, dword [ebp - 0x2134]
add edx, 1
mov dword [ebp - 0x2134], edx
jmp 0x1000a6ee
xor eax, eax
mov ecx, dword [ebp - 0x2138]
mov word [ecx], ax
mov edx, dword [ebp - 0x2138]
add edx, 2
mov dword [ebp - 0x2138], edx
xor eax, eax
mov ecx, dword [ebp - 0x2138]
mov word [ecx], ax
mov edx, dword [ebp - 0x2130]
mov dword [ebp - 0x22bc], edx
mov eax, dword [ebp - 0x22bc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000a2d0
mov dword [ebp - 0x18], eax
jmp 0x1000a7f1
mov dword [ebp - 0x18], 0xe
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x212c]
cmp dword [ebp - 0x2130], edx
je 0x1000a811
lea ecx, [ebp - 0x2130]
call fcn.1000a200
jmp 0x1000aa82
mov dword [ebp - 0x2150], 3
mov dword [ebp - 0x2158], 0
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x214c], eax
lea ecx, [ebp - 0x215c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x214c]
push edx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x215c]
mov dword [ebp - 0x22d0], eax
xor ecx, ecx
jne 0x1000a85a
xor edx, edx
jne 0x1000a85a
push 4
lea eax, [ebp - 0x22d0]
push eax
push 4
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x2158], 0
je 0x1000a8b7
mov ecx, dword [ebp - 0x2158]
mov dword [ebp - 0x22d4], ecx
mov edx, dword [ebp - 0x2158]
mov eax, dword [edx]
mov dword [ebp - 0x2158], eax
mov ecx, dword [ebp - 0x22d4]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x1000a882
jmp 0x1000aa82
lea edx, [ebp - 0x2028]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2164], eax
mov eax, dword [ebp - 0x2164]
and eax, 1
je 0x1000a8e4
mov eax, 0x80004005
jmp 0x1000aabc
mov eax, dword [ebp - 0x2164]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2160], eax
mov dword [ebp - 0x2270], 0
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x2160]
push ecx
call fcn.1000a3a0
add esp, 8
mov dword [ebp - 0x22ec], eax
mov edx, dword [ebp - 0x22ec]
push edx
lea ecx, [ebp - 0x2270]
call fcn.1000a290
jmp 0x1000a942
mov dword [ebp - 4], 3
cmp dword [ebp - 0x2270], 0
jne 0x1000a987
mov dword [ebp - 0x2278], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x226c]
cmp dword [ebp - 0x2270], eax
je 0x1000a97c
lea ecx, [ebp - 0x2270]
call fcn.1000a200
mov eax, dword [ebp - 0x2278]
jmp 0x1000aabc
mov ecx, dword [ebp - 0x2160]
push ecx
push 0
mov edx, dword [ebp - 0x2270]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x2274], 0
jmp 0x1000a9ba
mov eax, dword [ebp - 0x2274]
add eax, 1
mov dword [ebp - 0x2274], eax
mov ecx, dword [ebp - 0x2274]
cmp ecx, dword [ebp - 0x2164]
jge 0x1000aa25
mov eax, dword [ebp - 0x2274]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2270]
mov dword [ebp - 0x22f0], eax
mov edx, dword [ebp - 0x2274]
and edx, 1
mov esi, 1
sub esi, edx
shl esi, 2
mov eax, dword [ebp - 0x2274]
movzx ecx, word [ebp + eax*2 - 0x2028]
push ecx
call fcn.1000a420
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x22f0]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x22f0]
mov byte [edx], cl
jmp 0x1000a9ab
mov eax, dword [ebp - 0x2270]
mov dword [ebp - 0x22d8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x22dc], edx
mov eax, dword [ebp - 0x2160]
push eax
mov ecx, dword [ebp - 0x22d8]
push ecx
push 3
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x22dc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x226c]
cmp dword [ebp - 0x2270], ecx
je 0x1000aa82
lea ecx, [ebp - 0x2270]
call fcn.1000a200
cmp dword [ebp - 0x18], 0
je 0x1000aa9d
mov dword [ebp - 0x14], 0x204
mov edx, dword [ebp - 0x18]
push edx
call fcn.1000b200
add esp, 4
jmp 0x1000aabc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x22e0]
call fcn.1000b240
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000aaba
mov eax, dword [ebp - 0x20]
jmp 0x1000aabc
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 - 0x24]
xor ecx, ebp
call fcn.1001111a
mov esp, ebp
pop ebp
ret 0xc