Function at 0x140013c40
Capabilities:
Create thread
Hide graphical window
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ca8]
mov eax, 0x1da8
call fcn.1401b7d00
sub rsp, rax
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x1c90], rax
cmp dword [0x1403bfec8], 0
mov r13, r9
mov r15, qword [rbp + 0x1d00]
mov r12, r8
mov r14, rcx
mov esi, 1
je 0x140013c9f
mov dword [0x1403bfec8], 0
mov dword [0x1403bfec4], esi
cmp dword [0x1403bfecc], 0
je 0x14001428d
cmp dword [0x1403b5dec], 0
jne 0x14001428d
cmp dword [0x1403b5de8], 9
mov eax, dword [0x1403b7e10]
jl 0x140013cd3
cmp eax, esi
je 0x140013cec
cmp eax, 4
je 0x140013cec
jmp 0x140013cd8
cmp eax, 4
je 0x140013ce1
cmp dword [0x1403c38d8], 0
jne 0x140013cec
add eax, 0xfffffffe
cmp eax, esi
ja 0x14001428d
mov qword [rsp + 0x1de8], rbx
mov qword [rsp + 0x1da0], rdi
mov dword [0x1403a9000], esi
call fcn.1400139d0
mov ecx, 0x1c24
lea rdi, [rbp + 0x60]
lea rsi, [0x1403b6600]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rbp + 0x60]
lea r8, [0x1403c0d50]
call fcn.14000b430
mov rbx, 0xffffffffffffffff
lea rax, [0x1403b6604]
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x140013d41
mov dword [rsp + 0x28], 0x104
mov r8, rax
xor edx, edx
mov qword [rsp + 0x20], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.140023780
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str.SHAS2_mode_started_at__s_for__s_on_x64_r_n
mov qword [rsp + 0x20], r15
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
lea r8, [0x1403c0d50]
lea rdx, [0x1403b7604]
lea rcx, vtable.CAutoUpdater.0
call fcn.14000b8e0
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str.__sms_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
mov r9d, dword [0x1403b846c]
lea r8, str.update__d__r_n
mov rcx, qword [0x1403bfd18]
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
lea rcx, [0x1403c38e0]
call fcn.140024bd0
call fcn.14001e1a0
test eax, eax
je 0x140013e2b
lea rcx, [0x1403c3cd0]
call fcn.140024bd0
mov ecx, dword [0x1403b6600]
call fcn.140022180
lea r15, [0x1403c2480]
xor edx, edx
mov rcx, r15
mov r8d, 0x400
call fcn.1401bd240
xor edx, edx
lea rcx, [0x1403c1c80]
mov r8d, 0x400
call fcn.1401bd240
lea r8, str.Initializing...._r_n
mov edx, 0x400
mov rcx, r15
call fcn.1401c9cb4
mov eax, dword [0x1403c38dc]
mov esi, 1
cmp byte [0x1403b7e08], 0
mov rcx, r14
cmove eax, esi
mov dword [0x1403c38dc], eax
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, r12
mov rcx, r14
mov rdi, rax
call qword [sym.imp.USER32.dll_EndPaint]
mov r8d, esi
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, rbx
inc r8
cmp byte [r15 + r8], 0
jne 0x140013ee2
mov r9, r13
mov dword [rsp + 0x20], esi
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov edx, esi
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, r14
call fcn.140013730
mov dword [0x1403b5dec], esi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140025070
lea rax, [0x1403b84b8]
mov qword [0x1403b84b0], rax
call fcn.14001e560
mov ecx, 0x1c24
lea rdi, [rbp + 0x60]
lea rsi, [0x1403b6600]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rbp + 0x60]
lea r8, [0x1403c0d50]
call fcn.14000b430
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str.Monitor_Started_at__s_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
call fcn.14001f1b0
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
cmp dword [0x1403bfec4], 0
je 0x140013fd3
mov rcx, qword [0x1403bfd18]
lea r8, str.AUTOMATED_MODE__r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1401bd240
xor esi, esi
lea rcx, [rbp + 0x60]
xor edx, edx
mov dword [rsp + 0x30], esi
mov r8d, 0xff
xor dil, dil
call fcn.1401bd240
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteamActiveProcess
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014118
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ActiveUser
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001409e
mov r8d, dword [rsp + 0x30]
lea rdx, [0x14026bd04]
shr r8d, 1
lea rcx, [rbp + 0x60]
mov dil, 1
call fcn.140028fe0
lea r8, [rbp + 0x60]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.1401c9a7c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140014118
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x208
call fcn.1401bd240
lea rax, [rsp + 0x50]
mov r9, rbx
inc r9
cmp byte [rax + r9], sil
jne 0x1400140c7
lea rax, [rbp + 0x60]
mov dword [rsp + 0x28], 0x104
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x1403bfd18]
lea r9, [rbp + 0x60]
lea r8, str.SteamId:__s_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
lea r8, [0x1403c0d50]
lea rdx, [0x1403b7604]
lea rcx, vtable.CAutoUpdater.0
call fcn.14000b8e0
mov rcx, qword [0x1403bfd18]
lea r9, [0x1403c0d50]
lea r8, str._r_n_sms_r_n
mov edx, 0x104
call fcn.140008670
mov rcx, qword [0x1403bfd18]
call fcn.140024bd0
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1403b6604]
mov rcx, r15
lea rdx, str._s_Capture_is_running....
call fcn.140014f10
lea r9, [0x1403b84e4]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400128f0]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r9, [0x1403b84e0]
mov qword [rsp + 0x28], rsi
lea r8, [0x140015380]
mov qword [0x1403b84f0], rax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [0x1403b84f0], rsi
mov qword [0x1403b84e8], rax
jne 0x1400141fb
xor r9d, r9d
lea r8, [0x140267250]
lea rdx, str.Failed_to_start_Monitoring_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x1403b5dec], esi
jmp 0x14001427d
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r14
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, r12
mov rcx, r14
mov rdi, rax
call qword [sym.imp.USER32.dll_EndPaint]
mov esi, 1
xor edx, edx
mov r8d, esi
mov rcx, r14
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140014246
mov r8, rbx
mov dword [rsp + 0x20], esi
mov r9, r13
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov edx, 7
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0x1de8]
mov rdi, qword [rsp + 0x1da0]
mov rcx, qword [rbp + 0x1c90]
xor rcx, rsp
call fcn.1401b7280
add rsp, 0x1da8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret