Function at 0x44ae60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
xor eax, eax
push str.LocalDebugView
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], eax
call fcn.00481340
add esp, 8
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x98]
mov dword [ebp - 0x160], edi
test edi, edi
je 0x44aecd
mov ecx, edi
call fcn.004813e0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
push dword [esi + 4]
mov dword [ebp - 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x44b7a9
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x64], ebx
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareSentinelSettingsSntLogView
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x88], eax
call eax
test eax, eax
jne 0x44af3f
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x58]
push 4
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push 0
push 0x511cd0
push ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], eax
call eax
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x58]
push 4
push eax
push 4
push 0
push 0x511cd4
push dword [ebp - 0x94]
mov dword [ebp - 0x58], ebx
call dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
sub eax, esi
mov esi, dword [ebp - 0x5c]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push 0x511cd8
push dword [ebp - 0x94]
call esi
mov eax, dword [ebp - 0x14]
sub eax, ebx
mov ebx, dword [ebp - 0x94]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.Height
push ebx
call esi
mov esi, dword [ebp - 0x70]
push 4
movzx eax, byte [esi + 0x2d8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push 0x511cf4
push ebx
call dword [ebp - 0x5c]
movzx eax, byte [esi + 0x8dc]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.AutoNewLine
push ebx
call dword [ebp - 0x5c]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 3
and eax, 1
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.AlwaysOnTop
push ebx
call dword [ebp - 0x5c]
movzx eax, word [esi + 0x2dc]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.UdpPort
push ebx
call dword [ebp - 0x5c]
movzx eax, byte [esi + 0x2db]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.CaptureODS
push ebx
call dword [ebp - 0x5c]
movzx eax, word [esi + 0x2de]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.LogViewHistory
push ebx
call dword [ebp - 0x5c]
movzx eax, byte [esi + 0x2d9]
push 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0
push str.Hide
push ebx
call dword [ebp - 0x5c]
lea edx, [esi + 0x7d8]
test edx, edx
je 0x44b0d6
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x58], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b0b0
sub ecx, dword [ebp - 0x58]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.FontName
push ebx
call dword [ebp - 0x5c]
push dword [esi + 4]
mov ebx, dword [esi + 0x7bc]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x48
push ebx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ebx, eax
neg ebx
test esi, esi
je 0x44b109
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push 4
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x94]
mov dword [ebp - 0x58], ebx
call esi
push 0x511db4
lea ecx, [ebp - 0x94]
call fcn.0040e850
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x94]
push 0
push 0x2001f
push 0
push 0
push 0
push str.Views
push eax
mov dword [ebp - 0x58], eax
call dword [ebp - 0x88]
test eax, eax
jne 0x44b194
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 0
mov ebx, dword [ebp - 0x70]
push 4
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
push 4
push 0
push str.Current
push dword [ebp - 0x78]
call esi
mov eax, dword [ebx + 0x68]
xor esi, esi
mov dword [ebp - 0x6c], eax
test eax, eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], eax
jle 0x44b4f2
lea eax, [ebp - 0x15c]
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
push 0xb0
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004c6130
mov dword [ebp - 0x15c], 0x51691c
mov dword [ebp - 0x14c], 0x516914
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xf4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x60]
add esp, 4
or eax, 1
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x144]
push eax
call fcn.00405020
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x150], eax
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x160], eax
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x15c]
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 - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x160], eax
lea ecx, [ebp - 0x144]
call fcn.00404e00
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 - 0x10c], 0
mov dword [ebp - 0x108], 0
mov edx, 0x511ddc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00405e40
push esi
lea ecx, [ebp - 0x14c]
call fcn.00405a80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x144]
call fcn.00403e80
or dword [ebp - 0x60], 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x54]
call fcn.00403040
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44b389
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44b37f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44b7c2
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x40], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x70], 0
push ecx
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push dword [ebp - 0x78]
call dword [ebp - 0x88]
test eax, eax
jne 0x44b3e8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x54]
call fcn.00408a80
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.004025a0
cmp esi, dword [ebx + 0x68]
jb 0x44b408
xor eax, eax
jmp 0x44b411
lfence
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x28]
lea ecx, [ebp - 0x28]
add eax, 0x28
push eax
call fcn.00403040
or dword [ebp - 0x60], 0x20
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x44b436
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x44b46e
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x68], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b440
sub eax, dword [ebp - 0x68]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push 0x511de8
push dword [ebp - 0x74]
call dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x44b4a2
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44b498
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44b7c2
push ecx
push edx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov word [ebp - 0x28], ax
cmp esi, dword [ebx + 0x68]
jb 0x44b4b1
xor ecx, ecx
jmp 0x44b4ba
lfence
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x28]
lea eax, [ebp - 0x84]
push eax
call fcn.00425890
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x44b4e1
push eax
call dword [ebp - 0x64]
mov dword [ebp - 0x84], 0
inc esi
mov dword [ebp - 0x80], 0
cmp esi, dword [ebp - 0x6c]
jl 0x44b1d5
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x74], ebx
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.Colors
push dword [ebp - 0x58]
call dword [ebp - 0x88]
test eax, eax
jne 0x44b535
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x15c]
xor esi, esi
mov dword [ebp - 0x9c], eax
push 0xb0
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.004c6130
mov eax, dword [esi*4 + 0x53cc70]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x15c], 0x51691c
mov dword [ebp - 0x14c], 0x516914
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xf4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x60]
add esp, 4
or eax, 0x40
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x144]
push eax
call fcn.00405020
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x150], eax
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x160], eax
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 0x15c]
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 - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x160], eax
lea ecx, [ebp - 0x144]
call fcn.00404e00
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 - 0x10c], 0
mov dword [ebp - 0x108], 0
mov edx, str.Color
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x14c]
call fcn.00405e40
push esi
lea ecx, [ebp - 0x14c]
call fcn.00405a80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x144]
call fcn.00403e80
or dword [ebp - 0x60], 0x600
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x54]
call fcn.00403040
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44b6f4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44b6ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44b7c2
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov ecx, dword [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x40], 8
push 4
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x6c]
push ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push 4
push 0
push eax
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
call fcn.00408a80
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x10
call fcn.004025a0
inc esi
cmp esi, 0x10
jl 0x44b543
test ebx, ebx
je 0x44b755
push ebx
mov ebx, dword [ebp - 0x64]
call ebx
jmp 0x44b758
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x44b762
push eax
call ebx
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x44b76c
push eax
call ebx
test edi, edi
je 0x44b777
push edi
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x44b78d
cmp eax, 0xffffffff
je 0x44b78d
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret
push 0x51b7a0
lea ecx, [ebp - 0x54]
call fcn.004086c0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00480fd0
call fcn.004cecff
int3