Function at 0x14000c690
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, 0x488
mov r13, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rax, [0x1401f2a88]
mov qword [rcx], rax
lea r12, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
movsxd rcx, dword [rax + 4]
test byte [r13 + rcx + 0x30], 5
jne 0x14000c8b7
mov rcx, qword [r12 + rcx + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov dword [rsp + 0x20], 0x10
lea rbx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 1
call qword [0x14023a010]
mov r14, qword [rbx + 8]
mov rax, qword [r12]
movsxd rax, dword [rax + 4]
mov rax, qword [r13 + rax + 0x40]
lea rsi, [rsp + 0x80]
mov qword [rsi], rax
lock inc dword [rax + 8]
lea rdx, [0x140224930]
mov rcx, rsi
call fcn.14010e3f0
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x38]
mov rcx, rax
mov dl, 0xa
mov rax, rdi
call qword [0x14023a010]
mov ebx, eax
mov rcx, rsi
call fcn.14010e3c0
mov rcx, r12
mov edx, ebx
call fcn.14000cbc0
mov rcx, r12
call fcn.14000cab0
lea r15, [r13 + 0x18]
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x10], rsi
movaps xmm0, xmmword [0x1401efb80]
movaps xmmword [rbx], xmm0
mov rcx, r15
mov rdx, rbx
call fcn.14000d210
test byte [0x14021b440], 0x19
jne 0x14000c8c3
mov eax, dword [0x14021ae98]
test al, 2
jne 0x14000c8dc
test al, 4
jne 0x14000c86b
cmp dword [r13 + 8], 2
jl 0x14000c7c7
cmp eax, 1
jbe 0x14000c86b
test al, 1
jne 0x14000c8fc
cmp dword [r13 + 8], 3
je 0x14000c949
cmp byte [rsp + 0x77], 0
jns 0x14000c7eb
mov rcx, qword [rsp + 0x60]
call fcn.14011d780
lea rcx, [r13 + 0x12c]
call fcn.1400d5350
lea rbx, [r13 + 0x80]
mov rax, qword [r13 + 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1401f1fd0]
mov qword [r13 + rax + 0x10], rcx
lea rax, [0x1401f1fe0]
mov qword [r13 + 0x18], rax
cmp byte [r13 + 0x6f], 0
jns 0x14000c82e
mov rcx, qword [r12 + 0x48]
call fcn.14011d780
mov rcx, r15
call fcn.1400d5330
mov rcx, r15
call fcn.1400d3880
mov rcx, rbx
call fcn.1400d5320
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14011fe20
nop
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x60]
movzx ebx, byte [rdi + 0x17]
test bl, bl
cmovs rbx, qword [rdi + 8]
cmovs rdi, qword [rdi]
test rbx, rbx
je 0x14000c7c7
xor ebp, ebp
mov r8d, ebx
sub r8d, ebp
lea rdx, [rdi + rbp]
mov ecx, 2
call fcn.14011d8b4
test eax, eax
js 0x14000c8ac
mov eax, eax
add rbp, rax
cmp rbx, rbp
ja 0x14000c88a
mov eax, dword [0x14021ae98]
jmp 0x14000c7c7
mov r14, 0xffffffffffffffff
jmp 0x14000c710
lea rcx, [rsp + 0x80]
mov qword [rcx], r13
mov qword [rcx + 8], rbx
call fcn.14016de30
jmp 0x14000c7a1
cmp byte [rsp + 0x77], 0
jns 0x14000c8e8
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14021ae98]
jmp 0x14000c7af
call fcn.14016db40
test al, al
je 0x14000c7cf
lea r9, [rsp + 0x80]
mov dword [r9], 0xaaaaaaaa
lea rdx, [rsp + 0x60]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8d, dword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [0x1402256c8]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000c7cf
mov rcx, qword [0x140227618]
test rcx, rcx
je 0x14000c97e
lea rax, [rsp + 0x60]
movzx ebp, byte [rax + 0x17]
test bpl, bpl
mov rbx, qword [rax]
cmovns rbx, rax
lea rdx, [rsp + 0x50]
mov qword [rdx], rbx
cmovs rbp, qword [rax + 8]
mov qword [rdx + 8], rbp
call fcn.140178c80
lea rbx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.140122050
cmp byte [rsp + 0x77], 0
jns 0x14000c9a4
mov rdx, qword [rsp + 0x60]
jmp 0x14000c9a9
lea rdx, [rsp + 0x60]
mov r8d, 0x400
mov rcx, rbx
call fcn.14011c580
mov rcx, rbx
call fcn.1400d3880
call fcn.14016ddc0
mov rax, qword [0x1402256e0]
cmp rax, qword [0x1402256e8]
je 0x14000ca99
mov qword [rsp + 0x48], rsi
call fcn.14016ddc0
mov rdx, qword [0x1402256e8]
test rdx, rdx
mov rax, qword [0x1402256d8]
cmove rdx, rax
dec rdx
cmp rax, rdx
jb 0x14000ca9c
shl rdx, 3
add rdx, qword [0x1402256d0]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1401034c0
mov rsi, qword [rsi]
test rsi, rsi
je 0x14000ca8a
cmp byte [rsp + 0x77], 0
jns 0x14000ca31
mov rdi, qword [rsp + 0x60]
jmp 0x14000ca36
lea rdi, [rsp + 0x60]
mov rcx, rdi
add rcx, r14
mov qword [rsp + 0x38], rcx
je 0x14000ca9f
call fcn.14013dc90
lea rcx, [rsp + 0x38]
mov qword [rcx + 8], rax
mov rax, qword [r13 + 0x118]
sub r14, rax
add rdi, rax
lea r9, [rsp + 0x28]
mov qword [r9], rdi
mov qword [r9 + 8], r14
mov r8d, dword [r13 + 0x128]
mov rdx, qword [r13 + 0x120]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [0x14023a010]
lea rcx, [rsp + 0x48]
call fcn.1400e7640
jmp 0x14000c7da
int3
int3
int3