Function at 0x1400be318
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rcx + 0x178]
mov r14d, r9d
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
test rbx, rbx
jne 0x1400be376
mov ebx, 0x148
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x1400be3d8
add dword [0x140134854], ebx
mov rcx, rax
call fcn.140079aa4
mov rbx, rax
mov qword [rdi + 0x178], rax
mov rcx, rdi
call fcn.1400a7810
mov ebx, dword [rbx + 0x14]
mov r13d, 1
mov rcx, rdi
movzx r15d, word [rax + 0xbfff4]
sub r15w, r13w
call fcn.1400a7810
movsxd rcx, dword [rax + 0xbfff4]
mov dword [rax + rcx*4 + 0x7fff8], ebx
add dword [rax + 0xbfff4], r13d
cmp dword [rax + 0xbfff4], 0xffff
jge 0x1400be563
lea ecx, [r13 + 7]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400be3fb
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], 8
mov dword [rax], esi
mov dword [rax + 4], r14d
test rbp, rbp
je 0x1400be485
mov r14, qword [rdi + 0x198]
lea r9, [0x14012e620]
and dword [rsp + 0x20], 0
lea r8, [0x14012da78]
mov rcx, r14
xor edx, edx
call fcn.1400cbdc8
test rax, rax
jne 0x1400be45b
and dword [rsp + 0x20], eax
lea r9, [0x14012e228]
lea r8, [0x14012da78]
xor edx, edx
mov rcx, r14
call fcn.1400cbdc8
test rax, rax
je 0x1400be57c
and dword [rsp + 0x60], 0
lea r9, [rsp + 0x60]
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400bd9d8
cmp dword [rsp + 0x60], 0
je 0x1400be485
mov rax, qword [rsp + 0x80]
or byte [rax], r13b
mov rcx, qword [rdi + 0x188]
mov rax, qword [rcx]
mov rax, qword [rax + 0x1a0]
call qword [case.0x1400cd70e.0]
test eax, eax
je 0x1400be4a5
mov sil, 0x20
jmp 0x1400be4ae
neg esi
sbb sil, sil
and sil, 0x10
mov rbx, qword [rdi + 0x168]
mov rcx, rbx
call fcn.140079cc4
mov ecx, dword [rbx + 0x14]
mov rax, qword [rbx + 8]
mov byte [rcx + rax], 0x11
mov rax, qword [rbx]
mov ecx, dword [rbx + 0x14]
mov byte [rcx + rax], sil
mov esi, 0x20000000
mov rax, qword [0x140134380]
test dword [rax + 4], esi
je 0x1400be4e9
test byte [rax + 0x26], 0x80
je 0x1400be4f8
add dword [rbx + 0x14], r13d
mov eax, dword [rbx + 0x14]
cmp eax, dword [rbx + 0x18]
jbe 0x1400be4f8
mov dword [rbx + 0x18], eax
mov rbx, qword [rdi + 0x168]
mov rcx, rbx
call fcn.140079cc4
mov ecx, dword [rbx + 0x14]
mov rax, qword [rbx + 8]
mov byte [rcx + rax], 0
mov rax, qword [rbx]
mov ecx, dword [rbx + 0x14]
mov byte [rcx + rax], 0x5d
mov rax, qword [0x140134380]
test dword [rax + 4], esi
je 0x1400be52e
test byte [rax + 0x26], 0x80
je 0x1400be53d
add dword [rbx + 0x14], r13d
mov eax, dword [rbx + 0x14]
cmp eax, dword [rbx + 0x18]
jbe 0x1400be53d
mov dword [rbx + 0x18], eax
mov rcx, qword [rdi + 0x168]
movzx edx, r15w
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
jmp fcn.140067ee8
lea r8, str.NextIndex___EXPR_INDEX_TABLE_SIZE
mov edx, 0x9b
lea rcx, str.com_rpcmidlcodegenccb.hxx
call fcn.1400c7a2c
int3
lea r8, str.__NULL___dynamic_cast_CG_PARAM___pAttributedNode________NULL___dynamic_cast_CG_FIELD___pAttributedNode____
mov edx, 0x5f
lea rcx, str.com_rpcmidlcodegen_ndrexpr.cxx
call fcn.1400c7a2c
int3