Function at 0x140060bb0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1058
call fcn.140173ff0
sub rsp, rax
movaps xmmword [rsp + 0x1040], xmm6
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x1038], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x48]
call fcn.140091790
lea rbx, [rsi + 0x18]
lea rdx, [rsp + 0x78]
lea r8, [rsp + 0x860]
mov rcx, rbx
call fcn.140003db0
movzx edi, byte [rsp + 0x78]
test dil, 1
jne 0x140060c27
shr edi, 1
jmp 0x140060c3c
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.140173cf0
lea r14, [rsi + 0x10]
cmp dword [rsi + 8], 3
jne 0x140060df3
call fcn.14009de20
test al, al
jne 0x140060df3
lea r15, [rsp + 0x860]
mov r8d, 0x7d8
mov rcx, r15
mov dl, 0xaa
call fcn.1401772e0
mov rcx, r15
call fcn.14009de40
mov rax, qword [r14]
movsxd rcx, dword [rax + 4]
add rcx, r14
lea r12, [rsp + 0x78]
mov rdx, r12
call fcn.140016200
lea rdx, [0x140200288]
mov rcx, r12
call fcn.140036d80
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401ec708]
mov ebp, eax
mov rcx, r12
call fcn.14001a6b0
mov rcx, r14
mov edx, ebp
call fcn.140017ed0
mov rcx, r14
call fcn.1400167c0
mov rcx, r15
mov rdx, r14
call fcn.14009dec0
lea r15, [rsp + 0x78]
mov r8d, 0x7e8
mov rcx, r15
mov dl, 0xaa
call fcn.1401772e0
mov rcx, r15
call fcn.14009e080
mov rcx, r15
call fcn.14009e1a0
test al, al
jne 0x140060d0f
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.14009e1b0
call fcn.14009e310
test rax, rax
je 0x140060deb
mov r12, rax
cmp dword [rax + 0x60], 0
je 0x140060deb
lea rdx, str.IPC_message_handler_context:
mov r8d, 0x1d
mov rcx, r14
call fcn.140001af0
mov r15, rax
mov r8d, dword [r12 + 0x60]
lea rdx, str.0x_08X
lea rcx, [rsp + 0x30]
call fcn.140051ea0
movzx r8d, byte [rsp + 0x30]
test r8b, 1
je 0x140060d70
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
jmp 0x140060d78
shr r8d, 1
lea rdx, [rsp + 0x31]
mov rcx, r15
call fcn.140001af0
mov r15, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r15
lea r12, [rsp + 0x68]
mov rdx, r12
call fcn.140016200
lea rdx, [0x140200288]
mov rcx, r12
call fcn.140036d80
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401ec708]
mov ebp, eax
mov rcx, r12
call fcn.14001a6b0
mov rcx, r15
mov edx, ebp
call fcn.140017ed0
mov rcx, r15
call fcn.1400167c0
test byte [rsp + 0x30], 1
je 0x140060deb
mov rcx, qword [rsp + 0x40]
call fcn.140173cf0
mov rcx, r14
call fcn.14004bba0
mov rax, qword [rsi + 0x10]
movsxd rcx, dword [rax + 4]
add rcx, r14
lea r15, [rsp + 0x78]
mov rdx, r15
call fcn.140016200
lea rdx, [0x140200288]
mov rcx, r15
call fcn.140036d80
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401ec708]
mov ebp, eax
mov rcx, r15
call fcn.14001a6b0
mov rcx, r14
mov edx, ebp
call fcn.140017ed0
mov rcx, r14
call fcn.1400167c0
mov qword [rsp + 0x870], r13
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x860], xmm6
lea r14, [rsp + 0x860]
lea r15, [rsp + 0x78]
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140003db0
mov r8, qword [rsi + 0x118]
mov qword [rsp + 0x20], r15
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
mov r9, 0xffffffffffffffff
call fcn.14003d8e0
mov eax, dword [rsi + 0x128]
mov rcx, qword [rsi + 0x120]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], 0x57
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], r15
mov rax, qword [0x1401be108]
movzx eax, byte [rax + 0x57]
test al, al
jne 0x140060f11
test byte [rsp + 0x30], 1
jne 0x140060f25
cmp dword [rsi + 8], 3
je 0x140060f39
jmp 0x140061027
movzx edx, al
lea rcx, [rsp + 0x68]
call fcn.140061cc0
test byte [rsp + 0x30], 1
je 0x140060f06
mov rcx, qword [rsp + 0x40]
call fcn.140173cf0
cmp dword [rsi + 8], 3
jne 0x140061027
cmp byte [0x1402011ac], 0
jne 0x140061027
movaps xmmword [rsp + 0x30], xmm6
lea rax, [0x1402011ac]
mov qword [rsp + 0x30], rax
movzx eax, byte [0x1402011ac]
mov byte [0x1402011ac], 1
mov byte [rsp + 0x38], al
mov eax, dword [0x1402011b8]
mov ecx, dword [0x140201350]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x1400611f0
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140061240
movzx eax, byte [rsp + 0x78]
test al, 1
jne 0x140060fb7
shr eax, 1
lea rcx, [rsp + 0x79]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
jmp 0x140060fda
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test rax, rax
js 0x1400611ca
test rax, rax
sete al
test rcx, rcx
setne cl
or cl, al
je 0x1400611dd
mov rcx, qword [0x1402011b0]
lea rdx, [rsp + 0x68]
call fcn.14004bb40
test byte [rsp + 0x78], 1
je 0x140061013
mov rcx, qword [rsp + 0x88]
call fcn.140173cf0
cmp qword [rsp + 0x30], 0
je 0x140061027
movzx eax, byte [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
mov rax, qword [0x140201168]
test rax, rax
je 0x14006105e
mov r9, qword [rsi + 0x118]
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
mov ecx, dword [rsi + 8]
mov qword [rsp + 0x20], r14
call qword [0x1401ec708]
test al, al
jne 0x140061164
mov eax, dword [0x1401fdba0]
test al, 2
je 0x140061090
test byte [rsp + 0x860], 1
je 0x14006107c
mov rcx, qword [rsp + 0x870]
jmp 0x140061084
lea rcx, [rsp + 0x861]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401fdba0]
test al, 4
jne 0x1400610a1
test eax, 0xfffffffa
jne 0x140061108
cmp dword [rsi + 8], 2
jl 0x140061108
movzx ebx, byte [rsp + 0x860]
test bl, 1
je 0x1400610c5
mov rbx, qword [rsp + 0x868]
mov r14, qword [rsp + 0x870]
test rbx, rbx
jne 0x1400610d4
jmp 0x140061108
shr ebx, 1
lea r14, [rsp + 0x861]
test rbx, rbx
je 0x140061108
xor r15d, r15d
nop word [rax + rax]
mov r8d, ebx
sub r8d, r15d
lea rdx, [r14 + r15]
mov ecx, 2
call fcn.1401903c4
test eax, eax
js 0x140061102
mov eax, eax
add r15, rax
cmp r15, rbx
jb 0x1400610e0
mov eax, dword [0x1401fdba0]
test al, 1
je 0x140061164
call fcn.140060160
test al, al
je 0x140061164
mov dword [rsp + 0x78], 0xaaaaaaaa
movzx r8d, byte [rsp + 0x860]
test r8b, 1
je 0x14006113e
mov r8d, dword [rsp + 0x868]
mov rdx, qword [rsp + 0x870]
jmp 0x140061149
shr r8d, 1
lea rdx, [rsp + 0x861]
mov rcx, qword [0x140201150]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi + 8], 3
jne 0x14006117d
lea r8, [rsp + 0x860]
mov rcx, rsi
mov rdx, rdi
call fcn.140061300
test byte [rsp + 0x860], 1
je 0x140061194
mov rcx, qword [rsp + 0x870]
call fcn.140173cf0
lea rcx, [rsp + 0x48]
call fcn.1400917d0
mov rcx, qword [rsp + 0x1038]
xor rcx, rsp
call fcn.140174050
movaps xmm6, xmmword [rsp + 0x1040]
add rsp, 0x1058
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14003f000
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14003f000
lea rcx, [0x1402011b8]
call fcn.140173e10
cmp dword [0x1402011b8], 0xffffffff
jne 0x140060f8e
lea rcx, str.LOG_FATAL
mov edx, 0x400
call fcn.14004bb10
mov qword [0x1402011b0], rax
lea rcx, [0x1402011b8]
call fcn.140173ea8
jmp 0x140060f8e