Function at 0x10002d79
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1000fc27
call fcn.1000efb8
push ecx
mov eax, 0x210c
call fcn.1000bbf0
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.10002771
cmp eax, edi
jl 0x10003021
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x211c]
push eax
call fcn.10003032
test eax, eax
pop ecx
pop ecx
jne 0x10002dd1
mov eax, 0x80020009
jmp 0x10003021
call fcn.1000331d
lea eax, [ebp - 0x211c]
mov ecx, esi
call fcn.10002771
cmp eax, edi
jl 0x10003021
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x10002feb
sub eax, 9
je 0x10002ef9
dec eax
dec eax
je 0x10002ecd
sub eax, 0x3ff5
jne 0x10003010
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.100030f8
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x10002ea8
cmp word [ebp - 0x211c], 0
lea ebx, [ebp - 0x211c]
je 0x10002e8f
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push ebx
call edi
mov cx, word [ebx]
cmp cx, 0x5c
jne 0x10002e82
cmp word [eax], 0x30
jne 0x10002e82
and word [esi], 0
inc esi
push eax
inc esi
call edi
mov ebx, eax
jmp 0x10002e89
mov word [esi], cx
inc esi
inc esi
inc ebx
inc ebx
cmp word [ebx], 0
jne 0x10002e5d
and word [esi], 0
push dword [ebp - 0x11c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10003118
mov esi, eax
jmp 0x10002eab
push 0xe
pop esi
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x10003001
lea eax, [ebp - 0x11c]
call fcn.100030ef
jmp 0x10003001
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.10003152
jmp 0x10002fff
lea eax, [ebp - 0x211c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test al, 1
mov dword [ebp - 0x14], eax
jne 0x10002f5e
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.100030f8
jmp 0x10002f3f
xor edi, edi
cmp dword [ebp - 0x11c], edi
jne 0x10002f68
lea eax, [ebp - 0x118]
test eax, eax
je 0x10002f5e
lea eax, [ebp - 0x11c]
call fcn.100030ef
mov eax, 0x80004005
jmp 0x10003021
push ebx
push edi
push dword [ebp - 0x11c]
call fcn.10009250
add esp, 0xc
cmp dword [ebp - 0x14], 0
jle 0x10002fb4
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.10003170
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 0x10002f7e
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 0x10003001
lea eax, [ebp - 0x11c]
call fcn.100030ef
jmp 0x10003001
push 1
lea eax, [ebp - 0x211c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100030c4
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x10003010
mov eax, esi
call fcn.1000330e
jmp 0x10003021
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.10002771
cmp eax, edi
jl 0x10003021
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10