Function at 0x1400104b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r15
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x1401fa010]
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 0x140010520
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 0x140010520
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 + 0x3a8], rdi
add rax, 4
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x3b0], r12
mov qword [rsp + 0x3b8], r13
mov qword [rsp + 0x370], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbx
call fcn.14000ba20
movzx r15d, word [rbp + 0x60]
test r15w, r15w
jne 0x1400105cb
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 0x1400105bd
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 0x1400105bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsi + 0x28]
call fcn.140008e70
jmp 0x140010a24
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
lea rax, [rdi + 1]
cmp rax, r12
jbe 0x140010627
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 0x14001062f
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 0x14001062f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001062f
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp qword [rsi + 0xf0], rbx
je 0x1400109dd
lea rcx, [rsi + 0x78]
xor r13b, r13b
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140010656
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
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 r14, qword [rsi + 0xd0]
cmp rbx, r14
jne 0x1400106f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r14d, r14d
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x140010710
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
lea r8d, [r14 + 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 0x140010710
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140010710
mov rcx, qword [rbx]
lea rdx, [rbp + 0x62]
movzx r8d, r15w
call fcn.140009510
test al, al
jne 0x140010780
add rbx, 8
cmp rbx, r14
jne 0x1400106f0
xor r14d, r14d
lea r8, str.OOPWinPipeServer:Could_not_find_visualizer_to_activate_n
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x14001077b
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r13b
jne 0x140010750
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001077b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
jmp 0x1400107f4
lea r8, str.OOPWinPipeServer::found_visualizer_to_activate_n
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r14d, r14d
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x1400107ee
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r13b
jne 0x1400107c3
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400107ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx]
mov r13b, 1
mov rcx, rsi
call fcn.14000faa0
cmp rdi, r12
jae 0x140010935
mov rax, r12
sub rax, rdi
cmp rax, 4
jbe 0x140010935
lea rcx, [rdi + 4]
cmp rcx, r12
jbe 0x14001086c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x140010866
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
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 0x140010866
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x58]
jmp 0x140010879
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov eax, dword [rdi + rax]
cmp eax, 0x464c4154
jne 0x140010935
mov ecx, 0x1690
call fcn.140184174
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.140014ef0
mov rcx, qword [rsi + 0xe0]
lea rdx, [rsp + 0x40]
call fcn.14000e630
test al, al
je 0x140010935
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 0x140010935
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x140010935
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
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 0x140010935
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x78]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp r13b, 1
jne 0x140010a24
mov ecx, 0x10
call fcn.140184174
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 0x140010a24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x58], r14d
cmp rax, 0xffffffffffffffff
je 0x1400109ce
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
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 0x1400109ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x10
mov rcx, rbx
call fcn.1401841b0
jmp 0x140010a24
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 0x140010a24
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 0x140010a24
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 rdi, qword [rsp + 0x3a8]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x378
pop r15
pop rsi
pop rbx
pop rbp
ret