Function at 0x1400574d0
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, 0x1068
call fcn.140148570
sub rsp, rax
movaps xmmword [rsp + 0x1050], xmm6
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x1048], rax
lea rax, [0x14018edc0]
mov qword [rcx], rax
lea rdi, [rcx + 0x18]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x870]
mov rcx, rdi
call fcn.140034a70
movzx r12d, byte [rsp + 0x80]
test r12b, 1
jne 0x140057540
shr r12d, 1
jmp 0x140057555
mov r12, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140148278
lea rbx, [rsi + 0x10]
cmp dword [rsi + 8], 3
jne 0x140057714
call fcn.1400953f0
test al, al
jne 0x140057714
lea r14, [rsp + 0x870]
mov r8d, 0x7d8
mov rcx, r14
mov dl, 0xaa
call fcn.14014b870
mov rcx, r14
call fcn.140095410
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
lea r15, [rsp + 0x80]
mov rdx, r15
call fcn.140011786
lea rdx, [0x1401c9090]
mov rcx, r15
call fcn.1400159ee
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401de008]
mov ebp, eax
mov rcx, r15
call fcn.140015966
mov rcx, rbx
mov edx, ebp
call fcn.140012fb0
mov rcx, rbx
call fcn.140011fe4
mov rcx, r14
mov rdx, rbx
call fcn.140095480
lea r14, [rsp + 0x80]
mov r8d, 0x7f0
mov rcx, r14
mov dl, 0xaa
call fcn.14014b870
mov rcx, r14
call fcn.1400954b0
mov rcx, r14
call fcn.1400955a0
test al, al
jne 0x140057631
lea rcx, [rsp + 0x80]
mov rdx, rbx
call fcn.1400955b0
call fcn.140095700
test rax, rax
je 0x14005770c
mov r15, rax
cmp dword [rax + 0x68], 0
je 0x14005770c
lea rdx, str.IPC_message_handler_context:
mov r8d, 0x1d
mov rcx, rbx
call fcn.14000211d
mov r14, rax
mov r8d, dword [r15 + 0x68]
lea rdx, str.0x_08X
lea rcx, [rsp + 0x50]
call fcn.14004a340
movzx r8d, byte [rsp + 0x50]
test r8b, 1
je 0x140057691
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
jmp 0x140057699
shr r8d, 1
lea rdx, [rsp + 0x51]
mov rcx, r14
call fcn.14000211d
mov r14, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r14
lea r15, [rsp + 0x70]
mov rdx, r15
call fcn.140011786
lea rdx, [0x1401c9090]
mov rcx, r15
call fcn.1400159ee
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401de008]
mov ebp, eax
mov rcx, r15
call fcn.140015966
mov rcx, r14
mov edx, ebp
call fcn.140012fb0
mov rcx, r14
call fcn.140011fe4
test byte [rsp + 0x50], 1
je 0x14005770c
mov rcx, qword [rsp + 0x60]
call fcn.140148278
mov rcx, rbx
call fcn.140044810
mov rax, qword [rsi + 0x10]
movsxd rcx, dword [rax + 4]
add rcx, rbx
lea r14, [rsp + 0x80]
mov rdx, r14
call fcn.140011786
lea rdx, [0x1401c9090]
mov rcx, r14
call fcn.1400159ee
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, r8
call qword [0x1401de008]
mov ebp, eax
mov rcx, r14
call fcn.140015966
mov rcx, rbx
mov edx, ebp
call fcn.140012fb0
mov rcx, rbx
call fcn.140011fe4
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x880], r15
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x870], xmm6
lea rbx, [rsp + 0x870]
lea r14, [rsp + 0x80]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.140034a70
mov r8, qword [rsi + 0x118]
mov qword [rsp + 0x20], r14
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
mov r9, 0xffffffffffffffff
call fcn.14002d888
mov eax, dword [rsi + 0x128]
mov rcx, qword [rsi + 0x120]
mov dword [rsp + 0x6c], eax
mov qword [rsp + 0x70], rcx
test byte [0x1401c5a50], 0x19
jne 0x140057802
test byte [rsp + 0x50], 1
jne 0x14005783f
cmp dword [rsi + 8], 3
je 0x140057853
jmp 0x140057947
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
lea rcx, str.LogMessage
lea rdx, [rsp + 0x80]
call fcn.1400583b0
test byte [rsp + 0x50], 1
je 0x1400577f7
mov rcx, qword [rsp + 0x60]
call fcn.140148278
cmp dword [rsi + 8], 3
jne 0x140057947
cmp byte [0x1401ca454], 0
jne 0x140057947
movaps xmmword [rsp + 0x50], xmm6
lea rax, [0x1401ca454]
mov qword [rsp + 0x50], rax
movzx eax, byte [0x1401ca454]
mov byte [0x1401ca454], 1
mov byte [rsp + 0x58], al
mov eax, dword [0x1401ca460]
mov ecx, dword [0x1401ca5a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140057dc6
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140057f10
movzx eax, byte [rsp + 0x80]
test al, 1
jne 0x1400578da
shr eax, 1
lea rcx, [rsp + 0x81]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
jmp 0x1400578fd
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
test rax, rax
js 0x140057cae
test rcx, rcx
jne 0x14005790b
test rax, rax
jne 0x140057cda
mov rcx, qword [0x1401ca458]
lea rdx, [rsp + 0x70]
call fcn.1400447b0
test byte [rsp + 0x80], 1
je 0x140057933
mov rcx, qword [rsp + 0x90]
call fcn.140148278
cmp qword [rsp + 0x50], 0
je 0x140057947
movzx eax, byte [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
mov rax, qword [0x1401ca408]
test rax, rax
je 0x14005797e
mov r9, qword [rsi + 0x118]
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
mov ecx, dword [rsi + 8]
mov qword [rsp + 0x20], rbx
call qword [0x1401de008]
test al, al
jne 0x140057c15
mov eax, dword [0x1401c6b40]
test al, 2
je 0x1400579b0
test byte [rsp + 0x870], 1
je 0x14005799c
mov rcx, qword [rsp + 0x880]
jmp 0x1400579a4
lea rcx, [rsp + 0x871]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401c6b40]
test al, 4
jne 0x1400579bf
cmp eax, 1
ja 0x140057a28
cmp dword [rsi + 8], 2
jl 0x140057a28
movzx ebx, byte [rsp + 0x870]
test bl, 1
je 0x1400579e3
mov rbx, qword [rsp + 0x878]
mov r14, qword [rsp + 0x880]
test rbx, rbx
jne 0x1400579f2
jmp 0x140057a28
shr ebx, 1
lea r14, [rsp + 0x871]
test rbx, rbx
je 0x140057a28
xor r13d, r13d
nop word cs:[rax + rax]
mov r8d, ebx
sub r8d, r13d
lea rdx, [r14 + r13]
mov ecx, 2
call fcn.140164954
test eax, eax
js 0x140057a22
mov eax, eax
add r13, rax
cmp r13, rbx
jb 0x140057a00
mov eax, dword [0x1401c6b40]
test al, 1
je 0x140057a8a
call fcn.140056b00
test al, al
je 0x140057a8a
mov dword [rsp + 0x80], 0xaaaaaaaa
movzx r8d, byte [rsp + 0x870]
test r8b, 1
je 0x140057a61
mov r8d, dword [rsp + 0x878]
mov rdx, qword [rsp + 0x880]
jmp 0x140057a6c
shr r8d, 1
lea rdx, [rsp + 0x871]
mov rcx, qword [0x1401ca420]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi + 8], 3
jne 0x140057c15
lea rbx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14014b870
test byte [rsp + 0x870], 1
lea r14, [rsp + 0x871]
mov rdx, r14
je 0x140057ac9
mov rdx, qword [rsp + 0x880]
mov r8d, 0x400
mov rcx, rbx
call fcn.14004b430
mov rcx, rbx
call fcn.140002ab0
mov eax, dword [0x1401ca450]
mov ecx, dword [0x1401ca5a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140057d32
mov rax, qword [0x1401ca440]
cmp rax, qword [0x1401ca448]
je 0x140057e08
mov qword [rsp + 0x70], r15
mov eax, dword [0x1401ca450]
mov ecx, dword [0x1401ca5a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140057d7c
mov rdx, qword [0x1401ca448]
lea rax, [0x1401ca430]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
test rdx, rdx
jne 0x140057b68
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
dec rdx
mov qword [rsp + 0x58], rdx
mov rcx, qword [rsp + 0x50]
call fcn.140059740
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.14005b280
cmp qword [rsp + 0x70], 0
je 0x140057c0b
test byte [rsp + 0x870], 1
je 0x140057ba1
mov r14, qword [rsp + 0x880]
mov rcx, r14
add rcx, r12
mov qword [rsp + 0x40], rcx
je 0x140057d06
call fcn.14016dd30
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x118]
add r14, rax
mov qword [rsp + 0x30], r14
sub r12, rax
mov qword [rsp + 0x38], r12
js 0x140057cae
je 0x140057be4
test r14, r14
je 0x140057cda
mov r8d, dword [rsi + 0x128]
mov rdx, qword [rsi + 0x120]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x30]
call fcn.140057e10
lea rcx, [rsp + 0x70]
call fcn.14005b2b0
test byte [rsp + 0x870], 1
je 0x140057c2c
mov rcx, qword [rsp + 0x880]
call fcn.140148278
lea rcx, [rsi + 0x12c]
call fcn.140007670
mov rax, qword [rsi + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::__1::basic_ostringstream_char__struct_std::__1::char_traits_char___class_std::__1::allocator_char__.0
mov qword [rsi + rax + 0x10], rcx
lea rax, vtable.std::__1::basic_stringbuf_char__struct_std::__1::char_traits_char___class_std::__1::allocator_char__.0
mov qword [rsi + 0x18], rax
test byte [rsi + 0x58], 1
je 0x140057c66
mov rcx, qword [rsi + 0x68]
call fcn.140148278
sub rsi, 0xffffffffffffff80
mov rcx, rdi
call fcn.140011f7e
mov rcx, rdi
call fcn.140002ab0
mov rcx, rsi
call fcn.140011f78
mov rcx, qword [rsp + 0x1048]
xor rcx, rsp
call fcn.140148650
movaps xmm6, xmmword [rsp + 0x1050]
add rsp, 0x1068
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140005c64
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140005c64
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.140005c64
lea rcx, [0x1401ca450]
call fcn.140148390
cmp dword [0x1401ca450], 0xffffffff
jne 0x140057b04
mov qword [0x1401ca430], 0
xorps xmm0, xmm0
movups xmmword [0x1401ca438], xmm0
mov qword [0x1401ca448], 0
lea rcx, [0x1401ca450]
call fcn.140148428
jmp 0x140057b04
lea rcx, [0x1401ca450]
call fcn.140148390
cmp dword [0x1401ca450], 0xffffffff
jne 0x140057b42
mov qword [0x1401ca430], 0
xorps xmm0, xmm0
movups xmmword [0x1401ca438], xmm0
mov qword [0x1401ca448], 0
lea rcx, [0x1401ca450]
call fcn.140148428
jmp 0x140057b42
lea rcx, [0x1401ca460]
call fcn.140148390
cmp dword [0x1401ca460], 0xffffffff
jne 0x1400578a8
lea rcx, str.LOG_FATAL
mov edx, 0x400
call fcn.140044780
mov qword [0x1401ca458], rax
lea rcx, [0x1401ca460]
call fcn.140148428
jmp 0x1400578a8
int3