Function at 0x10002d67
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1000fd29
call fcn.1000f098
push ecx
mov eax, 0x210c
call fcn.1000bcd0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
lea eax, [ebp - 0x211c]
mov ecx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
call fcn.1000275f
cmp eax, edi
jl 0x1000300f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x211c]
push eax
call fcn.10003020
test eax, eax
pop ecx
pop ecx
jne 0x10002dbf
mov eax, 0x80020009
jmp 0x1000300f
call fcn.1000330b
lea eax, [ebp - 0x211c]
mov ecx, esi
call fcn.1000275f
cmp eax, edi
jl 0x1000300f
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x10002fd9
sub eax, 9
je 0x10002ee7
dec eax
dec eax
je 0x10002ebb
sub eax, 0x3ff5
jne 0x10002ffe
lea eax, [ebp - 0x211c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x11c], edi
add eax, eax
mov dword [ebp - 4], edi
push eax
lea esi, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.100030dd
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x10002e96
cmp word [ebp - 0x211c], 0
lea ebx, [ebp - 0x211c]
je 0x10002e7d
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push ebx
call edi
mov cx, word [ebx]
cmp cx, 0x5c
jne 0x10002e70
cmp word [eax], 0x30
jne 0x10002e70
and word [esi], 0
inc esi
push eax
inc esi
call edi
mov ebx, eax
jmp 0x10002e77
mov word [esi], cx
inc esi
inc esi
inc ebx
inc ebx
cmp word [ebx], 0
jne 0x10002e4b
and word [esi], 0
push dword [ebp - 0x11c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100030fd
mov esi, eax
jmp 0x10002e99
push 0xe
pop esi
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x10002fef
lea eax, [ebp - 0x11c]
call fcn.10003155
jmp 0x10002fef
call dword [0x10016a2c]
lea eax, [ebp - 0x14]
push eax
push edi
push edi
lea eax, [ebp - 0x211c]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10003137
jmp 0x10002fed
lea eax, [ebp - 0x211c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test al, 1
mov dword [ebp - 0x14], eax
jne 0x10002f4c
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 4], 3
push ebx
lea esi, [ebp - 0x11c]
mov byte [ebp - 4], 4
call fcn.100030dd
jmp 0x10002f2d
xor edi, edi
cmp dword [ebp - 0x11c], edi
jne 0x10002f56
lea eax, [ebp - 0x118]
test eax, eax
je 0x10002f4c
lea eax, [ebp - 0x11c]
call fcn.10003155
mov eax, 0x80004005
jmp 0x1000300f
push ebx
push edi
push dword [ebp - 0x11c]
call fcn.10009330
add esp, 0xc
cmp dword [ebp - 0x14], 0
jle 0x10002fa2
mov ecx, dword [ebp - 0x11c]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov ax, word [ebp + edi*2 - 0x211c]
call fcn.1000315e
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x10002f6c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x11c]
push 3
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x10002fef
lea eax, [ebp - 0x11c]
call fcn.10003155
jmp 0x10002fef
push 1
lea eax, [ebp - 0x211c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100030b2
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x10002ffe
mov eax, esi
call fcn.100032fc
jmp 0x1000300f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.1000275f
cmp eax, edi
jl 0x1000300f
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10