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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1078
call fcn.140173520
sub rsp, rax
movaps xmmword [rsp + 0x1060], xmm6
mov rsi, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x1058], rax
lea rax, [0x1401f54d0]
mov qword [rcx], rax
mov qword [rsp + 0x80], 0
movaps xmm6, xmmword [0x1401f4330]
movups xmmword [rsp + 0x88], xmm6
mov qword [rsp + 0x98], 0xf
mov byte [rsp + 0x80], 0
mov eax, dword [rcx + 0x88]
mov ecx, eax
and ecx, 0x22
cmp ecx, 2
je 0x14001dafb
mov rcx, qword [rsi + 0x58]
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001dafb
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x80]
cmp rdi, rcx
cmovb rdi, rcx
jmp 0x14001db19
test al, 4
jne 0x14001db62
mov rax, qword [rsi + 0x50]
mov rdi, qword [rax]
test rdi, rdi
je 0x14001db62
lea rax, [rsi + 0x30]
mov rcx, qword [rsi + 0x68]
movsxd rcx, dword [rcx]
add rdi, rcx
mov rax, qword [rax]
mov r9, qword [rax]
test r9, r9
je 0x14001db62
sub rdi, r9
cmp rdi, 0xf
jbe 0x14001db3f
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140007bd0
jmp 0x14001db62
mov qword [rsp + 0x90], rdi
lea rcx, [rsp + 0x80]
mov rdx, r9
mov r8, rdi
call fcn.1401e0580
mov byte [rsp + rdi + 0x80], 0
mov r14, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
cmp rax, 0x10
jb 0x14001dbb1
mov rcx, qword [rsp + 0x80]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001dbac
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001e3f7
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140172db0
lea rdi, [rsi + 0x10]
cmp dword [rsi + 8], 3
jne 0x14001de08
call fcn.140036420
test al, al
jne 0x14001de08
lea rbx, [rsp + 0x870]
mov r8d, 0x7d8
mov rcx, rbx
mov dl, 0xaa
call fcn.1401e0c20
mov rcx, rbx
call fcn.140036440
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x88], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401ad3ca.0]
lea rcx, [rsp + 0x80]
call fcn.140050530
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov ebx, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001dc6b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ad3ca.0]
test rax, rax
je 0x14001dc6b
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov rcx, rdi
mov edx, ebx
call fcn.14001f450
mov rcx, rdi
call fcn.140056104
lea rcx, [rsp + 0x870]
mov rdx, rdi
call fcn.1400364b0
lea rbx, [rsp + 0x80]
mov r8d, 0x7f0
mov rcx, rbx
mov dl, 0xaa
call fcn.1401e0c20
mov rcx, rbx
call fcn.1400364e0
mov rcx, rbx
call fcn.1400365c0
test al, al
jne 0x14001dcc9
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.1400365d0
call fcn.140036770
test rax, rax
je 0x14001de00
mov rbp, rax
cmp dword [rax + 0x68], 0
je 0x14001de00
lea rdx, str.IPC_message_handler_context:
mov rcx, rdi
call fcn.14004e768
mov rbx, rax
mov r8d, dword [rbp + 0x68]
lea rdx, str.0x_08X
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.140019900
mov r8, qword [rsp + 0x70]
cmp qword [rsp + 0x78], 0x10
jb 0x14001dd20
mov rbp, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rbp
call fcn.140016550
mov rbx, rax
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rax, qword [rbx + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1050], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401ad3ca.0]
lea rcx, [rsp + 0x1048]
call fcn.140050530
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov ebp, eax
mov rcx, qword [rsp + 0x1050]
test rcx, rcx
je 0x14001ddad
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ad3ca.0]
test rax, rax
je 0x14001ddad
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [case.0x1401ad3ca.0]
mov rcx, rbx
mov edx, ebp
call fcn.14001f450
mov rcx, rbx
call fcn.140056104
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001de00
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001ddfb
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001e3f7
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140172db0
mov rcx, rdi
call fcn.14001bb10
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x88], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401ad3ca.0]
lea rcx, [rsp + 0x80]
call fcn.140050530
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov ebx, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001de87
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ad3ca.0]
test rax, rax
je 0x14001de87
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov rcx, rdi
mov edx, ebx
call fcn.14001f450
mov rcx, rdi
call fcn.140056104
mov qword [rsp + 0x870], 0
movups xmmword [rsp + 0x878], xmm6
mov qword [rsp + 0x888], 0xf
mov byte [rsp + 0x870], 0
mov eax, dword [rsi + 0x88]
mov ecx, eax
and ecx, 0x22
cmp ecx, 2
je 0x14001def1
mov rcx, qword [rsi + 0x58]
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001def1
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x80]
cmp rdi, rcx
cmovb rdi, rcx
jmp 0x14001df0f
test al, 4
jne 0x14001df58
mov rax, qword [rsi + 0x50]
mov rdi, qword [rax]
test rdi, rdi
je 0x14001df58
lea rax, [rsi + 0x30]
mov rcx, qword [rsi + 0x68]
movsxd rcx, dword [rcx]
add rdi, rcx
mov rax, qword [rax]
mov r9, qword [rax]
test r9, r9
je 0x14001df58
sub rdi, r9
cmp rdi, 0xf
jbe 0x14001df35
lea rcx, [rsp + 0x870]
mov rdx, rdi
call fcn.140007bd0
jmp 0x14001df58
mov qword [rsp + 0x880], rdi
lea rcx, [rsp + 0x870]
mov rdx, r9
mov r8, rdi
call fcn.1401e0580
mov byte [rsp + rdi + 0x870], 0
mov rax, qword [0x14027ea18]
test rax, rax
je 0x14001df97
mov r9, qword [rsi + 0xf8]
mov r8d, dword [rsi + 0x108]
mov rdx, qword [rsi + 0x100]
mov ecx, dword [rsi + 8]
lea rbp, [rsp + 0x870]
mov qword [rsp + 0x20], rbp
call qword [case.0x1401ad3ca.0]
test al, al
jne 0x14001e2d7
mov eax, dword [0x140270078]
test al, 2
je 0x14001dfca
cmp qword [rsp + 0x888], 0x10
jb 0x14001dfb6
mov rcx, qword [rsp + 0x870]
jmp 0x14001dfbe
lea rcx, [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140270078]
test al, 4
jne 0x14001dfd9
cmp dword [rsi + 8], 2
jl 0x14001e038
cmp eax, 1
ja 0x14001e038
mov rdi, qword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001dffb
mov rbx, qword [rsp + 0x870]
test rdi, rdi
jne 0x14001e008
jmp 0x14001e038
lea rbx, [rsp + 0x870]
test rdi, rdi
je 0x14001e038
xor ebp, ebp
nop word [rax + rax]
mov r8d, edi
sub r8d, ebp
lea rdx, [rbx + rbp]
mov ecx, 2
call fcn.140181d20
test eax, eax
js 0x14001e032
mov eax, eax
add rbp, rax
cmp rbp, rdi
jb 0x14001e010
mov eax, dword [0x140270078]
test al, 1
je 0x14001e093
call fcn.14001cf50
test al, al
je 0x14001e093
mov dword [rsp + 0x80], 0xaaaaaaaa
mov r8d, dword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001e06d
mov rdx, qword [rsp + 0x870]
jmp 0x14001e075
lea rdx, [rsp + 0x870]
mov rcx, qword [0x14027ea30]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi + 8], 3
jne 0x14001e2d7
mov rcx, qword [0x14027e9e0]
test rcx, rcx
je 0x14001e0e2
mov rax, qword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001e0c6
mov rdx, qword [rsp + 0x870]
jmp 0x14001e0ce
lea rdx, [rsp + 0x870]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
call fcn.14001c9d0
lea rdi, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rdi
mov dl, 0xaa
call fcn.1401e0c20
cmp qword [rsp + 0x888], 0x10
jb 0x14001e10f
mov rdx, qword [rsp + 0x870]
jmp 0x14001e117
lea rdx, [rsp + 0x870]
mov r8d, 0x400
mov rcx, rdi
call fcn.14002ff80
mov rcx, rdi
call fcn.1400142f0
mov eax, dword [0x14027ea60]
mov ecx, dword [0x1402829b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14001e3fc
mov rax, qword [0x14027ea50]
cmp rax, qword [0x14027ea58]
je 0x14001e490
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1048], rax
mov eax, dword [0x14027ea60]
mov ecx, dword [0x1402829b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14001e446
mov rdx, qword [0x14027ea58]
lea rax, [0x14027ea40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
test rdx, rdx
jne 0x14001e1c3
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 8]
dec rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0x60]
call fcn.14001f390
lea rcx, [rsp + 0x1048]
mov rdx, rax
call fcn.14002f220
mov rdi, qword [rsp + 0x1048]
test rdi, rdi
je 0x14001e2ca
mov r15, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x888]
cmp rbp, 0x10
lea rbx, [rsp + 0x870]
mov rcx, rbx
cmovae rcx, r15
add rcx, r14
mov qword [rsp + 0x40], rcx
je 0x14001e22f
call fcn.14017aef0
mov qword [rsp + 0x48], rax
jmp 0x14001e281
mov qword [rsp + 0x48], 0
lea rdx, str....._base_strings_string_piece.h
lea r9, [0x1401f43e4]
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x7c
call fcn.140008430
mov rcx, rdi
call fcn.1400085c0
mov rcx, rdi
call fcn.1400085d0
mov r15, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x888]
mov rdi, qword [rsp + 0x1048]
mov rax, qword [rsi + 0xf8]
sub r14, rax
cmp rbp, 0x10
cmovae rbx, r15
add rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r14
mov r8d, dword [rsi + 0x108]
mov rdx, qword [rsi + 0x100]
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov rcx, rdi
call qword [case.0x1401ad3ca.0]
lea rcx, [rsp + 0x1048]
call fcn.14002f200
mov rax, qword [rsp + 0x888]
cmp rax, 0x10
jb 0x14001e31e
mov rcx, qword [rsp + 0x870]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001e319
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001e3f7
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140172db0
lea rcx, [rsi + 0x10c]
call fcn.140032e80
mov rax, qword [rsi + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsi + rax + 0x10], rcx
mov rax, qword [rsi + 0x10]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [rsi + rax + 0xc], ecx
lea rcx, [rsi + 0x18]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsi + 0x18], rax
call fcn.140054874
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsi + 0x18], rax
mov rdi, qword [rsi + 0x78]
test rdi, rdi
je 0x14001e3b2
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001e3aa
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ad3ca.0]
test rax, rax
je 0x14001e3aa
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ad3ca.0]
mov rcx, rdi
call fcn.1401734f4
lea rax, vtable.std::ios_base.0
mov qword [rsi + 0x98], rax
add rsi, 0x98
mov rcx, rsi
call fcn.140151808
mov rcx, qword [rsp + 0x1058]
xor rcx, rsp
call fcn.140173230
movaps xmm6, xmmword [rsp + 0x1060]
add rsp, 0x1078
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14017a8e4
lea rcx, [0x14027ea60]
call fcn.1401730a0
cmp dword [0x14027ea60], 0xffffffff
jne 0x14001e152
mov qword [0x14027ea40], 0
xorps xmm0, xmm0
movups xmmword [0x14027ea48], xmm0
mov qword [0x14027ea58], 0
lea rcx, [0x14027ea60]
call fcn.140173034
jmp 0x14001e152
lea rcx, [0x14027ea60]
call fcn.1401730a0
cmp dword [0x14027ea60], 0xffffffff
jne 0x14001e19d
mov qword [0x14027ea40], 0
xorps xmm0, xmm0
movups xmmword [0x14027ea48], xmm0
mov qword [0x14027ea58], 0
lea rcx, [0x14027ea60]
call fcn.140173034
jmp 0x14001e19d
int3