Function at 0x100a78f0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022cb9a
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
xor edi, edi
mov dword [ebp - 0x7c], esi
movups xmm0, xmmword [str.RegName]
mov eax, dword [0x10237598]
mov dword [ebp - 0x1c], eax
movzx eax, word [0x1023759c]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x18], ax
movq xmm0, qword [str.RegKey]
movzx eax, word [0x102375b0]
movq qword [ebp - 0x24], xmm0
movups xmm0, xmmword [str.ExtraLic]
mov word [ebp - 0x38], ax
mov dword [ebp - 0x88], edi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x90], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x7c], edi
push eax
lea eax, [ebp - 0x7c]
push eax
push edi
push 0x103
push edi
push edi
push edi
push str.SoftwareSoftactivityActivity_Monitor
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x100a79ca
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 0x100
xor eax, eax
mov byte [ebp - 4], 1
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x100a7fdf
push eax
push 0x104
lea ecx, [ebp - 0x60]
call fcn.1007a4e0
cmp dword [ebp - 0x4c], 7
lea eax, [ebp - 0x8c]
push eax
lea edi, [ebp - 0x60]
mov byte [ebp - 4], 3
cmova edi, dword [ebp - 0x60]
lea eax, [ebp - 0x94]
push edi
push eax
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x8c], 0x208
push eax
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a7f7b
cmp eax, 2
jne 0x100a7f9d
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push 0x103
push 0
push str.SoftwareSoftactivityActivity_Monitor
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x100a7a8f
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0x100
xor eax, eax
mov byte [ebp - 4], 4
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x100a7f68
push eax
push 0x104
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x84], 0x104
call fcn.10064390
cmp dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10090aa0
test eax, eax
jne 0x100a7f68
cmp dword [ebp - 0x84], eax
jbe 0x100a7f68
cmp dword [ebp - 0x4c], 7
lea edx, [ebp - 0x60]
jbe 0x100a7b05
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x100a7b05
lea eax, [edx + 0xd]
jmp 0x100a7b3c
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a7b10
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], ecx
test ecx, ecx
je 0x100a7f68
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0
push 0x104
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x84], 0x104
call fcn.10064390
cmp dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10090aa0
test eax, eax
jne 0x100a7c24
cmp dword [ebp - 0x84], eax
jbe 0x100a7c24
cmp dword [ebp - 0x4c], 7
lea edx, [ebp - 0x60]
jbe 0x100a7bcc
mov edx, dword [ebp - 0x60]
test edx, edx
jne 0x100a7bcc
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], eax
jmp 0x100a7c24
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a7bd1
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], ecx
test eax, eax
jne 0x100a7c24
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
mov dword [ebp - 0x8c], edi
cmp edi, 0x64
jge 0x100a7f68
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x160], 0x10236b90
mov dword [ebp - 0x150], 0x10236b98
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 6
or esi, 2
lea ecx, [ebp - 0x160]
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov eax, dword [ebp - 0x160]
mov dword [ebp - 4], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.1004eb30
add esp, 8
mov ecx, eax
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
push 0
push 0x104
lea ecx, [ebp - 0x60]
call fcn.10064390
cmp dword [ebp - 0x4c], 7
lea eax, [ebp - 0x78]
lea edi, [ebp - 0x60]
cmova edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x148]
push eax
call fcn.10080510
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0x208
push ecx
push edi
or esi, 5
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x64], 7
lea eax, [ebp - 0x78]
push ecx
cmova eax, dword [ebp - 0x78]
push 0
push eax
push dword [ebp - 0xa0]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a7d94
mov eax, dword [ebp - 0x94]
cmp eax, 1
je 0x100a7d62
cmp eax, 2
jne 0x100a7d94
mov ecx, dword [ebp - 0x84]
test edi, edi
je 0x100a7d88
test ecx, ecx
je 0x100a7d83
test cl, 1
jne 0x100a7d94
mov eax, ecx
shr eax, 1
cmp word [edi + eax*2 - 2], 0
je 0x100a7d88
jmp 0x100a7d94
xor eax, eax
mov word [edi], ax
mov byte [ebp - 0x7d], 1
test ecx, 0xfffffffe
ja 0x100a7d98
mov byte [ebp - 0x7d], 0
mov eax, dword [ebp - 0x7c]
test al, 1
je 0x100a7de1
mov ecx, dword [ebp - 0x64]
and eax, 0xfffffffe
mov dword [ebp - 0x7c], eax
cmp ecx, 7
jbe 0x100a7de1
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7dd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7dd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
cmp byte [ebp - 0x7d], 0
je 0x100a7f5d
cmp dword [ebp - 0x4c], 7
lea eax, [ebp - 0x78]
lea edi, [ebp - 0x60]
cmova edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x148]
push eax
call fcn.10080510
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x64]
or esi, 8
mov ecx, dword [ebp - 0x78]
cmp edx, 7
cmova eax, ecx
mov dword [ebp - 0x7c], eax
test edi, edi
jne 0x100a7e28
mov edi, 0xd
jmp 0x100a7e63
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a7e30
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0x7c]
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x64]
mov edi, eax
mov ecx, dword [ebp - 0x78]
cmp edx, 7
jbe 0x100a7e99
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7e8f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7e8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b9c1b
add esp, 8
test edi, edi
jne 0x100a7f03
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x148]
call fcn.10080510
or esi, 0x10
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 7
cmova eax, dword [ebp - 0x78]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x100a7f03
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7ef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7ef9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov eax, dword [ebp - 0x160]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.100819c0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0x8c]
inc edi
jmp 0x100a7c26
lea ecx, [ebp - 0x160]
call fcn.10099eb0
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x100a7f9d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100a7f9d
mov eax, dword [ebp - 0x94]
cmp eax, 1
je 0x100a7f8b
cmp eax, 2
jne 0x100a7f9d
test edi, edi
je 0x100a7f9d
cmp dword [ebp - 0x8c], 0
jne 0x100a7f9d
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x100a7fd9
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7fcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7fcf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x100a7ff0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret