Function at 0x1008fc00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4071
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2120
call fcn.100b3af0
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x2128], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2120], edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x212c], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2130], eax
xor esi, esi
mov dword [ebp - 0x211c], esi
lea edx, [ebp - 0x2014]
push edx
call fcn.1008e110
cmp eax, esi
jl 0x1008ff87
lea eax, [ebp - 0x211c]
push eax
lea ecx, [ebp - 0x2014]
push ecx
call fcn.1008def0
add esp, 8
test eax, eax
jne 0x1008fc97
mov eax, 0x80020009
jmp 0x1008ff87
mov ecx, dword [ebp - 0x2128]
call fcn.1008e0b0
lea edx, [ebp - 0x2014]
push edx
mov ecx, dword [ebp - 0x2128]
call fcn.1008e110
cmp eax, esi
jl 0x1008ff87
movzx eax, word [ebp - 0x211c]
cmp eax, 0x13
jg 0x1008fe7b
je 0x1008fe30
cmp eax, 8
je 0x1008fe18
cmp eax, 0x11
jne 0x1008ff6b
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x2124], ebx
test bl, 1
jne 0x1008fd76
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x211c], edi
mov dword [ebp - 0x2118], esi
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
push edi
lea ecx, [ebp - 0x2118]
call fcn.1008f980
mov dword [ebp - 4], 4
jmp 0x1008fd4c
mov eax, dword [ebp - 0x2118]
cmp eax, esi
jne 0x1008fd80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2114]
cmp dword [ebp - 0x2118], ecx
je 0x1008fd76
lea ecx, [ebp - 0x2118]
call fcn.1008e4e0
mov eax, 0x80004005
jmp 0x1008ff87
push edi
push esi
push eax
call fcn.100b2ed0
add esp, 0xc
cmp ebx, esi
jle 0x1008fdcc
nop
mov edi, esi
shr edi, 1
add edi, dword [ebp - 0x2118]
movzx ecx, word [ebp + esi*2 - 0x2014]
push ecx
call fcn.1008dfe0
add esp, 4
mov edx, esi
and edx, 1
add edx, edx
add edx, edx
mov ecx, 4
sub ecx, edx
shl al, cl
or byte [edi], al
inc esi
cmp esi, ebx
jl 0x1008fd90
xor esi, esi
mov edi, dword [ebp - 0x211c]
mov eax, dword [ebp - 0x2120]
mov eax, dword [eax]
push edi
mov ecx, dword [ebp - 0x2118]
push ecx
push 3
push esi
mov edx, dword [ebp - 0x212c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1008ff5c
lea ecx, [ebp - 0x2118]
call fcn.1008e4e0
jmp 0x1008ff5c
push 1
lea ecx, [ebp - 0x2014]
push ecx
push ebx
mov ecx, edi
call fcn.10008550
mov edi, eax
jmp 0x1008ff5c
mov dword [ebp - 0x2120], esi
mov dword [ebp - 4], 3
lea edx, [ebp - 0x2124]
push edx
push esi
push esi
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ecx, dword [ebp - 0x2124]
push ecx
push ebx
mov ecx, edi
call fcn.10008530
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2120]
call fcn.1008e400
jmp 0x1008ff5c
cmp eax, 0x4008
jne 0x1008ff6b
lea edx, [ebp - 0x2014]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x2118], esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2118]
call fcn.1008f930
mov dword [ebp - 4], esi
jmp 0x1008fec3
mov eax, dword [ebp - 0x2118]
cmp eax, esi
je 0x1008ff37
mov esi, eax
lea edi, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
je 0x1008ff14
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x1008ff05
cmp word [eax], 0x30
jne 0x1008ff05
xor ecx, ecx
mov word [esi], cx
add esi, 2
push eax
call ebx
mov edi, eax
jmp 0x1008ff0e
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], 0
jne 0x1008fee5
xor edx, edx
mov dword [esi], edx
mov ecx, dword [ebp - 0x2118]
push ecx
mov edx, dword [ebp - 0x212c]
push edx
mov ecx, dword [ebp - 0x2120]
call fcn.1008dd60
mov edi, eax
xor esi, esi
jmp 0x1008ff3c
mov edi, 0xe
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1008ff5c
lea ecx, [ebp - 0x2118]
call fcn.1008e4e0
cmp edi, esi
je 0x1008ff6b
push edi
call fcn.1008da00
add esp, 4
jmp 0x1008ff87
mov ecx, dword [ebp - 0x2130]
push ecx
mov ecx, dword [ebp - 0x2128]
call fcn.1008e110
xor edx, edx
cmp eax, esi
setge dl
dec edx
and eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret 0xc