Function at 0x14006cd80
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 [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rax, [0x140176478]
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 0x14006ce04
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 [0x1401bf010]
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.140029306
lea rdx, [0x1401a96d0]
mov rcx, rsi
call fcn.14003e4c0
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, rdi
call qword [0x1401bf010]
mov ebx, eax
mov rcx, rsi
call fcn.14002b470
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 [0x140173f60]
movaps xmmword [rsp + 0x70], xmm0
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.14001b382
test byte [0x14019e5e0], 0x19
jne 0x14006d243
mov rax, qword [0x1401aab60]
test rax, rax
je 0x14006cf7d
cmp byte [rsp + 0x87], 0
jns 0x14006ceb9
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 [0x1401bf010]
cmp byte [rsp + 0x87], 0
jns 0x14006cefd
mov rcx, qword [rsp + 0x70]
call fcn.1401349d4
lea rcx, [r13 + 0x12c]
call fcn.1400b0810
lea rbx, [r13 + 0x80]
mov rax, qword [r13 + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1401755f8]
mov qword [r13 + rax + 0x10], rcx
lea rax, [0x140175d10]
mov qword [r13 + 0x18], rax
cmp byte [r13 + 0x6f], 0
jns 0x14006cf40
mov rcx, qword [r12 + 0x48]
call fcn.1401349d4
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.140135280
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1401aab58]
test rax, rax
je 0x14006cfba
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 [0x1401bf010]
test al, al
jne 0x14006cee9
mov eax, dword [0x1401aab4c]
test al, 2
je 0x14006cfe6
cmp byte [rsp + 0x87], 0
jns 0x14006cfd5
mov rcx, qword [rsp + 0x70]
jmp 0x14006cfda
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401aab4c]
test al, 4
jne 0x14006cff6
cmp dword [r13 + 8], 2
jl 0x14006d041
cmp eax, 1
ja 0x14006d041
mov ecx, 2
call fcn.140139058
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.14014ec94
mov ecx, 2
call fcn.140139058
mov rcx, rax
call fcn.14014e618
mov eax, dword [0x1401aab4c]
test al, 1
je 0x14006d094
call fcn.14006c540
test al, al
je 0x14006d094
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 [0x1401aab78]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [r13 + 8], 3
jne 0x14006cee9
mov rcx, qword [0x1401ae0b8]
test rcx, rcx
je 0x14006d0da
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.1400b1990
lea rbx, [rsp + 0x90]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.140138090
cmp byte [rsp + 0x87], 0
jns 0x14006d103
mov rdx, qword [rsp + 0x70]
jmp 0x14006d108
lea rdx, [rsp + 0x70]
mov r8d, 0x400
mov rcx, rbx
call fcn.140080570
mov rcx, rbx
call fcn.140019ae0
mov eax, dword [0x1401aaba0]
mov ecx, dword [0x1401a559c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006d26c
mov rax, qword [0x1401aab90]
cmp rax, qword [0x1401aab98]
je 0x14006d2e2
mov qword [rsp + 0x58], rsi
mov eax, dword [0x1401aaba0]
mov ecx, dword [0x1401a559c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006d2a7
mov rdx, qword [0x1401aab98]
test rdx, rdx
mov rax, qword [0x1401aab88]
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14006d2e5
shl rdx, 3
add rdx, qword [0x1401aab80]
lea rcx, [rsp + 0x58]
call fcn.14007d9c0
mov r14, qword [rsp + 0x58]
test r14, r14
je 0x14006d234
cmp byte [rsp + 0x87], 0
jns 0x14006d1d3
mov rsi, qword [rsp + 0x70]
jmp 0x14006d1d8
lea rsi, [rsp + 0x70]
mov rcx, rsi
add rcx, rbp
mov qword [rsp + 0x48], rcx
je 0x14006d2e8
call fcn.140150de0
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 [0x1401bf010]
lea rcx, [rsp + 0x58]
call fcn.14007d9a0
jmp 0x14006cee9
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rbx
lea rcx, str.LogMessage
lea rdx, [rsp + 0x90]
call fcn.14006d2f0
jmp 0x14006ce9a
lea rcx, [0x1401aaba0]
call fcn.140134af0
cmp dword [0x1401aaba0], 0xffffffff
jne 0x14006d143
xorps xmm0, xmm0
movups xmmword [0x1401aab90], xmm0
movups xmmword [0x1401aab80], xmm0
lea rcx, [0x1401aaba0]
call fcn.140134b88
jmp 0x14006d143
lea rcx, [0x1401aaba0]
call fcn.140134af0
cmp dword [0x1401aaba0], 0xffffffff
jne 0x14006d181
xorps xmm0, xmm0
movups xmmword [0x1401aab90], xmm0
movups xmmword [0x1401aab80], xmm0
lea rcx, [0x1401aaba0]
call fcn.140134b88
jmp 0x14006d181
int3
int3
int3