Function at 0x100f79b0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101229c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x98
mov dword [ebp - 0x4c], 0
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x54], edx
push edi
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push 0xb
push 0x1013eed4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.1001a860
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x100f7a58
mov eax, dword [eax]
push 1
push 3
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.100e54e0
test al, al
je 0x100f7c8f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100f7a7f
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.100e5310
test al, al
jne 0x100f7c8b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [esi + 0x10]
add eax, dword [ebp - 0x64]
push eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x4c], 1
call fcn.10021790
cmp dword [esi + 0x14], 8
mov edx, esi
mov ecx, dword [esi + 0x10]
jb 0x100f7ad2
mov edx, dword [esi]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x18], esi
cmp ecx, eax
ja 0x100f7b0e
cmp dword [ebp - 0x1c], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x20], edi
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100f7b20
push ecx
push edx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1001f850
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x74]
mov esi, dword [ebp - 0x20]
cmovae edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
sub eax, esi
mov dword [ebp - 0x18], esi
cmp ecx, eax
ja 0x100f7b6a
cmp dword [ebp - 0x1c], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x20], edi
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100f7b7c
push ecx
push edx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1001f850
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x100f7b8a
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1001e7b0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x34]
movq qword [ebp - 0x58], xmm1
movups xmmword [ebp - 0xa8], xmm0
cmp edx, 8
jb 0x100f7c01
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7d4c
push edx
push ecx
call fcn.1007306e
movups xmm0, xmmword [ebp - 0xa8]
add esp, 8
movq xmm1, qword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
movq qword [ebp - 0x38], xmm1
movups xmmword [ebp - 0x48], xmm0
cmp edx, 8
jb 0x100f7c44
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7c3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7d51
push edx
push ecx
call fcn.1007306e
add esp, 8
cmp dword [ebp - 0x34], 8
lea esi, [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
cmovae esi, dword [ebp - 0x48]
cmp dword [edx + 0x14], 8
jb 0x100f7c5a
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f7c60
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100f7c8b
mov dword [ebp - 0x78], eax
jmp 0x100f7c8f
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100f7ca4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x78], 0
cmp edx, 8
jb 0x100f7ce1
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7cd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7d56
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100f7d17
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f7d0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f7d5b
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.100e56f0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
int3