Function at 0x1400186e0
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 [0x140125058]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
lea rdi, [rcx + 8]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140019880
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x68]
cmp dword [r12], 3
jne 0x1400187bf
call fcn.14002a990
test al, al
jne 0x1400187bf
lea rcx, [rsp + 0x68]
call fcn.14002a9d0
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.14000cf40
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 0x1400187a0
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400187a0
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rcx, rdi
mov edx, ebx
call fcn.14001a850
mov rcx, rdi
call fcn.1400013a0
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.14002a9e0
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.14000cf40
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 0x140018813
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140018813
mov rsi, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rsi]
mov rcx, rdi
mov edx, ebx
call fcn.14001a850
mov rcx, rdi
call fcn.1400013a0
lea rdi, [r12 + 0x10]
lea rbx, [rsp + 0x470]
mov rcx, rdi
mov rdx, rbx
call fcn.14000dbb0
mov rax, qword [0x140128a38]
test rax, rax
je 0x140018874
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 0x140018bdd
test byte [section..data], 2
jne 0x1400188af
cmp dword [r12], 2
jl 0x140018923
mov ecx, 2
call fcn.1400cdb40
mov rdx, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x1400188fb
mov rcx, qword [rsp + 0x470]
jmp 0x140018903
cmp qword [rsp + 0x488], 0xf
mov rcx, rbx
jbe 0x1400188c5
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.1400cdb40
mov rdx, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x1400188f0
mov rbx, qword [rsp + 0x470]
mov r8d, 1
mov rcx, rbx
jmp 0x140018909
lea rcx, [rsp + 0x470]
mov r8d, 1
mov r9, rax
call fcn.1400dbe40
mov ecx, 2
call fcn.1400cdb40
mov rcx, rax
call fcn.1400db360
test byte [section..data], 1
je 0x140018975
call fcn.140018cf0
test al, al
je 0x140018975
mov r8d, dword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x140018952
mov rdx, qword [rsp + 0x470]
jmp 0x14001895a
lea rdx, [rsp + 0x470]
mov rcx, qword [0x140128a78]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [r12], 3
jne 0x140018bdd
mov rcx, qword [0x140128e88]
test rcx, rcx
je 0x1400189c5
mov rax, qword [rsp + 0x480]
cmp qword [rsp + 0x488], 0xf
jbe 0x1400189a9
mov rdx, qword [rsp + 0x470]
jmp 0x1400189b1
lea rdx, [rsp + 0x470]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
call fcn.14002c620
mov dword [rsp + 0x68], 0xbedead01
mov dword [rsp + 0x46c], 0x5050dead
cmp qword [rsp + 0x488], 0xf
jbe 0x1400189ed
mov rdx, qword [rsp + 0x470]
jmp 0x1400189f5
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x6c]
mov r8d, 0x400
call fcn.140024f80
lea rcx, [rsp + 0x68]
call fcn.140004c50
mov rax, qword [0x140128a50]
test rax, rax
je 0x140018a78
mov rbx, qword [0x140128a50]
cmp rbx, 1
ja 0x140018a6e
lea rcx, [0x140128a50]
call fcn.14002dea0
test al, al
je 0x140018a67
xorps xmm0, xmm0
movups xmmword [0x140128a68], xmm0
movups xmmword [0x140128a58], xmm0
lea rbx, [0x140128a58]
lea rcx, [0x140128a50]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.14002df50
jmp 0x140018a6e
mov rbx, qword [0x140128a50]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
jne 0x140018a82
call fcn.14002a9b0
jmp 0x140018bdd
mov rbx, qword [0x140128a50]
cmp rbx, 1
ja 0x140018ad5
lea rcx, [0x140128a50]
call fcn.14002dea0
test al, al
je 0x140018ace
xorps xmm0, xmm0
movups xmmword [0x140128a68], xmm0
movups xmmword [0x140128a58], xmm0
lea rbx, [0x140128a58]
lea rcx, [0x140128a50]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.14002df50
jmp 0x140018ad5
mov rbx, qword [0x140128a50]
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 0x140018b34
lea rdx, [rbx + 8]
lea r8, str.i___capacity_
lea rcx, [rsp + 0x60]
call fcn.14000dc60
test rax, rax
je 0x140018b34
lea rdx, str..._.._base_containers_vector_buffer.h
lea r14, [rsp + 0x490]
mov rcx, r14
mov r8d, 0x55
mov r9, rax
call fcn.1400196d0
mov rcx, r14
call fcn.1400186e0
mov rdx, qword [rsp + 0x60]
shl rdx, 3
add rdx, qword [rbx]
lea rcx, [rsp + 0x490]
call fcn.14000eab0
mov r14, qword [rsp + 0x490]
test r14, r14
je 0x140018bd0
cmp qword [rsp + 0x488], 0xf
jbe 0x140018b6f
mov rbx, qword [rsp + 0x470]
jmp 0x140018b77
lea rbx, [rsp + 0x470]
mov rcx, rbx
add rcx, r15
mov qword [rsp + 0x40], rcx
je 0x140018b8b
call fcn.1400dff30
jmp 0x140018b8d
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.14000ea90
mov rax, qword [rsp + 0x488]
cmp rax, 0x10
jb 0x140018c24
mov rcx, qword [rsp + 0x470]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140018c1f
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140018ce9
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400a8a80
lea rcx, [r12 + 0x104]
call fcn.14002a970
mov rax, qword [r12 + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x1400f5668]
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, [0x1400f5680]
mov qword [r12 + 0x10], rax
mov rcx, rdi
call fcn.14000d7e0
lea rax, [0x1400f5700]
mov qword [r12 + 0x10], rax
mov rdi, qword [r12 + 0x70]
lea rsi, [r12 + 0x90]
test rdi, rdi
je 0x140018cb5
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140018cad
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140018cad
mov rbx, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbx]
mov rcx, rdi
call fcn.1400a8a70
lea rax, [0x1400f5670]
mov qword [rsi], rax
mov rcx, rsi
call fcn.1400aaa90
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1400a8dd0
nop
add rsp, 0x5a8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400d9340
ud2