Function at 0x14001ecc0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140087710]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, rcx
xor r12d, r12d
mov dword [rbp + 0x38], r12d
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
xor edx, edx
lea r8d, [r12 + 0x50]
lea rcx, [rbp + 0xf0]
call fcn.14002e660
xor r8d, r8d
xor edx, edx
lea rcx, str.gdi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [r14], rax
test rax, rax
jne 0x14001ef11
lea rax, [0x140057410]
mov qword [rsp + 0x30], rax
lea rax, [0x140057418]
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x38], 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], r12
lea rcx, [rbp - 0x30]
call fcn.140009fc0
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r12
mov dl, 0x20
lea rcx, [rbp - 0x30]
call fcn.14000bdd0
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], r12
jne 0x14001ede2
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000aae0
nop
lea rax, [rsp + 0x40]
mov qword [rbp + 0x58], rax
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 rax, [rsp + 0x48]
mov qword [rbp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.1400060c0
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], r12
mov dword [rbp - 0x48], r12d
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_Gdi32Handle_is_NULL
lea rcx, [rsp + 0x40]
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rsi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001fa8b
lea rdx, str.D3DKMTOpenAdapterFromGdiDisplayName
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x10], rax
lea rdx, str.D3DKMTOpenAdapterFromDeviceName
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x18], rax
lea rdx, str.D3DKMTEscape
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x38], rax
lea rdx, str.D3DKMTCreateDevice
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x28], rax
lea rdx, str.D3DKMTDestroyDevice
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x30], rax
lea rdx, str.D3DKMTCloseAdapter
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x20], rax
cmp qword [r14 + 0x10], r12
je 0x14001f8ec
cmp qword [r14 + 0x18], r12
je 0x14001f8ec
cmp qword [r14 + 0x38], r12
je 0x14001f8ec
cmp qword [r14 + 0x28], r12
je 0x14001f8ec
cmp qword [r14 + 0x30], r12
je 0x14001f8ec
test rax, rax
je 0x14001f8ec
lea rdx, [rbp + 0xf0]
mov rcx, r14
call fcn.14001fac0
mov edi, eax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.DeviceFound_:
call fcn.1400059b0
mov rcx, rax
mov edx, edi
call fcn.140013570
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rsi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Display_Name_is:
call fcn.1400059b0
mov rcx, rax
lea rdx, [rbp + 0xf0]
call fcn.14000d4a0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
test edi, edi
je 0x14001f175
mov rbx, qword [r14 + 0x10]
mov rcx, rbx
call qword [fcn.14000b400]
lea rcx, [rbp + 0xf0]
call rbx
mov ebx, eax
test eax, eax
je 0x14001f166
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.pfnOpenAdapterFromGDIDisplayName_failed__ntStatus
call fcn.1400059b0
mov rcx, rax
mov edx, ebx
call fcn.140013770
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001fa8b
mov eax, dword [rbp + 0x130]
mov dword [r14 + 0xc], eax
jmp 0x14001f7cf
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Starting_in_Session_0
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rdi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
mov rsi, r12
or r15d, 0xffffffff
mov dword [rbp + 0x58], 0x1ca05180
mov dword [rbp + 0x5c], 0x450aa699
mov dword [rbp + 0x60], 0x4fde0c9a
mov dword [rbp + 0x64], 0x89dd3dbe
lea r9d, [r15 + 0x13]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14001f7c8
mov dword [rbp + 0xb0], SafeArrayAllocDescriptorEx
mov dword [rbp + 0xd0], SafeArrayAllocDescriptorEx
nop dword [rax]
inc r15d
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, [rbp + 0x58]
xor edx, edx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x14001f240
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Enumerated_Device_Count:
call fcn.1400059b0
mov rcx, rax
mov edx, r15d
call fcn.140013570
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
test r15d, r15d
jle 0x14001f7c5
xor ebx, ebx
mov dword [rbp + 0x38], ebx
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x58]
xor edx, edx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x14001f74e
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14001f3c8
lea edx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rbx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.SetupDiGetDeviceInterfaceDetail_Failed
mov rcx, rbx
call fcn.1400059b0
mov rcx, rax
mov edx, edi
call fcn.14000e7e0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rdi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001f54d
test rsi, rsi
je 0x14001f448
cmp dword [rbp + 0x38], ebx
jbe 0x14001f463
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Allocation_of_buffer_required
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
mov rcx, rsi
call fcn.14002acac
mov ecx, dword [rbp + 0x38]
lea rdx, [0x14005d5a8]
call fcn.14002b7d8
mov rsi, rax
test rax, rax
je 0x14001f6e2
mov dword [rsi], 8
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x38]
mov r8, rsi
lea rdx, [rbp + 0xb0]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
jne 0x14001f523
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rbx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.SetupDiGetDeviceInterfaceDetail_Failed
mov rcx, rbx
call fcn.1400059b0
mov rcx, rax
mov edx, edi
call fcn.14000e7e0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rdi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001f54d
lea rdx, str.VEN_8086
lea rcx, [rsi + 4]
call fcn.14002e800
test rax, rax
jne 0x14001f55e
lea rdx, str.ven_8086
lea rcx, [rsi + 4]
call fcn.14002e800
test rax, rax
jne 0x14001f55e
inc r12d
cmp r12d, r15d
jl 0x14001f2e1
jmp 0x14001f7b8
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea r15, [rsi + 4]
lea rdx, str.Intel_Device_Detected:
call fcn.1400059b0
mov rcx, rax
mov rdx, r15
call fcn.14000d4a0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x40], r15
mov rbx, qword [r14 + 0x18]
mov rcx, rbx
call qword [fcn.14000b400]
lea rcx, [rbp + 0x40]
call rbx
mov edx, 1
lea rcx, [rsp + 0x30]
test eax, eax
je 0x14001f676
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.OpenAdapter_failed:
call fcn.1400059b0
mov rcx, rax
mov rdx, r15
call fcn.14000d4a0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001f7b8
mov eax, dword [rbp + 0x48]
mov dword [r14 + 0xc], eax
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.OpenAdapter_success:
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001f7b8
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.Cannot_Allocate_Memory
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001f7c5
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0x64
lea rcx, [rax + 0x10]
lea rdx, str.SetupDiEnumDeviceInterfaces_Failed
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
test rsi, rsi
je 0x14001f7c5
mov rcx, rsi
call fcn.14002acac
xor r12d, r12d
lea rsi, vtable.std::ios_base.0
mov eax, dword [r14 + 0xc]
test eax, eax
jne 0x14001f844
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Failure_to_get_handle_to_adapter
call fcn.1400059b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001fa8b
mov dword [rbp + 0x70], eax
or dword [rbp + 0x78], 1
mov rbx, qword [r14 + 0x28]
mov rcx, rbx
call qword [fcn.14000b400]
lea rcx, [rbp + 0x70]
call rbx
mov ebx, eax
test eax, eax
je 0x14001f8dd
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006500
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.pfnCreateDevice_failed
call fcn.1400059b0
mov rcx, rax
mov edx, ebx
call fcn.140013770
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
jmp 0x14001fa8b
mov ecx, dword [rbp + 0x7c]
mov dword [r14 + 8], ecx
mov eax, r12d
jmp 0x14001fa90
lea rax, [0x140057410]
mov qword [rsp + 0x30], rax
lea rax, [0x140057418]
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x38], 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], r12
lea rcx, [rbp - 0x30]
call fcn.140009fc0
lea rax, [rsp + 0x48]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r12
mov dl, 0x20
lea rcx, [rbp - 0x30]
call fcn.14000bdd0
mov word [rbp + 0x28], ax
cmp qword [rbp + 0x18], 0
jne 0x14001f961
mov edx, dword [rbp - 0x20]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14000aae0
nop
lea rax, [rsp + 0x40]
mov qword [rbp + 0x58], rax
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 rax, [rsp + 0x48]
mov qword [rbp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.1400060c0
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], r12
mov dword [rbp - 0x48], r12d
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.Ones_of_the_retrieved_function_poiters_is_NULL
lea rcx, [rsp + 0x40]
call fcn.1400059b0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14000bdd0
movzx edx, ax
mov rcx, rbx
call fcn.1400129a0
mov rcx, rbx
call fcn.14000b2a0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e4e0
nop
lea rsi, vtable.std::ios_base.0
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x30]
call fcn.14002d15c
nop
mov eax, 0x80004005
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14002ad40
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret