Function at 0x1400aa980
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400aa9de
mov rax, qword [rcx - 0x10]
lea rdx, [rcx - 0x10]
cmp rax, 0xf
ja 0x1400aabc0
cmp qword [rdx + 8], 0
jle 0x1400aa9b6
mov rcx, rdx
call sym.unregisterCycle__system_u2958
mov rcx, qword [rbx + 0x10]
call sym.eqdestroy___pureZjson_u67
mov rcx, qword [0x140123df0]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x1400aabb3
mov rcx, qword [rbx + 0x10]
mov edx, 8
call sym.nimRawDispose
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400aa9f1
test byte [rcx + 7], 0x40
je 0x1400aad30
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400aaa04
test byte [rcx + 7], 0x40
je 0x1400aad20
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400aaa17
test byte [rcx + 7], 0x40
je 0x1400aad10
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400aaa2a
test byte [rcx + 7], 0x40
je 0x1400aad00
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x1400aaa3d
test byte [rcx + 7], 0x40
je 0x1400aacf0
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400aaa50
test byte [rcx + 7], 0x40
je 0x1400aace0
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1400aaa66
test byte [rcx + 7], 0x40
je 0x1400aacd0
mov rcx, qword [rbx + 0x98]
test rcx, rcx
je 0x1400aaa7c
test byte [rcx + 7], 0x40
je 0x1400aacc0
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x1400aaab5
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400aac70
sub rdx, 0x10
jo 0x1400aad54
mov qword [rax - 0x10], rdx
mov r8, qword [rax]
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rax, qword [rbx + 0xb0]
test rax, rax
je 0x1400aaaee
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400aac48
sub rdx, 0x10
jo 0x1400aad68
mov qword [rax - 0x10], rdx
mov r8, qword [rax]
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x1400aab27
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400aac20
sub rdx, 0x10
jo 0x1400aad5e
mov qword [rax - 0x10], rdx
mov r8, qword [rax]
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rax, qword [rbx + 0xc0]
test rax, rax
je 0x1400aab64
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400aabd8
sub rdx, 0x10
jo 0x1400aad72
mov qword [rax - 0x10], rdx
mov r8, qword [0x140123c70]
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rax, qword [rbx + 0xc8]
test rax, rax
je 0x1400aab9d
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
cmp rdx, 0xf
jbe 0x1400aac98
sub rdx, 0x10
jo 0x1400aad7c
mov qword [rax - 0x10], rdx
mov r8, qword [rax]
mov rdx, rcx
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x1400aabb3
test byte [rcx + 7], 0x40
je 0x1400aad40
add rsp, 0x20
pop rbx
ret
sub rax, 0x10
jo 0x1400aad4a
mov qword [rdx], rax
jmp 0x1400aa9de
mov r8, qword [0x140123c70]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xc0]
call sym.eqdestroy___pureZhttpclient_u222
mov rcx, qword [0x140123df0]
call dbg.__emutls_get_address
cmp byte [rax], 0
jne 0x1400aabb3
mov rcx, qword [rbx + 0xc0]
mov edx, 8
call sym.nimRawDispose
jmp 0x1400aab64
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xb8]
call sym.nimDestroyAndDispose
jmp 0x1400aab27
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xb0]
call sym.nimDestroyAndDispose
jmp 0x1400aaaee
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xa8]
call sym.nimDestroyAndDispose
jmp 0x1400aaab5
mov r8, qword [rax]
mov rdx, rcx
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, qword [rbx + 0xc8]
call sym.nimDestroyAndDispose
jmp 0x1400aab9d
call sym.deallocShared
jmp 0x1400aaa7c
call sym.deallocShared
jmp 0x1400aaa66
call sym.deallocShared
jmp 0x1400aaa50
call sym.deallocShared
jmp 0x1400aaa3d
call sym.deallocShared
jmp 0x1400aaa2a
call sym.deallocShared
jmp 0x1400aaa17
call sym.deallocShared
jmp 0x1400aaa04
call sym.deallocShared
jmp 0x1400aa9f1
add rsp, 0x20
pop rbx
jmp sym.deallocShared
call sym.raiseOverflow
jmp 0x1400aa9de
call sym.raiseOverflow
jmp 0x1400aaab5
call sym.raiseOverflow
jmp 0x1400aab27
call sym.raiseOverflow
jmp 0x1400aaaee
call sym.raiseOverflow
jmp 0x1400aab64
call sym.raiseOverflow
jmp 0x1400aab9d