Function at 0x14000e210
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, 0x10a8
call fcn.1401296e0
sub rsp, rax
movaps xmmword [rsp + 0x1090], xmm6
mov rsi, rcx
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x1088], rax
lea rdi, [rcx + 8]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call fcn.14000f760
mov r12, qword [rsp + 0xb8]
add r12, qword [rsp + 0xb0]
cmp dword [rsi], 3
jne 0x14000e484
call fcn.140024ad0
test al, al
jne 0x14000e484
lea rbx, [rsp + 0x8a0]
mov r8d, 0x7d8
mov rcx, rbx
mov dl, 0xaa
call fcn.14012b560
mov rcx, rbx
call fcn.140024b10
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0xb8], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0xb0]
call fcn.140009b50
mov rbp, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbp + 0x40]
mov ebx, eax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14000e2fe
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000e2fe
mov rbp, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbp]
mov rcx, rdi
mov edx, ebx
call fcn.140010e10
mov rcx, rdi
call fcn.140008560
lea rcx, [rsp + 0x8a0]
mov rdx, rdi
call fcn.140024b80
lea rbx, [rsp + 0xb0]
mov r8d, 0x7e8
mov rcx, rbx
mov dl, 0xaa
call fcn.14012b560
mov rcx, rbx
call fcn.140024bb0
mov rcx, rbx
call fcn.140024ca0
test al, al
jne 0x14000e35c
lea rcx, [rsp + 0xb0]
mov rdx, rdi
call fcn.140024cb0
call fcn.140024e10
test rax, rax
je 0x14000e484
mov rbp, rax
cmp dword [rax + 0x58], 0
je 0x14000e484
lea rdx, str.IPC_message_handler_context:
mov rcx, rdi
call fcn.140008310
mov rbx, rax
mov r8d, dword [rbp + 0x58]
lea rdx, str.0x_08X
lea rbp, [rsp + 0x90]
mov rcx, rbp
call fcn.14001d3f0
mov r8, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e3bf
mov rbp, qword [rsp + 0x90]
mov rcx, rbx
mov rdx, rbp
call fcn.140010bd0
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 + 0x1080], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x1078]
call fcn.140009b50
mov rbp, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbp + 0x40]
mov ebp, eax
mov rcx, qword [rsp + 0x1080]
test rcx, rcx
je 0x14000e42b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000e42b
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rcx, rbx
mov edx, ebp
call fcn.140010e10
mov rcx, rbx
call fcn.140008560
mov rax, qword [rsp + 0xa8]
cmp rax, 0x10
jb 0x14000e484
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000e47f
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14000eb99
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140128e80
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0xb8], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0xb0]
call fcn.140009b50
mov rbp, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbp + 0x40]
mov ebx, eax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x14000e4e2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000e4e2
mov rbp, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbp]
mov rcx, rdi
mov edx, ebx
call fcn.140010e10
mov rcx, rdi
call fcn.140008560
lea rdi, [rsi + 0x10]
movaps xmm6, xmmword [0x140164c30]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
lea rbx, [rsp + 0x90]
mov rcx, rdi
mov rdx, rbx
call fcn.14000da50
test byte [0x1401ca490], 0x19
jne 0x14000e9b1
mov rax, qword [0x1401de548]
test rax, rax
je 0x14000e569
mov r9, qword [rsi + 0xf0]
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
mov ecx, dword [rsi]
lea rbp, [rsp + 0x90]
mov qword [rsp + 0x20], rbp
call rax
test al, al
jne 0x14000e8a2
mov eax, dword [0x1401ca004]
test al, 2
je 0x14000e59c
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e588
mov rcx, qword [rsp + 0x90]
jmp 0x14000e590
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401ca004]
test al, 4
jne 0x14000e5aa
cmp eax, 1
ja 0x14000e5ff
cmp dword [rsi], 2
jl 0x14000e5ff
mov ecx, 2
call fcn.14013e5a0
mov rdx, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e5d1
mov rcx, qword [rsp + 0x90]
jmp 0x14000e5d9
lea rcx, [rsp + 0x90]
mov r8d, 1
mov r9, rax
call fcn.14013e9cc
mov ecx, 2
call fcn.14013e5a0
mov rcx, rax
call fcn.14013edf4
mov eax, dword [0x1401ca004]
test al, 1
je 0x14000e65a
call fcn.14000eba0
test al, al
je 0x14000e65a
mov dword [rsp + 0xb0], 0xaaaaaaaa
mov r8d, dword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e634
mov rdx, qword [rsp + 0x90]
jmp 0x14000e63c
lea rdx, [rsp + 0x90]
mov rcx, qword [0x1401de560]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14000e8a2
mov rcx, qword [0x1401de720]
test rcx, rcx
je 0x14000e6ab
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e68c
mov rdx, qword [rsp + 0x90]
jmp 0x14000e694
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x78]
call fcn.140023c20
lea rbx, [rsp + 0xb4]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14012b560
mov dword [rsp + 0xb0], 0xbedead01
mov dword [rsp + 0x4b4], 0x5050dead
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e6ee
mov rdx, qword [rsp + 0x90]
jmp 0x14000e6f6
lea rdx, [rsp + 0x90]
mov r8d, 0x400
mov rcx, rbx
call fcn.14001f440
lea rcx, [rsp + 0xb0]
call fcn.14000a060
mov eax, dword [0x1401de588]
mov ecx, dword [0x14022e720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000eb23
mov rax, qword [0x1401de578]
cmp rax, qword [0x1401de580]
jne 0x14000e750
call fcn.140024af0
jmp 0x14000e8a2
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x88], rax
mov eax, dword [0x1401de588]
mov ecx, dword [0x14022e720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000eb5e
mov rax, qword [0x1401de580]
test rax, rax
mov rcx, qword [0x1401de570]
cmove rax, rcx
add rax, 0xffffffffffffffff
mov qword [rsp + 0x1078], rax
cmp rax, rcx
jbe 0x14000e7f5
lea rdx, [0x1401de570]
lea r8, str.i___capacity_
lea rcx, [rsp + 0x1078]
call fcn.140010750
test rax, rax
je 0x14000e7f5
lea rdx, str..._.._base_containers_vector_buffer.h
lea rbx, [rsp + 0x8a0]
mov rcx, rbx
mov r8d, 0x55
mov r9, rax
call fcn.14000f5b0
mov rcx, rbx
call fcn.14000e210
mov rdx, qword [rsp + 0x1078]
shl rdx, 3
add rdx, qword [0x1401de568]
lea rcx, [rsp + 0x88]
call fcn.140024f40
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x14000e895
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e837
mov rbp, qword [rsp + 0x90]
jmp 0x14000e83f
lea rbp, [rsp + 0x90]
lea rcx, [r12 + rbp]
mov qword [rsp + 0x68], rcx
test rbp, rbp
je 0x14000e854
call fcn.1401380d0
jmp 0x14000e856
xor eax, eax
mov qword [rsp + 0x70], rax
mov rax, qword [rsi + 0xf0]
sub r12, rax
add rbp, rax
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov rcx, rbx
call qword [rbx + 8]
lea rcx, [rsp + 0x88]
call fcn.140024f20
mov rax, qword [rsp + 0xa8]
cmp rax, 0x10
jb 0x14000e8e9
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000e8e4
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14000eb99
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140128e80
lea rcx, [rsi + 0x110]
call fcn.140024ab0
mov rax, qword [rsi + 8]
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 + 8], rcx
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [rsi + rax + 4], ecx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsi + 0x10], rax
mov rcx, rdi
call fcn.14000a740
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsi + 0x10], rax
mov rdi, qword [rsi + 0x70]
add rsi, 0x90
test rdi, rdi
je 0x14000e973
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e96b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000e96b
mov rbp, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbp]
mov rcx, rdi
call fcn.1401291d8
lea rax, vtable.std::ios_base.0
mov qword [rsi], rax
mov rcx, rsi
call fcn.1401273b4
mov rcx, qword [rsp + 0x1088]
xor rcx, rsp
call fcn.140128f20
movaps xmm6, xmmword [rsp + 0x1090]
add rsp, 0x10a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0xf
jbe 0x14000e9cc
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x1078], rbx
mov qword [rsp + 0x1080], rax
mov r8, qword [rsi + 0xf0]
lea rcx, [rsp + 0x8a0]
lea rdx, [rsp + 0x1078]
mov r9, 0xffffffffffffffff
call fcn.14001e7b0
mov ecx, 0x38
call fcn.140128e44
mov rbx, rax
mov r9d, dword [rsi + 0x100]
movups xmm0, xmmword [rsp + 0x8a0]
movaps xmmword [rsp + 0xb0], xmm0
mov rdx, qword [rsi + 0xf8]
lea r14, [rsp + 0xb0]
mov rcx, rax
mov r8, r14
call fcn.140024fe0
call sub.KERNEL32.dll_GetCurrentThreadId
mov ebp, eax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x88], r13
lea r15, [rsp + 0x88]
mov rcx, r15
call fcn.140021600
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], r13
mov word [rsp + 0xb0], 0x801
lea rax, [0x140165441]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0x8008
lea rdx, [0x1401ca490]
lea r8, str.LogMessage
mov cl, 0x49
xor r9d, r9d
call fcn.140029680
mov al, byte [rsp + 0xb0]
test al, al
je 0x14000e52f
xor ebx, ebx
jmp 0x14000eaf8
add rbx, 1
movzx ecx, al
cmp rbx, rcx
jae 0x14000e52f
cmp byte [rsp + rbx + 0xb1], 8
jne 0x14000eae8
mov rcx, qword [rsp + rbx*8 + 0xc8]
test rcx, rcx
je 0x14000eae8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
movzx eax, byte [rsp + 0xb0]
jmp 0x14000eae8
lea rcx, [0x1401de588]
call fcn.1401295b8
cmp dword [0x1401de588], 0xffffffff
jne 0x14000e736
xorps xmm0, xmm0
movups xmmword [0x1401de578], xmm0
movups xmmword [0x1401de568], xmm0
lea rcx, [0x1401de588]
call fcn.140129558
jmp 0x14000e736
lea rcx, [0x1401de588]
call fcn.1401295b8
cmp dword [0x1401de588], 0xffffffff
jne 0x14000e787
xorps xmm0, xmm0
movups xmmword [0x1401de578], xmm0
movups xmmword [0x1401de568], xmm0
lea rcx, [0x1401de588]
call fcn.140129558
jmp 0x14000e787
call fcn.140137b68
int3