Function at 0x10011019
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100110e6
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100110c6
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xfffffffa
jmp 0x10011090
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x28
je 0x100110c4
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xfffffff1
jmp 0x100110ae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x17
jg 0x100110c2
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x100110c0
jmp 0x100110c2
jmp 0x100110a3
jmp 0x10011085
jmp 0x100110e1
push 0x17dc
push 0
push 0x80
push 0xea1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1001123d
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10011160
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x1001123d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100111ca
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, 0x6ffba4bd
cmp eax, 0x40dd146f
jl 0x100111b5
mov dword [ebp - 0x78], 1
jmp 0x100111b9
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
shl eax, 3
test eax, eax
jle 0x100111ce
xor eax, eax
je 0x100111df
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100111df
mov dword [ebp - 0x14], 1
jmp 0x100111e3
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x100111fe
mov dword [ebp - 0x18], 1
jmp 0x10011202
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jle 0x10011215
mov dword [ebp - 0x1c], 1
jmp 0x10011219
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jle 0x1001122c
mov dword [ebp - 0x24], 1
jmp 0x10011230
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
neg eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret