Function at 0x140003614
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov r15, r8
mov r13d, edx
mov r14, rcx
mov ebp, dword [rsp + 0xa0]
mov r12, qword [r14]
or r13d, 0x80
call fcn.140006c40
mov rbx, rax
test rbx, rbx
je 0x1400039d3
xor r9d, r9d
test r12, r12
je 0x1400039cf
mov rax, qword [r12]
test rax, rax
je 0x1400039c4
mov qword [rsp + 0x30], rsi
xor edi, edi
mov rdx, r12
mov rax, qword [rdx]
mov ebp, r13d
mov r13, r14
mov r14, rdx
mov rsi, r15
mov r15, r9
mov rdx, qword [rax + 8]
xor ecx, ecx
mov r8, rsi
call fcn.14000aa9c
test eax, eax
jne 0x1400036a0
mov rax, qword [r14]
cmp ebp, dword [rax]
je 0x1400036b7
add r15, 1
mov rdi, r15
shl rdi, 3
lea r14, [r12 + r15*8]
mov rax, qword [r14]
test rax, rax
jne 0x140003687
mov r14, r13
mov r13d, ebp
mov ebp, dword [rsp + 0xa0]
mov r9, r15
mov r15, rsi
mov rsi, qword [rsp + 0x30]
test r12, r12
je 0x140003988
test rax, rax
je 0x1400038c3
test rsi, rsi
je 0x1400037db
mov rax, qword [rdi + r12]
mov r8, qword [rax + 0xc8]
xor r9d, r9d
test r8, r8
je 0x14000389d
mov rax, qword [r8]
test rax, rax
je 0x140003895
add r9, 1
mov r14, r9
shl r14, 3
mov rax, qword [r8 + r14]
test rax, rax
jne 0x14000370d
test r8, r8
je 0x140003851
lea rdx, [r9 + 2]
shl rdx, 3
add r9, 1
shl r9, 3
mov rcx, rbx
call fcn.14000aea8
mov rdx, qword [rdi + r12]
mov qword [rdx + 0xc8], rax
test rax, rax
je 0x140003834
mov rax, qword [rdi + r12]
mov r8, qword [rax + 0xc8]
mov qword [r14 + r8 + 8], 0
mov rcx, rbx
mov edx, 0x10
call fcn.14000afa0
mov r13, rax
test r13, r13
je 0x140003817
mov ecx, dword [0x140079580]
mov rax, qword [rdi + r12]
mov rdx, qword [rax + 0xc8]
mov qword [r14 + rdx], r13
test ecx, ecx
je 0x1400037a5
movzx eax, byte [rsi + 1]
cmp eax, 0x3a
je 0x1400037ec
mov dword [r13], ebp
lea edx, [rbp + 1]
mov rcx, rbx
call fcn.14000afa0
mov qword [r13 + 8], rax
test rax, rax
je 0x1400038a2
movsxd rbx, ebp
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call qword [sym.imp.MSVCR80.dll_memmove]
mov rax, qword [r13 + 8]
mov byte [rax + rbx], 0
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
mov rdx, r13
call fcn.140003a10
test eax, eax
jge 0x1400037db
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140060e9c]
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x140003783
lea rcx, str.safe_realloc
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x140003756
add r9, 2
shl r9, 3
mov rcx, rbx
mov edx, r9d
call fcn.14000afa0
mov rdx, qword [rdi + r12]
mov qword [rdx + 0xc8], rax
test rax, rax
jne 0x140003756
lea rcx, str.safe_realloc
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x140003756
xor r14d, r14d
jmp 0x14000372a
xor r14d, r14d
jmp 0x140003851
lea rcx, [0x140060e9c]
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
mov rax, qword [r13 + 8]
jmp 0x1400037c1
lea rdx, [r9 + 2]
shl rdx, 3
add r9, 1
shl r9, 3
mov rcx, rbx
mov r8, r12
call fcn.14000aea8
mov r12, rax
test r12, r12
je 0x14000396b
mov qword [r14], r12
mov qword [rdi + r12 + 8], 0
mov rcx, rbx
mov edx, 1
mov r8d, 0xe8
call fcn.14000b0c4
mov qword [rdi + r12], rax
test rax, rax
je 0x14000394d
mov dword [rax], r13d
xor ecx, ecx
mov rdx, r15
call fcn.140008de0
mov rdx, qword [rdi + r12]
mov qword [rdx + 8], rax
test rax, rax
jne 0x1400036e1
lea rcx, str.NLSSTRDUP
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x1400036e1
lea rcx, [0x140060e94]
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
mov rax, qword [rdi + r12]
jmp 0x140003912
lea rcx, str.safe_realloc
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x1400038ea
add r9, 2
shl r9, 3
mov rcx, rbx
mov edx, r9d
call fcn.14000afa0
mov r12, rax
test r12, r12
jne 0x1400038ea
lea rcx, str.safe_realloc
call qword [sym.imp.MSVCR80.dll_perror]
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x1400038ea
mov rax, qword [r12]
xor edi, edi
jmp 0x1400036d8
xor edi, edi
jmp 0x140003988
mov eax, dword [0x140078044]
test eax, 0x7fffffff
je 0x1400039ff
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
lea r8, str.Error_getting_core_context._n
xor r9d, r9d
call fcn.1400053e4
mov ecx, 1
call qword [sym.imp.MSVCR80.dll_exit]
jmp 0x140003652