Function at 0x14001e070
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.14016fb60
sub rsp, rax
movaps xmmword [rsp + 0x1060], xmm6
mov rsi, rcx
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rsp + 0x1058], rax
lea rax, [0x1401f0500]
mov qword [rcx], rax
mov qword [rsp + 0x80], 0
movaps xmm6, xmmword [0x1401ef360]
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 0x14001e10b
mov rcx, qword [rsi + 0x58]
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001e10b
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x80]
cmp rdi, rcx
cmovb rdi, rcx
jmp 0x14001e129
test al, 4
jne 0x14001e172
mov rax, qword [rsi + 0x50]
mov rdi, qword [rax]
test rdi, rdi
je 0x14001e172
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 0x14001e172
sub rdi, r9
cmp rdi, 0xf
jbe 0x14001e14f
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140007bd0
jmp 0x14001e172
mov qword [rsp + 0x90], rdi
lea rcx, [rsp + 0x80]
mov rdx, r9
mov r8, rdi
call fcn.140170810
mov byte [rsp + rdi + 0x80], 0
mov r14, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
cmp rax, 0x10
jb 0x14001e1c1
mov rcx, qword [rsp + 0x80]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001e1bc
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001ea07
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14016f250
lea rdi, [rsi + 0x10]
cmp dword [rsi + 8], 3
jne 0x14001e418
call fcn.140036ac0
test al, al
jne 0x14001e418
lea rbx, [rsp + 0x870]
mov r8d, 0x7d8
mov rcx, rbx
mov dl, 0xaa
call fcn.140170ec0
mov rcx, rbx
call fcn.140036ae0
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.0x1401ab3a5.0]
lea rcx, [rsp + 0x80]
call fcn.1400504d0
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov ebx, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001e27b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ab3a5.0]
test rax, rax
je 0x14001e27b
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov rcx, rdi
mov edx, ebx
call fcn.14001fa60
mov rcx, rdi
call fcn.1400560a4
lea rcx, [rsp + 0x870]
mov rdx, rdi
call fcn.140036b50
lea rbx, [rsp + 0x80]
mov r8d, 0x7f0
mov rcx, rbx
mov dl, 0xaa
call fcn.140170ec0
mov rcx, rbx
call fcn.140036b80
mov rcx, rbx
call fcn.140036c60
test al, al
jne 0x14001e2d9
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.140036c70
call fcn.140036e10
test rax, rax
je 0x14001e410
mov rbp, rax
cmp dword [rax + 0x68], 0
je 0x14001e410
lea rdx, str.IPC_message_handler_context:
mov rcx, rdi
call fcn.14004ebfc
mov rbx, rax
mov r8d, dword [rbp + 0x68]
lea rdx, str.0x_08X
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.140019890
mov r8, qword [rsp + 0x70]
cmp qword [rsp + 0x78], 0x10
jb 0x14001e330
mov rbp, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rbp
call fcn.1400164e0
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.0x1401ab3a5.0]
lea rcx, [rsp + 0x1048]
call fcn.1400504d0
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov ebp, eax
mov rcx, qword [rsp + 0x1050]
test rcx, rcx
je 0x14001e3bd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ab3a5.0]
test rax, rax
je 0x14001e3bd
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [case.0x1401ab3a5.0]
mov rcx, rbx
mov edx, ebp
call fcn.14001fa60
mov rcx, rbx
call fcn.1400560a4
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001e410
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001e40b
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001ea07
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14016f250
mov rcx, rdi
call fcn.14001baa0
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.0x1401ab3a5.0]
lea rcx, [rsp + 0x80]
call fcn.1400504d0
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x40]
mov rcx, rax
mov dl, 0xa
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov ebx, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001e497
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ab3a5.0]
test rax, rax
je 0x14001e497
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov rcx, rdi
mov edx, ebx
call fcn.14001fa60
mov rcx, rdi
call fcn.1400560a4
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 0x14001e501
mov rcx, qword [rsi + 0x58]
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001e501
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x80]
cmp rdi, rcx
cmovb rdi, rcx
jmp 0x14001e51f
test al, 4
jne 0x14001e568
mov rax, qword [rsi + 0x50]
mov rdi, qword [rax]
test rdi, rdi
je 0x14001e568
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 0x14001e568
sub rdi, r9
cmp rdi, 0xf
jbe 0x14001e545
lea rcx, [rsp + 0x870]
mov rdx, rdi
call fcn.140007bd0
jmp 0x14001e568
mov qword [rsp + 0x880], rdi
lea rcx, [rsp + 0x870]
mov rdx, r9
mov r8, rdi
call fcn.140170810
mov byte [rsp + rdi + 0x870], 0
mov rax, qword [0x140276d18]
test rax, rax
je 0x14001e5a7
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.0x1401ab3a5.0]
test al, al
jne 0x14001e8e7
mov eax, dword [0x140268078]
test al, 2
je 0x14001e5da
cmp qword [rsp + 0x888], 0x10
jb 0x14001e5c6
mov rcx, qword [rsp + 0x870]
jmp 0x14001e5ce
lea rcx, [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140268078]
test al, 4
jne 0x14001e5e9
cmp dword [rsi + 8], 2
jl 0x14001e648
cmp eax, 1
ja 0x14001e648
mov rdi, qword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001e60b
mov rbx, qword [rsp + 0x870]
test rdi, rdi
jne 0x14001e618
jmp 0x14001e648
lea rbx, [rsp + 0x870]
test rdi, rdi
je 0x14001e648
xor ebp, ebp
nop word [rax + rax]
mov r8d, edi
sub r8d, ebp
lea rdx, [rbx + rbp]
mov ecx, 2
call fcn.14017dbf0
test eax, eax
js 0x14001e642
mov eax, eax
add rbp, rax
cmp rbp, rdi
jb 0x14001e620
mov eax, dword [0x140268078]
test al, 1
je 0x14001e6a3
call fcn.14001d560
test al, al
je 0x14001e6a3
mov dword [rsp + 0x80], 0xaaaaaaaa
mov r8d, dword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001e67d
mov rdx, qword [rsp + 0x870]
jmp 0x14001e685
lea rdx, [rsp + 0x870]
mov rcx, qword [0x140276d30]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi + 8], 3
jne 0x14001e8e7
mov rcx, qword [0x140276ce0]
test rcx, rcx
je 0x14001e6f2
mov rax, qword [rsp + 0x880]
cmp qword [rsp + 0x888], 0x10
jb 0x14001e6d6
mov rdx, qword [rsp + 0x870]
jmp 0x14001e6de
lea rdx, [rsp + 0x870]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
call fcn.14001c960
lea rdi, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rdi
mov dl, 0xaa
call fcn.140170ec0
cmp qword [rsp + 0x888], 0x10
jb 0x14001e71f
mov rdx, qword [rsp + 0x870]
jmp 0x14001e727
lea rdx, [rsp + 0x870]
mov r8d, 0x400
mov rcx, rdi
call fcn.140030590
mov rcx, rdi
call fcn.140014280
mov eax, dword [0x140276d60]
mov ecx, dword [0x14027ace8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14001ea0c
mov rax, qword [0x140276d50]
cmp rax, qword [0x140276d58]
je 0x14001eaa0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1048], rax
mov eax, dword [0x140276d60]
mov ecx, dword [0x14027ace8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14001ea56
mov rdx, qword [0x140276d58]
lea rax, [0x140276d40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
test rdx, rdx
jne 0x14001e7d3
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 8]
dec rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0x60]
call fcn.14001f9a0
lea rcx, [rsp + 0x1048]
mov rdx, rax
call fcn.14002f830
mov rdi, qword [rsp + 0x1048]
test rdi, rdi
je 0x14001e8da
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 0x14001e83f
call fcn.140177210
mov qword [rsp + 0x48], rax
jmp 0x14001e891
mov qword [rsp + 0x48], 0
lea rdx, str....._base_strings_string_piece.h
lea r9, [0x1401ef414]
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.0x1401ab3a5.0]
lea rcx, [rsp + 0x1048]
call fcn.14002f810
mov rax, qword [rsp + 0x888]
cmp rax, 0x10
jb 0x14001e92e
mov rcx, qword [rsp + 0x870]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001e929
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001ea07
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14016f250
lea rcx, [rsi + 0x10c]
call fcn.140033490
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.140054bec
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 0x14001e9c2
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001e9ba
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401ab3a5.0]
test rax, rax
je 0x14001e9ba
mov rcx, qword [rax]
mov rbp, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, rbp
call qword [case.0x1401ab3a5.0]
mov rcx, rdi
call fcn.14016fb34
lea rax, vtable.std::ios_base.0
mov qword [rsi + 0x98], rax
add rsi, 0x98
mov rcx, rsi
call fcn.14014d300
mov rcx, qword [rsp + 0x1058]
xor rcx, rsp
call fcn.14016f860
movaps xmm6, xmmword [rsp + 0x1060]
add rsp, 0x1078
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401767ac
lea rcx, [0x140276d60]
call fcn.14016f638
cmp dword [0x140276d60], 0xffffffff
jne 0x14001e762
mov qword [0x140276d40], 0
xorps xmm0, xmm0
movups xmmword [0x140276d48], xmm0
mov qword [0x140276d58], 0
lea rcx, [0x140276d60]
call fcn.14016f5d8
jmp 0x14001e762
lea rcx, [0x140276d60]
call fcn.14016f638
cmp dword [0x140276d60], 0xffffffff
jne 0x14001e7ad
mov qword [0x140276d40], 0
xorps xmm0, xmm0
movups xmmword [0x140276d48], xmm0
mov qword [0x140276d58], 0
lea rcx, [0x140276d60]
call fcn.14016f5d8
jmp 0x14001e7ad
int3