Function at 0x10fec5b
Capabilities:
Set registry value

Disassembly:
push 0x54
mov eax, 0x11089d6
call fcn.0106f85e
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x44], edi
mov eax, dword [0x111024c]
mov ebx, 0x1013bc0
cmp eax, 0x111024c
je 0x10fec98
test byte [eax + 0x1c], 0x20
je 0x10fec98
cmp byte [eax + 0x19], 4
jb 0x10fec98
push ebx
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
cmp dword [ebp + 0x10], 0
mov esi, 0x1013c34
jne 0x10fecb3
push 0x1013d74
push 0x3ce
push esi
call fcn.0107b644
cmp dword [ebp + 0xc], 0
ja 0x10fecc9
push 0x1013d64
push 0x3cf
push esi
call fcn.0107b644
test edi, edi
jne 0x10fecdd
push 0x1013d5c
push 0x3d0
push esi
call fcn.0107b644
push 0xa
lea ecx, [ebp - 0x60]
call fcn.010c39ae
mov esi, 0x1007124
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0xc], eax
jbe 0x10fed24
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x60]
call fcn.010ce416
add esi, 0x10
dec edi
jne 0x10fed15
cmp byte [ebp + 8], 0
je 0x10fed77
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1013d3c
push dword [ebp - 0x44]
call fcn.01081285
mov edi, eax
test edi, edi
jge 0x10fedf5
cmp edi, 0x80070002
jne 0x10fedbd
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10fed77
test byte [eax + 0x1c], 0x20
je 0x10fed77
cmp byte [eax + 0x19], 4
jb 0x10fed77
push ebx
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [ebp - 0x58]
push 0x10
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0101ae15
mov edi, eax
test edi, edi
jge 0x10fefb5
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push ebx
push 0x41
jmp 0x10fede5
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push ebx
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x10ff0b6
mov ecx, dword [ebp - 0x3c]
cmp ecx, 4
jae 0x10fee33
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10fee29
test byte [eax + 0x1c], 0x20
je 0x10fee29
cmp byte [eax + 0x19], 2
jb 0x10fee29
push ecx
push ebx
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
mov edi, 0x8000ffff
jmp 0x10ff0bb
mov edx, dword [ebp - 0x2c]
shr ecx, 1
cmp word [edx + ecx*2 - 2], 0
jne 0x10fef80
cmp word [edx + ecx*2 - 4], 0
jne 0x10fef80
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10fee77
test byte [eax + 0x1c], 0x20
je 0x10fee77
cmp byte [eax + 0x19], 4
jb 0x10fee77
push edx
push ebx
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [ebp - 0x2c]
mov esi, eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10fee7f
jmp 0x10fef15
cmp dword [ebp - 0x24], 0
je 0x10feea1
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0107d16c
mov edi, eax
test edi, edi
jl 0x10fef24
mov ecx, dword [ebp - 0x24]
push 0x5c
pop eax
mov word [ecx + 2], ax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0107e0a3
mov edi, eax
test edi, edi
jl 0x10fef52
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.010cc4af
test eax, eax
jne 0x10feeef
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.010ce416
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10feef4
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10fef0b
sub eax, edx
sar eax, 1
jne 0x10fee8e
jmp 0x10fed77
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push esi
push ebx
push 0x3f
jmp 0x10ff0ab
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push esi
push ebx
push 0x40
jmp 0x10ff0ab
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10fefab
test byte [eax + 0x1c], 0x20
je 0x10fefab
cmp byte [eax + 0x19], 2
jb 0x10fefab
push ebx
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
mov edi, 0x80070057
jmp 0x10ff0bb
cmp dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
jbe 0x10fefe6
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
call fcn.010cb861
mov edi, ebx
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x10
dec dword [ebp - 0x34]
movsd dword es:[edi], dword [esi]
jne 0x10fefca
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.0107cb51
mov edi, eax
test edi, edi
jge 0x10ff030
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push 0x1013bc0
push 0x42
jmp 0x10fede5
mov eax, dword [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x10ff05f
test byte [eax + 0x1c], 0x20
je 0x10ff05f
cmp byte [eax + 0x19], 4
jb 0x10ff05f
push dword [ebp - 0x28]
push 0x1013bc0
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push 7
push 0
push 0x1013d3c
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10ff0b6
jle 0x10ff087
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10ff0bb
test byte [eax + 0x1c], 0x20
je 0x10ff0bb
cmp byte [eax + 0x19], 2
jb 0x10ff0bb
push edi
push 0x1013d3c
push 0x1013bc0
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
mov eax, dword [0x111024c]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
je 0x10ff0d5
push dword [ebp - 0x28]
call esi
mov eax, dword [0x111024c]
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x30], ebx
je 0x10ff0e4
push dword [ebp - 0x30]
call esi
mov eax, dword [0x111024c]
cmp dword [ebp - 0x2c], ebx
je 0x10ff0f6
push dword [ebp - 0x2c]
call esi
mov eax, dword [0x111024c]
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x24], ebx
je 0x10ff108
push dword [ebp - 0x24]
call esi
mov eax, dword [0x111024c]
mov dword [ebp - 0x24], ebx
cmp eax, 0x111024c
je 0x10ff12d
test byte [eax + 0x1c], 0x20
je 0x10ff12d
cmp byte [eax + 0x19], 4
jb 0x10ff12d
push 0x1013bc0
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
lea ecx, [ebp - 0x60]
call fcn.010cce56
mov eax, edi
call fcn.0106f8f0
ret 0x10