Function at 0x1400274c0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov r14, rcx
xor ebx, ebx
mov dword [rbp + 0xb0], ebx
call fcn.14001d250
mov qword [r14], rax
test rax, rax
jne 0x14002771b
lea r12, [0x14004d9b0]
mov qword [rsp + 0x30], r12
lea r13, [0x14004d9b8]
mov qword [rsp + 0x40], r13
mov dword [rbp + 0xb0], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x30]
call fcn.14000b4a0
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x30]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov rdi, rax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140027592
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140027592
mov r8, qword [rax]
lea edx, [rbx + 1]
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
mov dl, 0x20
mov rcx, rdi
call qword [rax + 0x60]
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], 0
jne 0x1400275bb
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000bc10
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0xa
lea rdx, str.Create_Excape_Call_failed
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
lea rdx, [rbp + 0xb0]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov rdi, rax
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x1400276d5
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x1400276d5
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
mov dl, 0xa
mov rcx, rdi
call qword [rax + 0x60]
movzx edx, ax
mov rcx, rbx
call fcn.140012800
mov rcx, rbx
call fcn.14000c310
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
lea r15, vtable.std::ios_base.0
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov edi, 0x80004005
jmp 0x14002812f
mov rcx, r14
call fcn.140029ba0
mov edi, eax
lea r12, [0x14004d9b0]
lea r13, [0x14004d9b8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r13
test eax, eax
jns 0x1400278d4
mov dword [rbp + 0xb0], 0x20
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x30]
call fcn.14000b4a0
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x30]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov rsi, rax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1400277bd
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x1400277bd
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rsi]
mov dl, 0x20
mov rcx, rsi
call qword [rax + 0x60]
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], 0
jne 0x1400277e6
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000bc10
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0xa
lea rdx, str.QueryForLSPCON_failed
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
lea r15, vtable.std::ios_base.0
jmp 0x140027eb3
cmp dword [r14 + 0x18], ebx
jne 0x1400279f0
mov eax, 0x400
mov dword [rbp + 0xb0], eax
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.14000c410
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0xa
lea rdx, str.LSPCON_not_detected
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
jmp 0x140027b05
mov dword [r14 + 0x70], 1
mov eax, 0x8000
mov dword [rbp + 0xb0], eax
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.14000c410
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0x64
lea rdx, str.LSPCON_detected
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
lea r15, vtable.std::ios_base.0
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov esi, ebx
lea rdi, [r14 + 0x28]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x140027ecd
inc esi
add rdi, 8
cmp esi, 5
jl 0x140027b30
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x50], rax
test rax, rax
jne 0x140027d06
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r13
or dword [rbp + 0xb0], 0x2000000
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x30]
call fcn.14000b4a0
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x30]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov rdi, rax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140027bf6
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140027bf6
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
mov dl, 0x20
mov rcx, rdi
call qword [rax + 0x60]
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], 0
jne 0x140027c1f
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000bc10
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0xa
lea rdx, str.m_hTaskDone_CreateEvent_failed
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
jmp 0x140027704
mov rcx, r14
call fcn.140026fa0
mov edi, eax
test eax, eax
jns 0x140027d91
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.InitOPMPath_Failed_hr_:
call fcn.140007450
mov rcx, rax
test rax, rax
je 0x140027d50
mov rax, qword [rax]
movsxd rbx, dword [rax + 4]
add rbx, rcx
and dword [rbx + 0x18], 0xfffff9ff
or dword [rbx + 0x18], 0x800
mov edx, edi
call fcn.140013560
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov rcx, r14
call fcn.140025040
jmp 0x140027ec0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov r9, r14
lea r8, [0x140029710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0x58], rax
test rax, rax
jne 0x140027df6
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Create_listening_thread_failed
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
jmp 0x140027704
call fcn.140005700
mov qword [r14 + 0x10], rax
test rax, rax
jne 0x140027e72
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.InitializeHDCPEventHandler_Failed_hr_:
call fcn.140007450
mov rcx, rax
test rax, rax
je 0x140027e3e
mov rax, qword [rax]
movsxd rbx, dword [rax + 4]
add rbx, rcx
and dword [rbx + 0x18], 0xfffff9ff
or dword [rbx + 0x18], 0x800
mov edx, edi
call fcn.140013560
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov byte [r14 + 0x64], 1
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Init_Successful_
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
test edi, edi
jne 0x14002812f
jmp 0x140028185
mov edi, 0x80004005
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r13
or dword [rbp + 0xb0], 0x100000
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], 0x88
mov qword [rsp + 0x38], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x18], 0x201
movdqa xmm0, xmmword [0x14004fe10]
movdqu xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000bc10
mov ecx, 8
call fcn.14002efa4
mov r12, rax
test rax, rax
je 0x140027f57
xor eax, eax
mov qword [r12], rax
mov cl, 1
call fcn.140044c50
mov qword [r12], rax
jmp 0x140027f5a
mov r12, rbx
mov qword [rbp + 0x10], r12
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x30]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov r12, rax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140027fac
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140027fac
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [r12]
mov dl, 0x20
mov rcx, r12
call qword [rax + 0x60]
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], 0
jne 0x140027fd6
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000bc10
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x2c], edx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.140007a80
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x2c], edx
mov dword [rbp - 0x40], 0xa
lea rdx, str.m_hEvents_creation_failed___number_:
lea rcx, [rsp + 0x40]
call fcn.140007450
mov rcx, rax
mov edx, esi
call fcn.1400133c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
lea rdx, [rbp + 0xb0]
call fcn.14000c3e0
nop
mov rcx, rax
call fcn.140007840
mov rsi, rax
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x1400280fa
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x1400280fa
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rsi]
mov dl, 0xa
mov rcx, rsi
call qword [rax + 0x60]
movzx edx, ax
mov rcx, rbx
call fcn.140012800
mov rcx, rbx
call fcn.14000c310
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007eb0
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Init_Failed_
call fcn.140007450
mov rcx, rax
call fcn.140013110
nop
lea rcx, [rbp - 0x30]
call fcn.14000e990
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x30]
call fcn.140044fb8
mov rcx, qword [r14]
test rcx, rcx
je 0x140028185
call fcn.14001d3c0
mov eax, edi
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret