Function at 0x14000ed70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov r13, rcx
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.libp3dtool.dll_void___cdecl_preprocess_argv_int____ptr64__char____ptr64____ptr64____ptr64_]
mov rax, qword [sym.imp.libp3dtool.dll_panda_optind]
xor esi, esi
or r12, 0xffffffffffffffff
mov dword [rax], esi
mov rax, qword [rbp + 0x200]
mov rdx, qword [rax]
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], sil
cmp byte [rdx], sil
jne 0x14000eddd
mov r8d, esi
jmp 0x14000ede9
mov r8, r12
inc r8
cmp byte [rdx + r8], sil
jne 0x14000ede0
lea rcx, [rsp + 0x30]
call fcn.140002d60
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x150]
call qword [sym.imp.libp3dtool.dll_public:_static_class_Filename___cdecl_Filename::from_os_specific_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__enum_Filename::Type_]
mov rdx, rax
lea rcx, [r13 + 8]
call qword [sym.imp.libp3dtool.dll_public:_class_Filename____ptr64___cdecl_Filename::operator_class_Filename____ptr64____ptr64]
lea rcx, [rbp + 0x150]
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_Filename::destructor_void____ptr64]
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x14000ee7e
mov rcx, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x14000ee79
test cl, 0x1f
je 0x14000ee49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000ee59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000ee69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14000ee76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400139a0
mov qword [rsp + 0x2f0], rbx
mov qword [rsp + 0x2b8], rdi
mov edi, dword [rbp + 0x1f8]
mov qword [rsp + 0x2b0], r14
mov r14d, 1
cmp edi, r14d
jle 0x14000f043
mov esi, 8
mov rax, qword [rbp + 0x200]
mov rdx, qword [rsi + rax]
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], 0
mov byte [rsp + 0x70], 0
cmp byte [rdx], 0
jne 0x14000eeda
xor r8d, r8d
jmp 0x14000eeea
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14000eee0
lea rcx, [rsp + 0x70]
call fcn.140002d60
mov rax, qword [r13 + 0x88]
inc rax
cmp qword [r13 + 0x78], rax
ja 0x14000ef12
mov edx, 1
lea rcx, [r13 + 0x60]
call fcn.140007170
mov rax, qword [r13 + 0x78]
dec rax
and qword [r13 + 0x80], rax
mov rdx, qword [r13 + 0x80]
add rdx, qword [r13 + 0x88]
mov rax, qword [r13 + 0x78]
dec rax
and rdx, rax
mov rax, qword [r13 + 0x70]
lea rdi, [rdx*8]
cmp qword [rdi + rax], 0
jne 0x14000ef62
mov edx, 0x20
lea rcx, [r13 + 0x60]
call qword [sym.imp.libp3dtool.dll_public:_void____ptr64___cdecl_TypeHandle::allocate_array_unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, qword [r13 + 0x70]
mov qword [rdi + rcx], rax
mov rax, qword [r13 + 0x70]
mov rdi, qword [rdi + rax]
test rdi, rdi
je 0x14000efd4
xor ecx, ecx
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rcx
mov byte [rdi], cl
cmp qword [rbp - 0x78], 0x10
jae 0x14000efa2
mov r8, qword [rbp - 0x80]
add r8, 1
je 0x14000efaf
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor ecx, ecx
jmp 0x14000efaf
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp - 0x80]
xor dl, dl
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 0x18], rax
mov eax, 0xf
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], rcx
mov byte [rsp + 0x70], dl
jmp 0x14000efdd
mov rax, qword [rbp - 0x78]
movzx edx, byte [rsp + 0x70]
inc qword [r13 + 0x88]
cmp rax, 0x10
jb 0x14000f02b
mov rcx, qword [rsp + 0x70]
inc rax
cmp rax, 0x1000
jb 0x14000f026
test dl, 0x1f
jne 0x14000f0ab
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000f0a4
sub rcx, rax
cmp rcx, 8
jb 0x14000f09d
cmp rcx, 0x27
ja 0x14000f096
mov rcx, rax
call fcn.1400139a0
mov edi, dword [rbp + 0x1f8]
inc r14d
add rsi, 8
cmp r14d, edi
jl 0x14000eeb0
xor esi, esi
cmp qword [r13 + 0xb0], 0
jne 0x14000f0ed
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 8]
call qword [sym.imp.libp3dtool.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Filename::get_basename_wo_extension_void____ptr64]
mov rdx, rax
lea rcx, [r13 + 0xa0]
call fcn.140006940
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x14000f0e7
mov rcx, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x14000f0e2
test cl, 0x1f
je 0x14000f0b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000f0c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000f0d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14000f0df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400139a0
mov edi, dword [rbp + 0x1f8]
cmp edi, 1
jle 0x14000f227
mov rbx, qword [rbp + 0x200]
lea rdx, str._write_man
mov rcx, qword [rbx + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000f227
cmp edi, 2
jne 0x14000f12e
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, r13
call fcn.140010a90
jmp 0x14000f1ff
cmp edi, 3
jne 0x14000f208
mov rdx, qword [rbx + 0x10]
nop dword [rax + rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x14000f140
cmp r12, 1
jne 0x14000f169
cmp byte [rdx], 0x2d
jne 0x14000f169
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, r13
call fcn.140010a90
jmp 0x14000f1ff
mov r9d, 1
lea rcx, [rbp]
lea r8d, [r9 + 0x11]
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_OFileStream::constructor_char_const____ptr64__int____ptr64]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0x10], 6
je 0x14000f1c1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_output_file
call fcn.140001450
mov rdx, qword [rbp + 0x200]
mov rcx, rax
mov rdx, qword [rdx + 0x10]
call fcn.140001450
mov rcx, rax
lea rdx, [0x1400173cc]
call fcn.140001450
lea rdx, [rbp]
mov rcx, r13
call fcn.140010a90
lea rcx, [rbp + 8]
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_PandaFileStreamBuf::close_void____ptr64]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.libp3dtool.dll_public_virtual:_void___cdecl_OFileStream::destructor_void____ptr64]
mov rax, qword [sym.imp.MSVCP140.dll_const_std::ios_base::vftable]
lea rcx, [rbp + 0xe8]
mov qword [rbp + 0xe8], rax
call qword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::ios_base::_Ios_base_dtor_class_std::ios_base____ptr64_]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Invalid_number_of_options_for__write_man__n
call fcn.140001450
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [sym.imp.libp3dtool.dll_class_TypeHandle_pvector_type_handle]
xorps xmm0, xmm0
mov ecx, dword [rax]
mov rax, qword [sym.imp.libp3dtool.dll_class_TypeHandle_pmap_type_handle]
mov dword [rsp + 0x50], ecx
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], rsi
mov byte [rbp - 0x58], 0
mov ebx, dword [rax]
mov rax, qword [0x14001f140]
mov dword [rbp - 0x70], ebx
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
test rax, rax
jne 0x14000f294
call qword [sym.imp.libp3dtool.dll_void___cdecl_init_memory_hook_void_]
mov rcx, qword [sym.imp.libp3dtool.dll_class_MemoryHook____ptr64___ptr64_memory_hook]
mov edx, 0x30
mov rcx, qword [rcx]
call qword [sym.imp.libp3dtool.dll_public:_class_DeletedBufferChain____ptr64___cdecl_MemoryHook::get_deleted_chain_unsigned_long_long_unsigned___int64_____ptr64]
mov qword [0x14001f140], rax
mov r8d, ebx
mov edx, 0x30
mov rcx, rax
call qword [sym.imp.libp3dtool.dll_public:_void____ptr64___cdecl_DeletedBufferChain::allocate_unsigned_long_long_unsigned___int64___class_TypeHandle____ptr64]
mov rcx, qword [sym.imp.libp3dtool.dll_class_MemoryHook____ptr64___ptr64_memory_hook]
xor r9d, r9d
mov r8, qword [0x14001f140]
mov rdx, rax
mov rbx, rax
mov rcx, qword [rcx]
mov r8, qword [r8 + 0x30]
mov r10, qword [rcx]
call qword [r10 + 0x40]
test rbx, rbx
je 0x14000f2d2
mov qword [rbx], rbx
lea rax, [rbx + 8]
test rax, rax
je 0x14000f2de
mov qword [rax], rbx
lea rax, [rbx + 0x10]
test rax, rax
je 0x14000f2ea
mov qword [rax], rbx
mov word [rbx + 0x18], 0x101
lea rdx, [0x140016134]
mov r8d, 1
mov qword [rbp - 0x68], rbx
lea rcx, [rbp - 0x58]
mov r14d, pe_nt_image_headers64
call fcn.140002d60
mov rax, qword [r13 + 0x128]
movabs r15, 0x7ffffffffffffff
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000f58b
nop dword [rax]
cmp qword [rbx + 0x50], 1
lea rdi, [rbx + 0x40]
jne 0x14000f379
cmp qword [rdi + 0x18], 0x10
jb 0x14000f347
mov rax, qword [rdi]
jmp 0x14000f34a
mov rax, rdi
movsx eax, byte [rax]
lea rcx, [rbp - 0x58]
mov r9, r12
mov dword [rbp + 0x208], eax
xor r8d, r8d
mov rdx, rdi
call fcn.140002890
cmp qword [rdi + 0x30], 0
je 0x14000f383
mov dl, 0x3a
lea rcx, [rbp - 0x58]
call fcn.140006aa0
jmp 0x14000f383
inc r14d
mov dword [rbp + 0x208], r14d
cmp qword [rdi + 0x18], 0x10
jb 0x14000f38f
mov rax, qword [rdi]
jmp 0x14000f392
mov rax, rdi
cmp qword [rdi + 0x30], 0
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov eax, esi
setne al
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x208]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x30]
cmp rax, rcx
jae 0x14000f47d
lea rax, [rsp + 0x30]
cmp r8, rax
ja 0x14000f47d
mov r9, qword [rsp + 0x68]
lea rsi, [rsp + 0x30]
sub rsi, r8
cmp rcx, r9
jne 0x14000f452
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x14000f452
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jb 0x14000f60e
sub r9, r8
lea rdx, [rcx + 1]
sar r9, 5
xor r8d, r8d
mov rax, r9
mov rcx, r15
shr rax, 1
sub rcx, rax
add rax, r9
cmp rcx, r9
lea rcx, [rsp + 0x50]
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
call fcn.14000c170
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
test rcx, rcx
je 0x14000f472
and rsi, 0xffffffffffffffe0
movups xmm0, xmmword [rsi + r8]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rsi + r8 + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x60]
add rcx, 0x20
xor esi, esi
jmp 0x14000f507
mov r9, qword [rsp + 0x68]
cmp rcx, r9
jne 0x14000f4e8
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x14000f4e8
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jb 0x14000f61c
sub r9, r8
lea rdx, [rcx + 1]
sar r9, 5
mov rcx, r15
mov rax, r9
mov r8, rsi
shr rax, 1
sub rcx, rax
add rax, r9
cmp rcx, r9
lea rcx, [rsp + 0x50]
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
call fcn.14000c170
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000f503
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x60]
add rcx, 0x20
mov qword [rsp + 0x60], rcx
lea r8, [rbp + 0x208]
lea rcx, [rbp - 0x70]
lea rdx, [rsp + 0x70]
call fcn.14000ad20
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x28], rdi
cmp byte [rbx + 0x19], 0
jne 0x14000f57e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14000f55e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14000f57e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000f550
jmp 0x14000f57e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14000f57b
cmp rbx, qword [rax + 0x10]
jne 0x14000f57b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14000f568
mov rbx, rax
cmp rbx, qword [r13 + 0x128]
jne 0x14000f330
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
cmp rax, rcx
jae 0x14000f67f
mov r8, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
cmp r8, rax
ja 0x14000f67f
mov r9, qword [rsp + 0x68]
lea rbx, [rsp + 0x30]
sub rbx, r8
cmp rcx, r9
jne 0x14000f666
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x14000f666
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jae 0x14000f62a
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rdx, [rcx + 1]
sub r9, r8
sar r9, 5
mov rcx, rsi
mov rax, r9
shr rax, 1
sub r15, rax
add rax, r9
cmp r15, r9
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000c170
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
test rcx, rcx
je 0x14000f6b5
and rbx, 0xffffffffffffffe0
movups xmm0, xmmword [rbx + r8]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + r8 + 0x10]
jmp 0x14000f6ac
cmp rcx, qword [rsp + 0x68]
jne 0x14000f69a
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.14000c2b0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000f6b5
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x60]
mov rax, qword [sym.imp.libp3dtool.dll_class_TypeHandle_pdeque_type_handle]
add rcx, 0x20
mov qword [rsp + 0x60], rcx
xorps xmm0, xmm0
mov edx, 0x10
lea rcx, [rbp + 0x208]
mov eax, dword [rax]
mov dword [rbp - 0x38], eax
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x208], eax
call qword [sym.imp.libp3dtool.dll_public:_void____ptr64___cdecl_TypeHandle::allocate_array_unsigned_long_long_unsigned___int64_____ptr64]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14000f709
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rsi
mov qword [rax], rcx
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
mov rdi, qword [rsp + 0x58]
cmovae r8, qword [rbp - 0x58]
mov r9, rdi
mov rdx, qword [rbp + 0x200]
mov ecx, dword [rbp + 0x1f8]
call qword [sym.imp.libp3dtool.dll_panda_getopt_long_only]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000f898
nop dword [rax]
mov rcx, qword [sym.imp.libp3dtool.dll_panda_optarg]
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
mov rdx, qword [rcx]
test rdx, rdx
je 0x14000f794
cmp byte [rdx], 0
jne 0x14000f77c
mov r8, rsi
jmp 0x14000f78a
mov r8, r12
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14000f780
lea rcx, [rsp + 0x30]
call fcn.140002d60
mov ecx, ebx
sub ecx, 1
je 0x14000f84c
cmp ecx, 0x3e
je 0x14000f8da
mov rdx, qword [rbp - 0x68]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x14000f8be
nop dword [rax]
cmp dword [rax + 0x20], ebx
jge 0x14000f7cb
mov rax, qword [rax + 0x10]
jmp 0x14000f7d1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000f7c0
cmp rcx, rdx
je 0x14000f8be
cmp ebx, dword [rcx + 0x20]
jl 0x14000f8be
mov rbx, qword [rcx + 0x28]
mov al, 1
mov r9, qword [rbx + 0x68]
test r9, r9
je 0x14000f80a
mov r8, qword [rbx + 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call r9
mov r10, qword [rbx + 0x70]
test r10, r10
je 0x14000f828
mov r9, qword [rbx + 0x80]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, r13
call r10
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14000f834
mov byte [rcx], 1
test al, al
jne 0x14000f85a
mov rcx, r13
call fcn.140010170
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140008fb0
cmp qword [rbp - 0x40], 0x10
lea r8, [rbp - 0x58]
mov rdx, qword [rbp + 0x200]
mov r9, rdi
cmovae r8, qword [rbp - 0x58]
mov ecx, dword [rbp + 0x1f8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.libp3dtool.dll_panda_getopt_long_only]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.140001e90
cmp ebx, 0xffffffff
jne 0x14000f750
mov rax, qword [r13]
lea rdx, [rbp - 0x38]
mov rcx, r13
call qword [rax + 0x10]
mov rcx, r13
test al, al
jne 0x14000f8ee
call fcn.140010170
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.libp3dtoolconfig.dll_public:_static_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_Notify::out_void_]
mov rcx, rax
lea rdx, str.Internal_error___Invalid_option_index_returned._n
call fcn.140001450
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, r13
call fcn.140010170
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [r13]
call qword [rax + 0x18]
test al, al
jne 0x14000f90d
mov rcx, r13
call fcn.140010170
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp - 0x38]
call fcn.14000c3a0
mov eax, dword [rbp - 0x38]
lea rcx, [rbp + 0x208]
mov rdx, qword [rbp - 0x30]
mov dword [rbp + 0x208], eax
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_TypeHandle::deallocate_array_void____ptr64____ptr64]
mov r8, qword [rbp - 0x68]
lea rdx, [rbp + 0x208]
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x70]
mov r9, r8
mov r8, qword [r8]
call fcn.14000cc40
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x70]
call fcn.14000bf60
lea rcx, [rbp - 0x58]
call fcn.140001e90
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000f979
lea rcx, [rsp + 0x50]
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_TypeHandle::deallocate_array_void____ptr64____ptr64]
mov rdi, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2b0]
add rsp, 0x2c0
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret