Function at 0x3001ded4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x3001b290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x224], eax
jne 0x3001df05
mov eax, 0xa0
jmp 0x3001e262
cmp dword [0x3006a8dc], esi
je 0x3001df14
xor eax, eax
jmp 0x3001e262
push 1
push ebx
call fcn.3001ddcb
test eax, eax
pop ecx
pop ecx
jne 0x3001df0d
mov eax, dword [ebx]
cmp eax, esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], esi
je 0x3001df4c
push eax
call fcn.3002767a
mov dword [ebp - 0x220], eax
push edi
lea ecx, [ebp - 0x229]
call fcn.3001d5d6
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call fcn.3001d836
add esp, 0x14
cmp eax, esi
jne 0x3001e103
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x3001df99
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push esi
lea ecx, [ebp - 0x228]
push ecx
push esi
push dword [ebp - 0x220]
push eax
call dword [fcn.3000113c]
mov edi, eax
cmp edi, esi
jne 0x3001e015
cmp dword [ebp - 0x21c], esi
je 0x3001e015
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call fcn.3001cdd4
test eax, eax
jne 0x3001dfdf
push 8
pop edi
jmp 0x3001e015
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x3001dff1
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x228]
push ecx
push esi
push dword [ebp - 0x220]
push eax
call dword [fcn.3000113c]
mov edi, eax
push edi
call fcn.3001d1f4
test eax, eax
pop ecx
je 0x3001e068
push 0x796d7469
push esi
call fcn.3001d137
push dword [ebp - 0x210]
mov ecx, 0x300698d0
call fcn.3001d774
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x210], esi
call fcn.3001d836
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x3001df87
jmp 0x3001e078
push dword [ebp - 0x210]
mov ecx, 0x300698d0
call fcn.3001d6f2
cmp edi, esi
jne 0x3001e103
mov edx, dword [ebp - 0x218]
cmp edx, esi
je 0x3001e103
movzx eax, byte [ebx + 0xc]
and eax, 0xf
cmp dword [ebp - 0x228], eax
jne 0x3001e1e8
dec eax
cmp eax, 1
ja 0x3001e0d0
mov eax, dword [ebp - 0x21c]
push 4
push dword [ebp - 0x224]
shr eax, 1
mov word [edx + eax*2 - 2], si
push dword [ebp - 0x218]
call fcn.3002a1b8
test eax, eax
jne 0x3001e220
jmp 0x3001e1e8
mov ecx, dword [ebp - 0x21c]
cmp ecx, dword [ebp + 0x10]
jne 0x3001e1e8
mov edi, dword [ebp - 0x224]
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x3001e0f2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x3001e185
xor edi, edi
xor esi, esi
jmp 0x3001e220
mov eax, dword [ebx + 4]
cmp eax, 0xcccccccc
je 0x3001e1e8
movzx ecx, byte [ebx + 0xc]
and ecx, 0xf
jle 0x3001e169
cmp ecx, 2
jle 0x3001e139
cmp ecx, 4
jne 0x3001e169
mov ecx, dword [ebp - 0x224]
cmp dword [ecx], eax
jne 0x3001e1e8
xor edi, edi
jmp 0x3001e220
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.30026146
push 4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call fcn.3002a1b8
test eax, eax
je 0x3001e1e8
jmp 0x3001e132
push esi
push 0x6661626f
call fcn.3001d0f8
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
mov esi, dword [ebp - 0x224]
jmp 0x3001e0e7
xor esi, esi
jmp 0x3001e1e8
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x3001e19b
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
push dword [ebp + 0x10]
movzx ecx, byte [ebx + 0xc]
push dword [ebp - 0x224]
and ecx, 0xf
push ecx
push esi
push dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push edi
call fcn.3001d1f4
test eax, eax
pop ecx
je 0x3001e210
push 0x796d746a
push esi
call fcn.3001d137
push dword [ebp - 0x210]
mov ecx, 0x300698d0
call fcn.3001d774
mov dword [ebp - 0x210], esi
push esi
push 4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
call fcn.3001d836
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x3001e189
jmp 0x3001e220
push dword [ebp - 0x210]
mov ecx, 0x300698d0
call fcn.3001d6f2
cmp dword [ebp - 0x218], esi
je 0x3001e239
push dword [ebp - 0x218]
call fcn.3001cd09
mov dword [ebp - 0x218], esi
cmp dword [ebp - 0x220], esi
je 0x3001e24c
push dword [ebp - 0x220]
call fcn.3001cd09
cmp dword [0x300698c8], esi
je 0x3001e25f
push 0x30069870
call dword [fcn.30001238]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.300305d2
leave
ret 0xc