Function at 0x1008f5d7
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x1018696d
call fcn.10145d80
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x1008f5f6
xor eax, eax
jmp 0x1008f8f4
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x34]
jmp 0x1008f8d8
push eax
lea ecx, [ebp + 8]
call fcn.10056fc1
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x1008f892
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xac]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.10007b11
push str.subkey
push dword [ebp - 0x20]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x1008f6c2
mov eax, dword [0x101f3028]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0x101a34dc
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.10127155
add esp, 0xc
push 0x1019fce4
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push eax
call fcn.10007b6e
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.100100f8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.10003b75
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call fcn.1008f5d7
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x28]
jmp 0x1008f87c
mov esi, str.value
push esi
push dword [ebp - 0x20]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x1008f920
mov eax, dword [0x101f3028]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x101a34dc
push dword [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.10127155
lea eax, [ebp - 0x1c]
push eax
push 0x101a2768
push dword [ebp + 8]
call fcn.10127155
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call fcn.10127155
push str.REG_SZ
push dword [ebp - 0x1c]
call fcn.10005373
add esp, 0x2c
test eax, eax
jne 0x1008f737
push dword [ebp - 0x14]
jmp 0x1008f855
push str.REG_DWORD
push dword [ebp - 0x1c]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x1008f77a
lea eax, [ebp - 0x28]
push eax
push 0x101aa2b8
push dword [ebp - 0x14]
mov dword [ebp - 0x28], ebx
call fcn.10149ce1
push dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
call fcn.1011f80c
add esp, 0x1c
jmp 0x1008f869
push str.REG_BINARY
push dword [ebp - 0x1c]
call fcn.10005373
test eax, eax
pop ecx
pop ecx
jne 0x1008f850
lea ecx, [ebp - 0x30]
call fcn.10116843
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], ebx
call fcn.1000401e
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.10144fc2
mov esi, eax
cmp esi, ebx
pop ecx
je 0x1008f8fc
lea eax, [edi + 1]
push eax
push ebx
push esi
call fcn.10146c80
add esp, 0xc
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x14]
call fcn.1000401e
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1008f7f9
sub eax, edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.101169de
push esi
mov edi, eax
call fcn.10145563
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
pop ecx
push dword [ebp - 0x2c]
mov ecx, 0x101f8c08
push edi
push 3
push dword [ebp - 0x18]
push eax
call fcn.10016a41
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
call fcn.10146bbe
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.10116849
jmp 0x1008f869
push 0x1019f188
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
call fcn.1011f852
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x20]
call fcn.10003b75
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.10025a2a
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x1008f8b1
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x40]
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 1
call dword [eax + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1008f8d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x1008f60b
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1008f8f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
call fcn.10145e58
ret 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.10116849
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x20]
call fcn.10003b75
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1008f941
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1008f5ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1008f5ef