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

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x488
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [0x140065020]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rdi, [rcx + 8]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14000d490
mov r14, qword [rbp - 0x18]
add r14, qword [rbp - 0x20]
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
mov rax, qword [rsi + rax + 0x48]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x18], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp - 0x20]
call fcn.14000f0b0
mov rbx, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [rbx + 0x40]
mov ebx, eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000cfe6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000cfe6
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, rdi
mov edx, ebx
call fcn.14000f490
mov rcx, rdi
call fcn.1400013a0
lea r15, [rsi + 0x10]
lea rbx, [rbp + 0x3e0]
mov rcx, r15
mov rdx, rbx
call fcn.14000eea0
mov rax, qword [0x140066068]
test rax, rax
je 0x14000d08a
mov r9, qword [rsi + 0xf0]
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
mov ecx, dword [rsi]
mov qword [rsp + 0x20], rbx
call rax
test al, al
je 0x14000d08a
mov rax, qword [rbp + 0x3f8]
cmp rax, 0x10
jb 0x14000d3b1
mov rcx, qword [rbp + 0x3e0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000d080
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000d47a
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.14002a000
jmp 0x14000d3b1
test byte [section..data], 2
jne 0x14000d0c0
cmp dword [rsi], 2
jl 0x14000d12e
mov ecx, 2
call fcn.140030640
mov rdx, qword [rbp + 0x3f0]
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d107
mov rcx, qword [rbp + 0x3e0]
jmp 0x14000d10e
cmp qword [rbp + 0x3f8], 0xf
mov rcx, rbx
jbe 0x14000d0d4
mov rcx, qword [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.140030640
mov rdx, qword [rbp + 0x3f0]
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d0fc
mov rbx, qword [rbp + 0x3e0]
mov r8d, 1
mov rcx, rbx
jmp 0x14000d114
lea rcx, [rbp + 0x3e0]
mov r8d, 1
mov r9, rax
call fcn.1400375f0
mov ecx, 2
call fcn.140030640
mov rcx, rax
call fcn.1400369f0
test byte [section..data], 1
je 0x14000d17b
call fcn.14000c5e0
test al, al
je 0x14000d17b
mov r8d, dword [rbp + 0x3f0]
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d15a
mov rdx, qword [rbp + 0x3e0]
jmp 0x14000d161
lea rdx, [rbp + 0x3e0]
mov rcx, qword [0x1400660a8]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14000d361
mov rcx, qword [0x140066380]
test rcx, rcx
je 0x14000d1c2
mov rax, qword [rbp + 0x3f0]
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d1aa
mov rdx, qword [rbp + 0x3e0]
jmp 0x14000d1b1
lea rdx, [rbp + 0x3e0]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
call fcn.1400140d0
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d1d5
mov rdx, qword [rbp + 0x3e0]
jmp 0x14000d1dc
lea rdx, [rbp + 0x3e0]
lea rbx, [rbp - 0x20]
mov r8d, 0x400
mov rcx, rbx
call fcn.140011c30
mov rcx, rbx
call fcn.140003820
mov rax, qword [0x140066080]
test rax, rax
je 0x14000d46c
mov rbx, qword [0x140066080]
cmp rbx, 1
ja 0x14000d259
lea rcx, [0x140066080]
call fcn.140012d50
test al, al
je 0x14000d252
xorps xmm0, xmm0
movups xmmword [0x140066098], xmm0
movups xmmword [0x140066088], xmm0
lea rbx, [0x140066088]
lea rcx, [0x140066080]
xor r8d, r8d
mov rdx, rbx
mov r9, rcx
call fcn.140012e00
jmp 0x14000d259
mov rbx, qword [0x140066080]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
je 0x14000d46c
mov rbx, qword [0x140066080]
cmp rbx, 1
ja 0x14000d2ba
lea rcx, [0x140066080]
call fcn.140012d50
test al, al
je 0x14000d2b3
xorps xmm0, xmm0
movups xmmword [0x140066098], xmm0
movups xmmword [0x140066088], xmm0
lea rbx, [0x140066088]
lea rcx, [0x140066080]
xor r8d, r8d
mov rdx, rbx
mov r9, rcx
call fcn.140012e00
jmp 0x14000d2ba
mov rbx, qword [0x140066080]
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14000d473
shl rdx, 3
add rdx, qword [rbx]
lea rcx, [rbp - 0x38]
call fcn.140011230
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14000d358
cmp qword [rbp + 0x3f8], 0xf
jbe 0x14000d302
mov rdi, qword [rbp + 0x3e0]
jmp 0x14000d309
lea rdi, [rbp + 0x3e0]
mov rcx, rdi
add rcx, r14
mov qword [rbp - 0x48], rcx
je 0x14000d31c
call fcn.14003b060
jmp 0x14000d31e
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword [rsi + 0xf0]
sub r14, rax
add rdi, rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
mov rcx, rbx
call qword [rbx + 8]
lea rcx, [rbp - 0x38]
call fcn.140011210
mov rax, qword [rbp + 0x3f8]
cmp rax, 0x10
jb 0x14000d3a6
mov rcx, qword [rbp + 0x3e0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000d3a1
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000d47a
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.14002a000
mov qword [rbp + 0x3f8], 0xf
lea rcx, [rsi + 0x104]
call fcn.140012e60
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x14004d9f0]
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, [0x14004da00]
mov qword [rsi + 0x10], rax
mov rcx, r15
call fcn.14000e580
lea rax, [0x14004da80]
mov qword [rsi + 0x10], rax
mov rdi, qword [rsi + 0x70]
lea rsi, [rsi + 0x90]
test rdi, rdi
je 0x14000d43a
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000d432
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000d432
mov rbx, qword [rax]
mov edx, 1
mov rcx, rax
call qword [rbx]
mov rcx, rdi
call fcn.140029ff0
lea rax, [0x14004daf8]
mov qword [rsi], rax
mov rcx, rsi
call fcn.14002b6d0
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.14002a340
nop
add rsp, 0x488
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
int3
int3
call fcn.140034cb0
ud2