Function at 0x14006df10
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
sub rsp, 0x498
mov r13, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rax, [0x140178478]
mov qword [rcx], rax
lea r12, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
movsxd rcx, dword [rax + 4]
mov rbp, 0xffffffffffffffff
test byte [r13 + rcx + 0x30], 5
jne 0x14006df94
mov rcx, qword [r12 + rcx + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x90]
xor r8d, r8d
mov r9d, 1
call qword [0x1401c1010]
mov rbp, qword [rsp + 0x98]
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, r12
lea rsi, [rsp + 0x90]
mov rdx, rsi
call fcn.1400293d6
lea rdx, [0x1401ab6d0]
mov rcx, rsi
call fcn.14003e590
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, rdi
call qword [0x1401c1010]
mov ebx, eax
mov rcx, rsi
call fcn.14002b540
mov rcx, r12
mov edx, ebx
call fcn.14001b15c
mov rcx, r12
call fcn.140019f2e
lea r15, [r13 + 0x18]
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rsi
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x70], xmm0
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.14001b382
test byte [0x1401a05e0], 0x19
jne 0x14006e3d3
mov rax, qword [0x1401acb88]
test rax, rax
je 0x14006e10d
cmp byte [rsp + 0x87], 0
jns 0x14006e049
mov rbx, qword [rsp + 0x70]
mov r8d, dword [r13 + 0x128]
mov rdx, qword [r13 + 0x120]
mov ecx, dword [r13 + 8]
mov qword [rsp + 0x28], rbx
lea rbp, str.CRASHPAD
mov qword [rsp + 0x20], rbp
lea r9, str.CrashpadClient
call qword [0x1401c1010]
cmp byte [rsp + 0x87], 0
jns 0x14006e08d
mov rcx, qword [rsp + 0x70]
call fcn.140136864
lea rcx, [r13 + 0x12c]
call fcn.1400b26a0
lea rbx, [r13 + 0x80]
mov rax, qword [r13 + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1401775f8]
mov qword [r13 + rax + 0x10], rcx
lea rax, [0x140177d30]
mov qword [r13 + 0x18], rax
cmp byte [r13 + 0x6f], 0
jns 0x14006e0d0
mov rcx, qword [r12 + 0x48]
call fcn.140136864
mov rcx, r15
call fcn.140019a8a
mov rcx, r15
call fcn.140019ae0
mov rcx, rbx
call fcn.140019a84
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140137110
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1401acb80]
test rax, rax
je 0x14006e14a
mov r9, qword [r13 + 0x118]
mov r8d, dword [r13 + 0x128]
mov rdx, qword [r13 + 0x120]
mov ecx, dword [r13 + 8]
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
call qword [0x1401c1010]
test al, al
jne 0x14006e079
mov eax, dword [0x1401acb74]
test al, 2
je 0x14006e176
cmp byte [rsp + 0x87], 0
jns 0x14006e165
mov rcx, qword [rsp + 0x70]
jmp 0x14006e16a
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401acb74]
test al, 4
jne 0x14006e186
cmp dword [r13 + 8], 2
jl 0x14006e1d1
cmp eax, 1
ja 0x14006e1d1
mov ecx, 2
call fcn.14013aee8
movzx edx, byte [rsp + 0x87]
test dl, dl
cmovs rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x70]
cmovs rcx, qword [rsp + 0x70]
mov r8d, 1
mov r9, rax
call fcn.140150b24
mov ecx, 2
call fcn.14013aee8
mov rcx, rax
call fcn.1401504a8
mov eax, dword [0x1401acb74]
test al, 1
je 0x14006e224
call fcn.14006d6d0
test al, al
je 0x14006e224
mov dword [rsp + 0x90], 0xaaaaaaaa
movzx r8d, byte [rsp + 0x87]
test r8b, r8b
cmovs r8d, dword [rsp + 0x78]
lea rdx, [rsp + 0x70]
cmovs rdx, qword [rsp + 0x70]
mov rcx, qword [0x1401acba0]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [r13 + 8], 3
jne 0x14006e079
mov rcx, qword [0x1401b00f8]
test rcx, rcx
je 0x14006e26a
movzx eax, byte [rsp + 0x87]
test al, al
lea rdx, [rsp + 0x70]
cmovs rdx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rdx
cmovs rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
call fcn.1400b3820
lea rbx, [rsp + 0x90]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.140139f20
cmp byte [rsp + 0x87], 0
jns 0x14006e293
mov rdx, qword [rsp + 0x70]
jmp 0x14006e298
lea rdx, [rsp + 0x70]
mov r8d, 0x400
mov rcx, rbx
call fcn.140081ec0
mov rcx, rbx
call fcn.140019ae0
mov eax, dword [0x1401acbc8]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006e3fc
mov rax, qword [0x1401acbb8]
cmp rax, qword [0x1401acbc0]
je 0x14006e472
mov qword [rsp + 0x58], rsi
mov eax, dword [0x1401acbc8]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006e437
mov rdx, qword [0x1401acbc0]
test rdx, rdx
mov rax, qword [0x1401acbb0]
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14006e475
shl rdx, 3
add rdx, qword [0x1401acba8]
lea rcx, [rsp + 0x58]
call fcn.14007ebe0
mov r14, qword [rsp + 0x58]
test r14, r14
je 0x14006e3c4
cmp byte [rsp + 0x87], 0
jns 0x14006e363
mov rsi, qword [rsp + 0x70]
jmp 0x14006e368
lea rsi, [rsp + 0x70]
mov rcx, rsi
add rcx, rbp
mov qword [rsp + 0x48], rcx
je 0x14006e478
call fcn.140152c70
mov qword [rsp + 0x50], rax
mov rax, qword [r13 + 0x118]
sub rbp, rax
add rsi, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbp
mov r8d, dword [r13 + 0x128]
mov rdx, qword [r13 + 0x120]
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
mov rcx, r14
call qword [0x1401c1010]
lea rcx, [rsp + 0x58]
call fcn.14007ebc0
jmp 0x14006e079
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rbx
lea rcx, str.LogMessage
lea rdx, [rsp + 0x90]
call fcn.14006e480
jmp 0x14006e02a
lea rcx, [0x1401acbc8]
call fcn.140136980
cmp dword [0x1401acbc8], 0xffffffff
jne 0x14006e2d3
xorps xmm0, xmm0
movups xmmword [0x1401acbb8], xmm0
movups xmmword [0x1401acba8], xmm0
lea rcx, [0x1401acbc8]
call fcn.140136a18
jmp 0x14006e2d3
lea rcx, [0x1401acbc8]
call fcn.140136980
cmp dword [0x1401acbc8], 0xffffffff
jne 0x14006e311
xorps xmm0, xmm0
movups xmmword [0x1401acbb8], xmm0
movups xmmword [0x1401acba8], xmm0
lea rcx, [0x1401acbc8]
call fcn.140136a18
jmp 0x14006e311
int3
int3
int3