Function at 0x140015180
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov r13, r8
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x38], 0x78
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x3c]
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0xd0]
call fcn.140001d10
nop
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x140015402
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x1400152fc
lea edx, [r12 + 2]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0xf0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov r11, qword [rsi]
mov rcx, rsi
call qword [r11 + 0x18]
mov rbx, rax
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0xf0]
call fcn.140002150
mov rcx, rax
lea rdx, str.Watcher.Filter:
call fcn.1400023c0
mov rcx, rax
mov rdx, rbx
call fcn.140002150
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], 8
cmovae r8, qword [rsp + 0x3f8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x408]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x140015402
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x140015402
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0xf0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0xf0]
call fcn.140002150
mov rcx, rax
lea rdx, str.Event:
call fcn.1400023c0
mov rcx, rax
mov rdx, r13
call fcn.140019cf0
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], 8
cmovae r8, qword [rsp + 0x3f8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x408]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
nop
mov r15, qword [r14 + 0x48]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x3f0], rsi
mov qword [rsp + 0x3f8], r13
mov dword [rsp + 0x400], 1
mov rax, qword [r13 + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 4]
mov r8, qword [r13 + 0x18]
mov edx, dword [r13]
xor ecx, ecx
call fcn.140007bc0
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140015493
mov dword [rsp + 0x3c0], 8
lea rax, str.CatchedProcess::create
mov qword [rsp + 0x3c8], rax
movaps xmm0, xmmword [rsp + 0x3c0]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + 0x30]
mov rdx, rax
mov rcx, r14
call fcn.1400131f0
mov edx, eax
test eax, eax
jne 0x1400154ec
mov dword [rsp + 0x3c0], 0x32
lea rax, str.ProcessMonitor::DetectBrowser
mov qword [rsp + 0x3c8], rax
movaps xmm0, xmmword [rsp + 0x3c0]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [0x1402617e8]
test al, 1
jne 0x140015520
or eax, 1
mov dword [0x1402617e8], eax
lea rcx, [0x1402615f0]
call fcn.14001bbf0
lea rcx, [0x1401b3b30]
call fcn.1401557b0
lea rcx, [0x1402615f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx edi, byte [0x140261618]
lea rcx, [0x1402615f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test dil, dil
jne 0x1400156c3
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x140015645
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x140015645
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0xf0]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + r8 + 0xf0]
mov r8, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0xf0]
call fcn.140002150
lea rdx, str.Our_product_is_not_main
mov rcx, rax
call fcn.1400023c0
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3c8]
cmp qword [rsp + 0x3e0], 8
cmovae r8, qword [rsp + 0x3c8]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x3d8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
nop
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rax, qword [rsi]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x40]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
nop
mov qword [rsp + 0x48], r13
lea rbx, [r15 + 0xb0]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [r15 + 0x70]
lea rdx, [rsp + 0x48]
call fcn.1400177b0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xd0]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140015b0d
mov rdx, rbx
mov rcx, r14
call fcn.1400132a0
test al, al
je 0x1400159a3
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x1400157e7
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x1400157e7
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0x2d0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + rdx + 0x2d0]
mov r8, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x18]
mov edi, eax
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0x2d0]
call fcn.140002150
lea rdx, str.Process_accepted:
mov rcx, rax
call fcn.1400023c0
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x448]
cmp qword [rsp + 0x460], 8
cmovae r8, qword [rsp + 0x448]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x458]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
lea r15, [r14 + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov edi, eax
mov ecx, 0x98
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140015843
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
mov edx, edi
mov rcx, rax
call fcn.14000e7a0
mov rdi, rax
jmp 0x140015846
mov rdi, r12
mov qword [rsp + 0x50], rdi
test rdi, rdi
jne 0x14001588f
mov dword [rsp + 0x3c0], 8
lea rax, str.ProcessCatcher::create
mov qword [rsp + 0x3c8], rax
movaps xmm0, xmmword [rsp + 0x3c0]
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll__CxxThrowException
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
jne 0x1400158dd
mov dword [rsp + 0x3c0], 8
lea rax, str.ProcessCatcher::Start
mov qword [rsp + 0x3c8], rax
movaps xmm0, xmmword [rsp + 0x3c0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x30], rdi
mov rcx, qword [r14 + 0x48]
add rcx, 0x30
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x3c0]
call fcn.140017580
mov qword [rsp + 0x30], rbx
mov rcx, qword [r14 + 0x48]
add rcx, 0x140
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x3c0]
call fcn.140017580
mov r15, rbx
mov rbx, r12
mov qword [rsp + 0x58], rbx
mov rax, qword [r14 + 0x48]
mov qword [rsp + 0x40], rax
lea rdi, [rax + 0x1c0]
mov qword [rsp + 0x3c0], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
add rcx, 0x180
lea rdx, [rsp + 0x30]
call fcn.140017970
mov qword [rax], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x140015010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll__beginthreadex]
nop
jmp 0x140015ab4
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x140015ab4
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x140015ab4
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0x1e0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + rdx + 0x1e0]
mov r8, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x18]
mov edi, eax
lea rdx, str._ProcessMonitor::OnProcessStarted_
lea rcx, [rsp + 0x1e0]
call fcn.140002150
lea rdx, str.Process_declined:
mov rcx, rax
call fcn.1400023c0
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [rsp + 0x418]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x420]
cmp qword [rsp + 0x438], 8
cmovae r8, qword [rsp + 0x420]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x430]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x418]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x3c], 1
test rbx, rbx
je 0x140015ad4
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rax, qword [rsi]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x40]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x68]
call fcn.140017d80
nop
lea rcx, [rsp + 0xd0]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140155650
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret