Function at 0x140038390
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 0x1400383fd
mov r8d, esi
jmp 0x140038409
mov r8, r12
inc r8
cmp byte [rdx + r8], sil
jne 0x140038400
lea rcx, [rsp + 0x30]
call fcn.140003cf0
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 0x14003849e
mov rcx, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x140038499
test cl, 0x1f
je 0x140038469
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 0x140038479
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 0x140038489
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140038496
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14003ea5c
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 0x140038663
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 0x1400384fa
xor r8d, r8d
jmp 0x14003850a
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140038500
lea rcx, [rsp + 0x70]
call fcn.140003cf0
mov rax, qword [r13 + 0x88]
inc rax
cmp qword [r13 + 0x78], rax
ja 0x140038532
mov edx, 1
lea rcx, [r13 + 0x60]
call fcn.14002cdb0
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 0x140038582
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 0x1400385f4
xor ecx, ecx
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rcx
mov byte [rdi], cl
cmp qword [rbp - 0x78], 0x10
jae 0x1400385c2
mov r8, qword [rbp - 0x80]
add r8, 1
je 0x1400385cf
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor ecx, ecx
jmp 0x1400385cf
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 0x1400385fd
mov rax, qword [rbp - 0x78]
movzx edx, byte [rsp + 0x70]
inc qword [r13 + 0x88]
cmp rax, 0x10
jb 0x14003864b
mov rcx, qword [rsp + 0x70]
inc rax
cmp rax, 0x1000
jb 0x140038646
test dl, 0x1f
jne 0x1400386cb
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400386c4
sub rcx, rax
cmp rcx, 8
jb 0x1400386bd
cmp rcx, 0x27
ja 0x1400386b6
mov rcx, rax
call fcn.14003ea5c
mov edi, dword [rbp + 0x1f8]
inc r14d
add rsi, 8
cmp r14d, edi
jl 0x1400384d0
xor esi, esi
cmp qword [r13 + 0xb0], 0
jne 0x14003870d
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.1400070c0
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x140038707
mov rcx, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x140038702
test cl, 0x1f
je 0x1400386d2
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 0x1400386e2
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 0x1400386f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400386ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14003ea5c
mov edi, dword [rbp + 0x1f8]
cmp edi, 1
jle 0x140038847
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 0x140038847
cmp edi, 2
jne 0x14003874e
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, r13
call fcn.14003a140
jmp 0x14003881f
cmp edi, 3
jne 0x140038828
mov rdx, qword [rbx + 0x10]
nop dword [rax + rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x140038760
cmp r12, 1
jne 0x140038789
cmp byte [rdx], 0x2d
jne 0x140038789
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, r13
call fcn.14003a140
jmp 0x14003881f
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 0x1400387e1
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.140001ad0
mov rdx, qword [rbp + 0x200]
mov rcx, rax
mov rdx, qword [rdx + 0x10]
call fcn.140001ad0
mov rcx, rax
lea rdx, [0x14004854c]
call fcn.140001ad0
lea rdx, [rbp]
mov rcx, r13
call fcn.14003a140
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.140001ad0
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 [0x14005a2e0]
mov dword [rbp - 0x70], ebx
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
test rax, rax
jne 0x1400388b4
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 [0x14005a2e0], 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 [0x14005a2e0]
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 0x1400388f2
mov qword [rbx], rbx
lea rax, [rbx + 8]
test rax, rax
je 0x1400388fe
mov qword [rax], rbx
lea rax, [rbx + 0x10]
test rax, rax
je 0x14003890a
mov qword [rax], rbx
mov word [rbx + 0x18], 0x101
lea rdx, [0x1400457e8]
mov r8d, 1
mov qword [rbp - 0x68], rbx
lea rcx, [rbp - 0x58]
mov r14d, 0x100
call fcn.140003cf0
mov rax, qword [r13 + 0x128]
movabs r15, 0x7ffffffffffffff
mov rbx, qword [rax]
cmp rbx, rax
je 0x140038bab
nop dword [rax]
cmp qword [rbx + 0x50], 1
lea rdi, [rbx + 0x40]
jne 0x140038999
cmp qword [rdi + 0x18], 0x10
jb 0x140038967
mov rax, qword [rdi]
jmp 0x14003896a
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.140008df0
cmp qword [rdi + 0x30], 0
je 0x1400389a3
mov dl, 0x3a
lea rcx, [rbp - 0x58]
call fcn.14002c6e0
jmp 0x1400389a3
inc r14d
mov dword [rbp + 0x208], r14d
cmp qword [rdi + 0x18], 0x10
jb 0x1400389af
mov rax, qword [rdi]
jmp 0x1400389b2
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 0x140038a9d
lea rax, [rsp + 0x30]
cmp r8, rax
ja 0x140038a9d
mov r9, qword [rsp + 0x68]
lea rsi, [rsp + 0x30]
sub rsi, r8
cmp rcx, r9
jne 0x140038a72
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x140038a72
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jb 0x140038c2e
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.140034c10
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
test rcx, rcx
je 0x140038a92
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 0x140038b27
mov r9, qword [rsp + 0x68]
cmp rcx, r9
jne 0x140038b08
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x140038b08
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jb 0x140038c3c
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.140034c10
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140038b23
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.1400338e0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x28], rdi
cmp byte [rbx + 0x19], 0
jne 0x140038b9e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140038b7e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140038b9e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140038b70
jmp 0x140038b9e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140038b9b
cmp rbx, qword [rax + 0x10]
jne 0x140038b9b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140038b88
mov rbx, rax
cmp rbx, qword [r13 + 0x128]
jne 0x140038950
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 0x140038c9f
mov r8, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
cmp r8, rax
ja 0x140038c9f
mov r9, qword [rsp + 0x68]
lea rbx, [rsp + 0x30]
sub rbx, r8
cmp rcx, r9
jne 0x140038c86
mov rax, r9
sub rax, rcx
sar rax, 5
cmp rax, 1
jae 0x140038c86
sub rcx, r8
mov rax, r15
sar rcx, 5
sub rax, rcx
cmp rax, 1
jae 0x140038c4a
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.140034c10
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
test rcx, rcx
je 0x140038cd5
and rbx, 0xffffffffffffffe0
movups xmm0, xmmword [rbx + r8]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + r8 + 0x10]
jmp 0x140038ccc
cmp rcx, qword [rsp + 0x68]
jne 0x140038cba
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140034e30
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140038cd5
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 0x140038d29
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 0x140038eb8
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 0x140038db4
cmp byte [rdx], 0
jne 0x140038d9c
mov r8, rsi
jmp 0x140038daa
mov r8, r12
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140038da0
lea rcx, [rsp + 0x30]
call fcn.140003cf0
mov ecx, ebx
sub ecx, 1
je 0x140038e6c
cmp ecx, 0x3e
je 0x140038efa
mov rdx, qword [rbp - 0x68]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140038ede
nop dword [rax]
cmp dword [rax + 0x20], ebx
jge 0x140038deb
mov rax, qword [rax + 0x10]
jmp 0x140038df1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140038de0
cmp rcx, rdx
je 0x140038ede
cmp ebx, dword [rcx + 0x20]
jl 0x140038ede
mov rbx, qword [rcx + 0x28]
mov al, 1
mov r9, qword [rbx + 0x68]
test r9, r9
je 0x140038e2a
mov r8, qword [rbx + 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call r9
mov r10, qword [rbx + 0x70]
test r10, r10
je 0x140038e48
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 0x140038e54
mov byte [rcx], 1
test al, al
jne 0x140038e7a
mov rcx, r13
call fcn.140039820
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.140031c00
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.140003190
cmp ebx, 0xffffffff
jne 0x140038d70
mov rax, qword [r13]
lea rdx, [rbp - 0x38]
mov rcx, r13
call qword [rax + 0x10]
mov rcx, r13
test al, al
jne 0x140038f0e
call fcn.140039820
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.140001ad0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, r13
call fcn.140039820
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 0x140038f2d
mov rcx, r13
call fcn.140039820
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp - 0x38]
call fcn.140034f90
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.140036880
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x70]
call fcn.140034620
lea rcx, [rbp - 0x58]
call fcn.140003190
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140038f99
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