Function at 0x3000a0af
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2124
call fcn.3000efd6
mov eax, dword [0x30004298]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2118], eax
lea eax, [ebp - 0x2004]
xor ebx, ebx
push eax
mov dword [ebp - 0x2114], ecx
mov dword [ebp - 0x2120], edi
mov dword [ebp - 0x2110], esi
mov dword [ebp - 0x210c], ebx
call fcn.3000950f
cmp eax, ebx
jl 0x3000a423
lea eax, [ebp - 0x210c]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.3000939a
test eax, eax
jne 0x3000a127
mov eax, 0x80020009
jmp 0x3000a423
mov ecx, dword [ebp - 0x2114]
call fcn.300094ed
mov ecx, dword [ebp - 0x2114]
lea eax, [ebp - 0x2004]
push eax
call fcn.3000950f
cmp eax, ebx
jl 0x3000a423
movzx eax, word [ebp - 0x210c]
sub eax, 8
je 0x3000a3c5
sub eax, 9
je 0x3000a2bc
dec eax
dec eax
je 0x3000a253
sub eax, 0x3ff5
jne 0x3000a40c
cmp esi, ebx
jne 0x3000a181
mov esi, 0x30002f24
push esi
lea eax, [ebp - 0x2004]
push eax
push 0x30002ef4
push 2
lea eax, [ebp - 0x211c]
push ebx
push eax
call fcn.3000e5de
add esp, 0x18
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
inc eax
push eax
lea ecx, [ebp - 0x2108]
mov dword [ebp - 0x2108], ebx
call fcn.30009ca0
mov esi, dword [ebp - 0x2108]
cmp esi, ebx
je 0x3000a22e
cmp word [ebp - 0x2004], bx
lea edi, [ebp - 0x2004]
je 0x3000a20c
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp cx, 0x5c
jne 0x3000a200
cmp word [eax], 0x30
jne 0x3000a200
mov word [esi], bx
inc esi
push eax
inc esi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x3000a207
mov word [esi], cx
inc esi
inc esi
inc edi
inc edi
cmp word [edi], bx
jne 0x3000a1da
mov ecx, dword [ebp - 0x2120]
mov word [esi], bx
mov word [esi + 2], bx
push dword [ebp - 0x2108]
push dword [ebp - 0x2110]
call fcn.3000925f
mov edi, eax
jmp 0x3000a231
push 0xe
pop edi
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x3000a400
lea ecx, [ebp - 0x2108]
call fcn.30009791
jmp 0x3000a400
call dword [0x30011340]
lea eax, [ebp - 0x210c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2110], ebx
call dword [sym.imp.MSO.dll_Ordinal_6860]
push dword [ebp - 0x210c]
mov ecx, edi
push esi
call fcn.30009207
cmp esi, ebx
mov edi, eax
jne 0x3000a28e
mov esi, 0x30002f24
push esi
push dword [ebp - 0x210c]
lea eax, [ebp - 0x211c]
push 0x30002ec4
push 2
push ebx
push eax
call fcn.3000e5de
add esp, 0x18
lea ecx, [ebp - 0x2110]
call fcn.30007837
jmp 0x3000a400
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test al, 1
mov dword [ebp - 0x210c], eax
je 0x3000a2f3
push 0x30002e68
push ebx
lea eax, [ebp - 0x211c]
push ebx
push eax
call fcn.3000e5de
add esp, 0x10
mov eax, 0x80004005
jmp 0x3000a423
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
lea ecx, [ebp - 0x2108]
mov dword [ebp - 0x2124], esi
mov dword [ebp - 0x2108], ebx
call fcn.30009cbd
cmp dword [ebp - 0x2108], ebx
jne 0x3000a331
lea eax, [ebp - 0x2104]
test eax, eax
je 0x3000a2e9
lea ecx, [ebp - 0x2108]
call fcn.30009791
jmp 0x3000a2e9
push esi
push ebx
push dword [ebp - 0x2108]
call sub.MSVCR80.dll_memset
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0x210c], ebx
jle 0x3000a389
mov ecx, dword [ebp - 0x2108]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
movzx eax, word [ebp + edi*2 - 0x2004]
push eax
call fcn.30009430
mov edx, edi
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x210c]
jl 0x3000a34b
mov esi, dword [ebp - 0x2124]
mov eax, dword [ebp - 0x2120]
mov eax, dword [eax]
push esi
push dword [ebp - 0x2108]
push 3
push ebx
push dword [ebp - 0x2110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x3000a400
lea ecx, [ebp - 0x2108]
call fcn.30009791
jmp 0x3000a400
push 1
lea eax, [ebp - 0x2004]
push eax
push esi
mov ecx, edi
call fcn.30009223
cmp esi, ebx
mov edi, eax
jne 0x3000a3e1
mov esi, 0x30002f24
push esi
lea eax, [ebp - 0x2004]
push eax
push 0x30002ef4
push 2
lea eax, [ebp - 0x211c]
push ebx
push eax
call fcn.3000e5de
add esp, 0x18
cmp edi, ebx
je 0x3000a40c
push edi
call fcn.3000909b
jmp 0x3000a423
push dword [ebp - 0x2118]
mov ecx, dword [ebp - 0x2114]
call fcn.3000950f
cmp eax, ebx
jl 0x3000a423
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3000e693
leave
ret 0xc