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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x420], rax
lea r15, [rcx + 8]
mov rsi, rcx
xor r13d, r13d
lea rdx, [rbp - 0x30]
mov rcx, r15
mov dword [rsp + 0x30], r13d
call fcn.140069280
mov dl, 0xa
mov r12, qword [rax + 8]
add r12, qword [rax]
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
add rcx, r15
call fcn.140049140
movzx edx, al
mov rcx, r15
call fcn.140056920
mov rcx, r15
call fcn.14002b670
lea rcx, [rsi + 0x10]
lea rdx, [rbp]
call fcn.140069930
mov rax, qword [0x14017c088]
test rax, rax
je 0x1400682e1
mov r9, qword [rsi + 0xf0]
lea rcx, [rbp]
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsi]
call rax
test al, al
jne 0x14006859b
test byte [0x140175c08], 2
mov r14d, 1
je 0x140068306
cmp qword [rbp + 0x18], 0x10
lea rcx, [rbp]
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14006830b
cmp dword [rsi], 2
jl 0x14006834a
cmp qword [rbp + 0x18], 0x10
lea rdi, [rbp]
mov rbx, qword [rbp + 0x10]
mov ecx, 2
cmovae rdi, qword [rbp]
call fcn.14011a3a0
mov r9, rax
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.14011d144
mov ecx, 2
call fcn.14011a3a0
mov rcx, rax
call fcn.14011cc50
test byte [0x140175c08], r14b
je 0x140068385
call fcn.140067b20
test al, al
je 0x140068385
cmp qword [rbp + 0x18], 0x10
lea rdx, [rbp]
mov r8d, dword [rbp + 0x10]
lea r9, [rsp + 0x50]
cmovae rdx, qword [rbp]
mov rcx, qword [0x14017c090]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14006859b
mov rcx, qword [0x14017c138]
test rcx, rcx
je 0x1400683cb
cmp qword [rbp + 0x18], 0x10
lea rax, [rbp]
lea rdx, [rsp + 0x70]
cmovae rax, qword [rbp]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14007ba10
mov r8d, 0x400
lea rdx, [rbp]
cmp qword [rbp + 0x10], r8
cmovb r8, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
test r8, r8
je 0x1400683f6
lea rcx, [rbp + 0x20]
call fcn.140112c10
lea rcx, [rbp + 0x20]
call fcn.140083010
mov rax, qword [0x14017c0a0]
test rax, rax
je 0x14006858d
cmp rax, r14
je 0x140068424
mov rax, qword [0x14017c0a0]
test rax, rax
je 0x14006858d
lea rcx, [0x14017c0a0]
call fcn.140069880
cmp qword [rax + 0x20], r13
je 0x14006858d
lea rcx, [0x14017c0a0]
call fcn.140069880
mov rcx, qword [rax]
mov rbx, qword [rax + 0x20]
add rbx, qword [rax + 0x18]
mov rax, r13
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x48], rcx
test rcx, rcx
je 0x140068474
mov rdx, qword [rcx]
test rdx, rdx
je 0x140068474
mov rax, qword [rdx]
mov qword [rbp - 0x60], rax
dec rbx
mov qword [rbp - 0x50], rbx
test rax, rax
je 0x140068499
mov rax, qword [rax]
test rax, rax
je 0x140068499
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x140068499
mov rdx, qword [rax]
jmp 0x14006849c
mov rdx, r13
mov rax, qword [rdx + 0x10]
mov rcx, rbx
dec rax
shr rcx, 1
and rcx, rax
and ebx, r14d
mov rax, qword [rdx + 8]
mov rax, qword [rax + rcx*8]
mov rbx, qword [rax + rbx*8]
test rbx, rbx
je 0x14006859b
lock xadd dword [rbx], r14d
mov r8, qword [rbp + 0x18]
lea rcx, [rbp]
mov rdx, qword [rbp]
cmp r8, 0x10
cmovae rcx, rdx
or rdi, 0xffffffffffffffff
add rcx, r12
mov qword [rsp + 0x40], rcx
test rcx, rcx
jne 0x1400684f5
mov qword [rsp + 0x48], r13
jmp 0x140068512
cmp byte [rcx], r13b
jne 0x140068501
mov qword [rsp + 0x48], r13
jmp 0x140068512
mov rax, rdi
inc rax
cmp byte [rcx + rax], r13b
jne 0x140068504
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
lea rax, [rbp]
mov rcx, qword [rsi + 0xf0]
lea r9, [rbp - 0x70]
cmp r8, 0x10
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rsp + 0x30]
cmovae rax, rdx
sub r12, rcx
add rax, rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov eax, dword [rsi + 0x100]
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov rax, qword [rsi + 0xf8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp - 0x70], xmm0
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x14006859b
mov rcx, rbx
call qword [rbx + 0x10]
jmp 0x14006859b
cmp byte [0x14017c200], r13b
jne 0x14006864b
int3
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x1400685e9
mov rcx, qword [rbp]
inc rax
cmp rax, 0x1000
jb 0x1400685e4
test cl, 0x1f
jne 0x140068654
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006865a
sub rcx, rax
cmp rcx, 8
jb 0x140068660
cmp rcx, 0x27
ja 0x140068666
mov rcx, rax
call fcn.140111e78
mov ecx, dword [rsi + 0x104]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [r15 + 0x88]
call fcn.140069090
lea rax, vtable.std::ios_base.0
lea rcx, [r15 + 0x88]
mov qword [r15 + 0x88], rax
call fcn.140110bcc
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, r14d
call fcn.14011dff0
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3