Function at 0x140011030
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r15
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ebx, ebx
mov dword [rsp + 0x58], ebx
cmp rax, 0xffffffffffffffff
je 0x1400110a0
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x57]
mov rcx, rax
lea rdx, str.OOPWinPipeServer_ShowVisualizerWindowAndSelectVisualizer__and_place_on_top_of_Z_order__n
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400110a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi + 8]
lea rdx, [rbp + 0x60]
mov rax, qword [rsi + 0x28]
sub ecx, 4
mov qword [rsp + 0x48], rcx
add rax, 4
mov qword [rsp + 0x3b0], r12
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x3b8], r13
mov qword [rsp + 0x370], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
call fcn.14000c530
movzx r15d, word [rbp + 0x60]
test r15w, r15w
jne 0x140011143
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], ebx
cmp rax, 0xffffffffffffffff
je 0x140011135
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
mov r8d, 0x6d
lea rdx, str.OOPWinPipeServer::ShowVisualizerWindowAndSelectVisualizer:_visualizer_name_is_empty..._dumping_input_buffer._n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011135
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsi + 0x28]
call fcn.140009980
jmp 0x1400115c8
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
lea rax, [r14 + 1]
cmp rax, r12
jbe 0x14001119f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], ebx
cmp rax, 0xffffffffffffffff
je 0x1400111a7
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
mov r8d, 0x20
lea rdx, str.Buffer_underflow_reading_uint8_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400111a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400111a7
mov r14, rax
mov qword [rsp + 0x50], rax
cmp qword [rsi + 0xf0], rbx
je 0x140011581
lea rcx, [rsi + 0x78]
xor r13b, r13b
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400111ce
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov rcx, qword [rsi + 0xf0]
mov edx, 5
mov qword [rsp + 0x3a8], rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0xf0]
xor r9d, r9d
mov dword [rsp + 0x30], 0xb
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, qword [rsi + 0xc8]
mov rdi, qword [rsi + 0xd0]
cmp rbx, rdi
jne 0x140011270
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r15d, r15d
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x140011294
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
lea r8d, [r15 + 0x6b]
mov rcx, rax
lea rdx, str.List_of_plugins_is_empty_at_a_time_when_we_want_to_select_a_visualizer:plugin_discovery_has_not_completed._n
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011294
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140011294
mov rcx, qword [rbx]
lea rdx, [rbp + 0x62]
movzx r8d, r15w
call fcn.14000a040
test al, al
jne 0x140011381
add rbx, 8
cmp rbx, rdi
jne 0x140011270
xor r15d, r15d
lea r8, str.OOPWinPipeServer:Could_not_find_visualizer_to_activate_n
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x1400112ff
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r13b
jne 0x1400112d4
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400112ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
mov rcx, rsi
call fcn.1400105f0
cmp r14, r12
jae 0x1400114c4
mov rax, r12
sub rax, r14
cmp rax, 4
jbe 0x1400114c4
lea rcx, [r14 + 4]
cmp rcx, r12
jbe 0x1400113fa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x140011378
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011378
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x58]
jmp 0x140011408
lea r8, str.OOPWinPipeServer::found_visualizer_to_activate_n
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.1400096e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r15d, r15d
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x1400113ef
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r13b
jne 0x1400113c4
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400113ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx]
mov r13b, 1
jmp 0x140011302
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov eax, dword [r14 + rax]
cmp eax, 0x464c4154
jne 0x1400114c4
mov ecx, 0x1690
call fcn.14019d258
xor edx, edx
mov qword [rsp + 0x58], rax
mov r8d, 0x1688
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov qword [rbx + 0x1688], 0
lea rcx, [rsi + 0xe0]
call fcn.140015ce0
mov rcx, qword [rsi + 0xe0]
lea rdx, [rsp + 0x40]
call fcn.14000f140
test al, al
je 0x1400114c4
mov ecx, dword [rsi + 0x64]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80c8
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x1400114c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x1400114c4
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r8d, 0x38
lea rdx, str.Could_not_post_MESSAGE_START_VISUALIZER_to_main_thread._n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400114c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x78]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdi, qword [rsp + 0x3a8]
test eax, eax
je 0x1400114e3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
cmp r13b, 1
jne 0x1400115c8
mov ecx, 0x10
call fcn.14019d258
mov qword [rsp + 0x58], rax
mov r9, rax
xor r8d, r8d
mov edx, 0x80ca
mov rbx, rax
mov qword [rax], 0
mov qword [rax + 8], 0
mov ecx, dword [rsi + 0x64]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x1400115c8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r15d
cmp rax, 0xffffffffffffffff
je 0x140011572
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r8d, 0x4a
lea rdx, str.OOPWinPipeServer:_Could_not_post_MESSAGE_ACTVT_VISUALIZER_to_main_thread._n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011572
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x10
mov rcx, rbx
call fcn.14019d294
jmp 0x1400115c8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], ebx
cmp rax, 0xffffffffffffffff
je 0x1400115c8
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
mov r8d, 0x33
lea rdx, str.OOPWinPipeServer_ShowVisualizerWindow:_no_mOOPWind_n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400115c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsi + 0x30]
lea r9, [rsi + 0x60]
mov r8d, 2
mov byte [rax], 0x4f
mov rax, qword [rsi + 0x30]
mov byte [rax + 1], 0x4b
lea rax, [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r14, qword [rsp + 0x370]
cmp eax, 1
mov r13, qword [rsp + 0x3b8]
mov r12, qword [rsp + 0x3b0]
sete al
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14019ce50
add rsp, 0x378
pop r15
pop rsi
pop rbx
pop rbp
ret