Function at 0x140012e10
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.1401b24e0
sub rsp, rax
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rbp + 0x1c90], rax
cmp dword [0x1403874b8], 0
mov r13, r9
mov r14, qword [rbp + 0x1d00]
mov r12, r8
mov r15, rcx
mov esi, 1
je 0x140012e6f
mov dword [0x1403874b8], 0
mov dword [0x1403874b4], esi
cmp dword [0x1403874bc], 0
je 0x14001350a
cmp dword [0x14037d40c], 0
jne 0x14001350a
cmp dword [0x14037d408], 9
mov eax, dword [0x14037f430]
jl 0x140012ea3
cmp eax, esi
je 0x140012ebc
cmp eax, 4
je 0x140012ebc
jmp 0x140012ea8
cmp eax, 4
je 0x140012eb1
cmp dword [0x14038ac98], 0
jne 0x140012ebc
add eax, 0xfffffffe
cmp eax, esi
ja 0x14001350a
cmp dword [0x140387c44], 0
mov qword [rsp + 0x1de8], rbx
mov qword [rsp + 0x1da0], rdi
mov dword [0x14036fbc0], esi
je 0x140012f80
lea r14, [0x140389860]
mov edx, 0x400
mov rcx, r14
lea r8, str.Exit_MOSS_and_restart_it_to_run_a_new_monitoring_session....
call fcn.1401c0788
mov rcx, r15
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, r12
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_EndPaint]
mov r8d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140012f50
mov r8, rbx
mov dword [rsp + 0x20], esi
mov r9, r13
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov edx, esi
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400134fa
mov dword [0x140387c44], esi
call fcn.140012ba0
mov ecx, 0x1c24
lea rdi, [rbp + 0x60]
lea rsi, [0x14037dc20]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rbp + 0x60]
lea r8, [0x140388130]
call fcn.14000a820
mov rbx, 0xffffffffffffffff
lea rax, [0x14037dc24]
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x140012fc5
mov dword [rsp + 0x28], 0x104
mov r8, rax
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.14001f8a0
mov rcx, qword [0x140387308]
lea r9, [0x140388130]
lea r8, str.SHAS2_mode_started_at__s_for__s_on_x64_r_n
mov qword [rsp + 0x20], r14
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
lea r8, [0x140388130]
lea rdx, [0x14037ec24]
call fcn.14000acd0
mov rcx, qword [0x140387308]
lea r9, [0x140388130]
lea r8, str.__sms_r_n
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
mov r9d, dword [0x14037fad0]
lea r8, str.update__d__r_n
mov rcx, qword [0x140387308]
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
lea rcx, [0x14038aca0]
call fcn.140020970
call fcn.14001aea0
test eax, eax
je 0x1400130a8
lea rcx, [0x14038b090]
call fcn.140020970
call fcn.14001e9a0
lea r14, [0x140389860]
xor edx, edx
mov rcx, r14
mov r8d, 0x400
call fcn.1401b5d40
xor edx, edx
lea rcx, [0x140389060]
mov r8d, 0x400
call fcn.1401b5d40
lea r8, str.Initializing...._r_n
mov edx, 0x400
mov rcx, r14
call fcn.1401c09c0
mov eax, dword [0x14038ac9c]
mov esi, 1
cmp byte [0x14037f428], 0
mov rcx, r15
cmove eax, esi
mov dword [0x14038ac9c], eax
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, r12
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_EndPaint]
mov r8d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140013160
mov r9, r13
mov dword [rsp + 0x20], esi
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov edx, esi
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, r15
call fcn.140012900
mov dword [0x14037d40c], esi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140020e10
lea rax, [0x14037faa8]
mov qword [0x14037faa0], rax
call fcn.14001b260
mov ecx, 0x1c24
lea rdi, [rbp + 0x60]
lea rsi, [0x14037dc20]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rbp + 0x60]
lea r8, [0x140388130]
call fcn.14000a820
mov rcx, qword [0x140387308]
lea r9, [0x140388130]
lea r8, str.Monitor_Started_at__s_r_n
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
call fcn.14001b9d0
mov rcx, qword [0x140387308]
call fcn.140020970
cmp dword [0x1403874b4], 0
je 0x140013251
mov rcx, qword [0x140387308]
lea r8, str.AUTOMATED_MODE__r_n
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1401b5d40
xor esi, esi
lea rcx, [rbp + 0x60]
xor edx, edx
mov dword [rsp + 0x30], esi
mov r8d, 0xff
xor dil, dil
call fcn.1401b5d40
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 0x140013396
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 0x14001331c
mov r8d, dword [rsp + 0x30]
lea rdx, [0x14025ed9c]
shr r8d, 1
lea rcx, [rbp + 0x60]
mov dil, 1
call fcn.140024bb0
lea r8, [rbp + 0x60]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.1401c0788
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140013396
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x208
call fcn.1401b5d40
lea rax, [rsp + 0x50]
mov r9, rbx
inc r9
cmp byte [rax + r9], sil
jne 0x140013345
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 [0x140387308]
lea r9, [rbp + 0x60]
lea r8, str.SteamId:__s_r_n
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
lea r8, [0x140388130]
lea rdx, [0x14037ec24]
call fcn.14000acd0
mov rcx, qword [0x140387308]
lea r9, [0x140388130]
lea r8, str._r_n_sms_r_n
mov edx, 0x104
call fcn.140007b10
mov rcx, qword [0x140387308]
call fcn.140020970
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x14037dc24]
mov rcx, r14
lea rdx, str._s_Capture_is_running....
call fcn.140014120
lea r9, [0x14037fad8]
mov qword [rsp + 0x28], rsi
lea r8, [0x140011b10]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r9, [0x14037fad4]
mov qword [rsp + 0x28], rsi
lea r8, [0x140014590]
mov qword [0x14037fae8], rax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [0x14037fae8], rsi
mov qword [0x14037fae0], rax
jne 0x140013472
xor r9d, r9d
lea r8, [0x14025a9c8]
lea rdx, str.Failed_to_start_Monitoring_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x14037d40c], esi
jmp 0x1400134fa
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r15
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, r12
mov rcx, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_EndPaint]
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], sil
jne 0x1400134c0
mov r8, rbx
mov dword [rsp + 0x20], 1
mov r9, r13
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov edx, 7
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
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.1401b1a60
add rsp, 0x1da8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret