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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x5a8
mov r12, rcx
mov rax, qword [0x14008a048]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
lea rdi, [rcx + 8]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14000bc60
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x68]
cmp dword [r12], 3
jne 0x14000ab9f
call fcn.1400164f0
test al, al
jne 0x14000ab9f
lea rcx, [rsp + 0x68]
call fcn.140016530
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x498], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x490]
call fcn.14000f010
mov rbx, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbx + 0x40]
mov ebx, eax
mov rcx, qword [rsp + 0x498]
test rcx, rcx
je 0x14000ab80
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000ab80
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rcx, rdi
mov edx, ebx
call fcn.140010870
mov rcx, rdi
call fcn.140002f60
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.140016540
mov rax, qword [rdi]
movsxd rax, dword [rax + 4]
mov rax, qword [rdi + rax + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x68]
call fcn.14000f010
mov rbx, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbx + 0x40]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000abf3
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000abf3
mov rsi, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rsi]
mov rcx, rdi
mov edx, ebx
call fcn.140010870
mov rcx, rdi
call fcn.140002f60
lea rdi, [r12 + 0x10]
lea rbx, [rsp + 0x470]
mov rcx, rdi
mov rdx, rbx
call fcn.140003070
mov rax, qword [0x14008c140]
test rax, rax
je 0x14000ac54
mov r9, qword [r12 + 0xf0]
mov r8d, dword [r12 + 0x100]
mov rdx, qword [r12 + 0xf8]
mov ecx, dword [r12]
mov qword [rsp + 0x20], rbx
call rax
test al, al
jne 0x14000afbd
test byte [section..data], 2
jne 0x14000ac8f
cmp dword [r12], 2
jl 0x14000ad03
mov ecx, 2
call fcn.14004eae0
mov rdx, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x14000acdb
mov rcx, qword [rsp + 0x470]
jmp 0x14000ace3
cmp qword [rsp + 0x488], 0xf
mov rcx, rbx
jbe 0x14000aca5
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.14004eae0
mov rdx, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x14000acd0
mov rbx, qword [rsp + 0x470]
mov r8d, 1
mov rcx, rbx
jmp 0x14000ace9
lea rcx, [rsp + 0x470]
mov r8d, 1
mov r9, rax
call fcn.140055fa0
mov ecx, 2
call fcn.14004eae0
mov rcx, rax
call fcn.140055000
test byte [section..data], 1
je 0x14000ad55
call fcn.14000b0d0
test al, al
je 0x14000ad55
mov r8d, dword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x14000ad32
mov rdx, qword [rsp + 0x470]
jmp 0x14000ad3a
lea rdx, [rsp + 0x470]
mov rcx, qword [0x14008c180]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [r12], 3
jne 0x14000afbd
mov rcx, qword [0x14008c440]
test rcx, rcx
je 0x14000ada5
mov rax, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x14000ad89
mov rdx, qword [rsp + 0x470]
jmp 0x14000ad91
lea rdx, [rsp + 0x470]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
call fcn.140018180
mov dword [rsp + 0x68], 0xbedead01
mov dword [rsp + 0x46c], 0x5050dead
cmp qword [rsp + 0x488], 0xf
jbe 0x14000adcd
mov rdx, qword [rsp + 0x470]
jmp 0x14000add5
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x6c]
mov r8d, 0x400
call fcn.1400138b0
lea rcx, [rsp + 0x68]
call fcn.140002780
mov rax, qword [0x14008c158]
test rax, rax
je 0x14000ae58
mov rbx, qword [0x14008c158]
cmp rbx, 1
ja 0x14000ae4e
lea rcx, [0x14008c158]
call fcn.1400199b0
test al, al
je 0x14000ae47
xorps xmm0, xmm0
movups xmmword [0x14008c170], xmm0
movups xmmword [0x14008c160], xmm0
lea rbx, [0x14008c160]
lea rcx, [0x14008c158]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.140019a60
jmp 0x14000ae4e
mov rbx, qword [0x14008c158]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
jne 0x14000ae62
call fcn.140016510
jmp 0x14000afbd
mov rbx, qword [0x14008c158]
cmp rbx, 1
ja 0x14000aeb5
lea rcx, [0x14008c158]
call fcn.1400199b0
test al, al
je 0x14000aeae
xorps xmm0, xmm0
movups xmmword [0x14008c170], xmm0
movups xmmword [0x14008c160], xmm0
lea rbx, [0x14008c160]
lea rcx, [0x14008c158]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.140019a60
jmp 0x14000aeb5
mov rbx, qword [0x14008c158]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
cmove rcx, rax
add rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
cmp rcx, rax
jbe 0x14000af14
lea rdx, [rbx + 8]
lea r8, str.i___capacity_
lea rcx, [rsp + 0x60]
call fcn.14000d250
test rax, rax
je 0x14000af14
lea rdx, str..._.._base_containers_vector_buffer.h
lea r14, [rsp + 0x490]
mov rcx, r14
mov r8d, 0x55
mov r9, rax
call fcn.14000bab0
mov rcx, r14
call fcn.14000aac0
mov rdx, qword [rsp + 0x60]
shl rdx, 3
add rdx, qword [rbx]
lea rcx, [rsp + 0x490]
call fcn.140019af0
mov r14, qword [rsp + 0x490]
test r14, r14
je 0x14000afb0
cmp qword [rsp + 0x488], 0xf
jbe 0x14000af4f
mov rbx, qword [rsp + 0x470]
jmp 0x14000af57
lea rbx, [rsp + 0x470]
mov rcx, rbx
add rcx, r15
mov qword [rsp + 0x40], rcx
je 0x14000af6b
call fcn.140059b00
jmp 0x14000af6d
xor eax, eax
mov qword [rsp + 0x48], rax
mov rax, qword [r12 + 0xf0]
sub r15, rax
add rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
mov r8d, dword [r12 + 0x100]
mov rdx, qword [r12 + 0xf8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, r14
call qword [r14 + 8]
lea rcx, [rsp + 0x490]
call fcn.140019ad0
mov rax, qword [rsp + 0x488]
cmp rax, 0x10
jb 0x14000b004
mov rcx, qword [rsp + 0x470]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000afff
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000b0c9
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.140049510
lea rcx, [r12 + 0x104]
call fcn.1400164d0
mov rax, qword [r12 + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x14006b158]
mov qword [r12 + rax + 8], rcx
mov rax, qword [r12 + 8]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [r12 + rax + 4], ecx
lea rax, [0x14006b2b0]
mov qword [r12 + 0x10], rax
mov rcx, rdi
call fcn.140002e30
lea rax, [0x14006b330]
mov qword [r12 + 0x10], rax
mov rdi, qword [r12 + 0x70]
lea rsi, [r12 + 0x90]
test rdi, rdi
je 0x14000b095
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000b08d
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000b08d
mov rbx, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbx]
mov rcx, rdi
call fcn.140049500
lea rax, [0x14006b160]
mov qword [rsi], rax
mov rcx, rsi
call fcn.140049770
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.140049530
nop
add rsp, 0x5a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140053350
ud2