Function at 0x14007d840
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rcx, qword [rcx + 0x40]
cmp qword [rcx + 8], 0
js 0x14007da00
mov qword [rsp + 0x68], 0
call qword [rsi + 0x38]
mov rcx, qword [0x140123df0]
mov rdi, rax
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14007d9d0
mov qword [rsp + 0x68], rdi
lea rbp, [rsp + 0x68]
test rdi, rdi
je 0x14007da50
mov rcx, rdi
call sym.finished__pureZasyncdispatch_u10263
cmp byte [rbx], 0
jne 0x14007d9d0
test al, al
je 0x14007db11
mov rcx, qword [rsi + 0x40]
call qword [rsi + 0x38]
cmp byte [rbx], 0
mov rdx, rax
jne 0x14007d9d0
mov rcx, rbp
call sym.eqsink___pureZasyncdispatch_u6250
mov rdi, qword [rsp + 0x68]
cmp byte [rbx], 0
mov rcx, rdi
jne 0x14007d9d5
mov rax, qword [rsi + 0x40]
cmp qword [rax + 8], 0
jns 0x14007d88b
test rdi, rdi
je 0x14007da50
lea rax, [sym.recvLineIntoNimAsyncContinue__pureZasyncnet_u3259]
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rax
call sym.addCallback__pureZasyncfutures_u290
cmp byte [rbx], 0
jne 0x14007d9d0
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
call sym.eqdestroy___pureZasyncdispatch_u6239
cmp byte [rbx], 0
je 0x14007d9f7
nop word [rax + rax]
mov byte [rbx], 0
mov rcx, qword [rsi + 0x20]
call sym.finished__pureZasyncnet_u3427
cmp byte [rbx], 0
jne 0x14007d9f7
test al, al
je 0x14007da28
mov rcx, qword [rsi + 0x28]
call sym.finished__pureZasyncdispatch_u5617
cmp byte [rbx], 0
jne 0x14007d9f7
test al, al
jne 0x14007da40
mov qword [rsp + 0x68], 0
mov rcx, qword [0x140123de0]
call dbg.__emutls_get_address
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov rdx, qword [rax]
mov rdi, rax
call sym.eqcopy___stdZtypedthreads_u171
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsi + 0x28]
mov rdx, rbp
call sym.fail__pureZasyncdispatch_u5659
mov rcx, rbp
call sym.eqdestroy___stdZtypedthreads_u168
cmp byte [rbx], 0
jne 0x14007d9f7
mov rax, qword [rdi]
xor r8d, r8d
mov rcx, rdi
mov rdx, qword [rax + 0x38]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.eqcopy___stdZtypedthreads_u171
mov rcx, qword [rsp + 0x68]
mov edi, 1
mov byte [rbx], 0
call sym.eqdestroy___pureZasyncdispatch_u6239
cmp byte [rbx], 0
jne 0x14007d930
mov byte [rbx], dil
test dil, dil
jne 0x14007d930
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [0x140123df0]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14007d930
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [rsi + 0x20]
call sym.complete__pureZasyncnet_u3373
cmp byte [rbx], 0
je 0x14007d94d
jmp 0x14007d9f7
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.reraiseException
mov rcx, qword [rsi + 0x28]
call sym.finished__pureZasyncdispatch_u5617
cmp byte [rbx], 0
jne 0x14007db1b
test al, al
jne 0x14007d914
mov edx, 8
mov ecx, 0x40
call sym.nimNewObj
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
movdqa xmm0, xmmword [0x14011ab40]
mov rdi, rax
mov rax, qword [0x140123b40]
lea r8, [rsp + 0x30]
mov qword [rdi], rax
lea rax, [0x14011a6a0]
mov qword [rdi + 0x10], rax
lea rax, [0x14011af20]
mov qword [rsp + 0x40], 0x45
mov qword [rsp + 0x48], rax
movaps xmmword [rsp + 0x30], xmm0
call sym.nsuFormatSingleElem
movdqu xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x18], xmm1
cmp byte [rbx], 0
jne 0x14007db1b
mov qword [rdi + 8], 0
mov rcx, rdi
lea r9, [0x14011a6b0]
lea r8, str.recvLineIntoNimAsyncContinue
mov qword [rsp + 0x20], 0x2a
lea rdx, [0x14011a6a0]
call sym.raiseExceptionEx
movzx edi, byte [rbx]
mov rcx, qword [rsp + 0x68]
jmp 0x14007d9da
mov rdi, qword [rsp + 0x68]
jmp 0x14007d8e4
mov rcx, qword [rsp + 0x68]
mov edi, 1
jmp 0x14007d9da