joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c62c0
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x78]
mov rdx, qword [rdx + 0x70]
cmp rcx, rdx
ja 0x1400c6523
mov rax, qword [rdi + 0x68]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x68], rax
lea rcx, [rdi + 0xf0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400c640d
cmp eax, 0x80090318
je 0x1400c6487
test eax, eax
jne 0x1400c6477
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x68]
mov rax, qword [rdi + 0x70]
sub rcx, rdx
mov ebx, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x50], 0
add r9, rbx
jb 0x1400c6559
cmp r9, rax
ja 0x1400c6568
add rdx, rcx
xor r14d, r14d
cmp qword [rdi + 0x40], rbx
jb 0x1400c6506
xor r15d, r15d
mov rcx, qword [rdi + 0x48]
add rcx, r15
mov r8, rbx
call fcn.14021a580
add r15, rbx
cmp dword [rsp + 0x54], 5
mov qword [rdi + 0x50], r15
cmove r14d, dword [rsp + 0x50]
mov qword [rdi + 0x58], 0
mov rcx, qword [rdi + 0x78]
mov rdx, rcx
sub rdx, r14
jb 0x1400c652f
test r14d, r14d
je 0x1400c64df
mov rax, qword [rdi + 0x70]
mov rbx, rax
sub rbx, rdx
jb 0x1400c6547
mov qword [rdi + 0x70], 0
cmp rcx, r14
jne 0x1400c64c7
cmp rax, rdx
jne 0x1400c64db
jmp 0x1400c64df
cmp eax, 0x90317
je 0x1400c6498
cmp eax, 0x90321
jne 0x1400c6477
xor r14d, r14d
cmp dword [rsp + 0x54], 5
mov dword [rdi + 0xd0], 0x10000
cmove r14d, dword [rsp + 0x50]
mov byte [rdi + 0xd4], 0
mov rcx, qword [rdi + 0x78]
mov rdx, rcx
sub rdx, r14
jb 0x1400c652f
test r14d, r14d
je 0x1400c64b6
mov rax, qword [rdi + 0x70]
mov rbx, rax
sub rbx, rdx
jb 0x1400c6547
mov qword [rdi + 0x70], 0
cmp rcx, r14
jne 0x1400c649e
cmp rax, rdx
jne 0x1400c64b2
jmp 0x1400c64b6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400c64f8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
jmp 0x1400c64eb
mov byte [rsi + 1], 1
jmp 0x1400c64f6
cmp rax, rdx
je 0x1400c64b6
mov rcx, qword [rdi + 0x68]
add rdx, rcx
mov r8, rbx
call fcn.14021a580
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], 0
jmp 0x1400c64f2
cmp rax, rdx
je 0x1400c64df
mov rcx, qword [rdi + 0x68]
add rdx, rcx
mov r8, rbx
call fcn.14021a580
mov qword [rdi + 0x70], rbx
xor eax, eax
test r14d, r14d
sete al
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rdi + 0x40]
mov r15, rdx
xor edx, edx
mov r8, rbx
call fcn.14021b130
mov rdx, r15
mov r15, qword [rdi + 0x50]
jmp 0x1400c639c
lea r8, [0x140238440]
call fcn.1402261f0
lea rcx, [0x1402383a7]
lea r8, [0x1402383c8]
mov edx, 0x1f
call fcn.140225d70
lea r8, [0x140236278]
mov rcx, rdx
mov rdx, rax
call fcn.1402261f0
lea r8, [0x140238458]
mov rdx, r9
call fcn.140226200
lea r8, [0x140238458]
mov rcx, r9
mov rdx, rax
call fcn.1402261f0
int3
Function at 0x1400fcd70
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400fcda4
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140119bf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x140119c86
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x140229800]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ba10
test rdi, rdi
je 0x140119d15
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140119d2e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x140119e26
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140119ea8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140119e33
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140119cf0
cmp r9, 8
jae 0x140119e3c
jmp 0x140119ea8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ba10
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140119ea8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x140119ea8
mov r8, rcx
cmp r9, 8
jb 0x140119ea8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140119e40
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14011a280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14011a316
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140229800]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ba10
test rdi, rdi
je 0x14011a3a5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14011a3be
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14011a4b6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14011a538
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14011a4c3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14011a380
cmp r9, 8
jae 0x14011a4cc
jmp 0x14011a538
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ba10
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14011a538
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14011a538
mov r8, rcx
cmp r9, 8
jb 0x14011a538
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14011a4d0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140130640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov ebp, dword [rdx + 0x58]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.140123c60
test eax, eax
jne 0x140130819
add ebp, dword [rsp + 0x2c]
jo 0x14013067e
mov dword [rsp + 0x2c], ebp
mov rax, qword [0x14035ede0]
mov rax, qword [rax]
test rax, rax
je 0x1401306ea
mov rax, qword [rdi + 0x38]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x28]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
ret
movzx edx, byte [0x14035dd90]
test dl, dl
je 0x14013068d
movzx eax, dl
cmp eax, 1
je 0x140130708
cmp eax, 2
jne 0x1401307fe
mov dl, 2
mov rcx, qword [0x14035dd80]
call fcn.140156870
test al, al
je 0x14013068d
mov rcx, qword [0x14035dd80]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140130846
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], rax
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x30], rbx
lea rax, [0x1401346d0]
mov qword [rsp + 0x38], rax
lea rax, str.0x_
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [0x140277718]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0x98]
call fcn.140157a90
jmp 0x14013068d
lea rcx, [0x14035dd80]
call fcn.14021fa50
mov edx, eax
test al, al
jne 0x140130708
jmp 0x14013068d
mov dword [rsp + 0x68], edx
lea rax, [0x140277800]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streamsprioritize.rs
lea r9, [0x140277548]
lea r8, [rsp + 0x68]
mov edx, 0x1b
call fcn.140226140
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_settings.rs
lea r8, [0x140277818]
mov edx, 0x22
call fcn.140225c80
int3
Function at 0x14017d590
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140198090
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401980c8
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017d5a0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401980e0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140198115
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017d5b0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140198040
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140198075
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x14017e190
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov eax, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14017e21c
test eax, eax
jne 0x14017e2c2
mov rdi, rcx
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x68]
lea rdx, [0x14017d970]
call fcn.1401cb4b0
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xb8], 1
mov rcx, rdi
mov qword [rbp - 0x20], 0
mov eax, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov r8, qword [rax + 0xa0]
test r8, r8
je 0x14017e2ed
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rsi
cmp qword [r8], 0
mov rdi, qword [rcx]
jne 0x14017e262
cmp rdi, qword [r8 + 8]
je 0x14017e317
lea rcx, [rdi + 0x88]
mov byte [rbp - 9], 0
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov byte [rbp - 9], 0
mov rcx, rdi
call fcn.14018f830
cmp qword [rbp - 0x20], 0
je 0x14017e30e
mov rcx, qword [rbp - 0x18]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x14017e3b9
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017e30e
mov rax, qword [rcx + 0x10]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x10]
mov qword [rbp - 0x20], 0
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018f830
jmp 0x14017e30e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018f830
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp qword [r8 + 0x10], 0
jne 0x14017e3d1
mov qword [r8 + 0x10], 0xffffffffffffffff
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x14017e382
mov qword [rbp - 0x30], rsi
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
cmp rax, rcx
jne 0x14017e35d
mov qword [rbp - 0x28], r8
lea rcx, [rdi + 0x40]
call fcn.1400b9360
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
mov r8, qword [rbp - 0x28]
add rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
cmovae rdx, rcx
sub rax, rdx
mov rcx, qword [rdi + 0x48]
mov qword [rcx + rax*8], rsi
inc qword [rdi + 0x58]
inc qword [r8 + 0x10]
jmp 0x14017e288
mov qword [r8 + 0x10], 0
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x14017e3e3
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017e288
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x14017e288
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402d2898]
mov edx, 0x27
call fcn.140225d70
mov byte [rbp - 9], 1
lea rcx, [0x1402d1208]
call fcn.140225ba0
jmp 0x14017e3fb
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402d2898]
mov edx, 0x27
call fcn.140225d70
ud2
lea r8, [0x1402d21a8]
jmp 0x14017e190
Function at 0x14018ae20
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov eax, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14017e21c
test eax, eax
jne 0x14017e2c2
mov rdi, rcx
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x68]
lea rdx, [0x14017d970]
call fcn.1401cb4b0
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xb8], 1
mov rcx, rdi
mov qword [rbp - 0x20], 0
mov eax, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov r8, qword [rax + 0xa0]
test r8, r8
je 0x14017e2ed
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rsi
cmp qword [r8], 0
mov rdi, qword [rcx]
jne 0x14017e262
cmp rdi, qword [r8 + 8]
je 0x14017e317
lea rcx, [rdi + 0x88]
mov byte [rbp - 9], 0
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov byte [rbp - 9], 0
mov rcx, rdi
call fcn.14018f830
cmp qword [rbp - 0x20], 0
je 0x14017e30e
mov rcx, qword [rbp - 0x18]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x14017e3b9
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017e30e
mov rax, qword [rcx + 0x10]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x10]
mov qword [rbp - 0x20], 0
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018f830
jmp 0x14017e30e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.14018b7a0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018f830
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp qword [r8 + 0x10], 0
jne 0x14017e3d1
mov qword [r8 + 0x10], 0xffffffffffffffff
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x14017e382
mov qword [rbp - 0x30], rsi
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
cmp rax, rcx
jne 0x14017e35d
mov qword [rbp - 0x28], r8
lea rcx, [rdi + 0x40]
call fcn.1400b9360
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
mov r8, qword [rbp - 0x28]
add rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
cmovae rdx, rcx
sub rax, rdx
mov rcx, qword [rdi + 0x48]
mov qword [rcx + rax*8], rsi
inc qword [rdi + 0x58]
inc qword [r8 + 0x10]
jmp 0x14017e288
mov qword [r8 + 0x10], 0
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x14017e3e3
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017e288
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x14017e288
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402d2898]
mov edx, 0x27
call fcn.140225d70
mov byte [rbp - 9], 1
lea rcx, [0x1402d1208]
call fcn.140225ba0
jmp 0x14017e3fb
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402d2898]
mov edx, 0x27
call fcn.140225d70
ud2
lea r8, [0x1402d21a8]
jmp 0x14017e190
Function at 0x14018c060
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14018c070
test al, 1
je 0x14018c08f
test al, 2
jne 0x14018c0a7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402d2680]
mov edx, 0x23
call fcn.140225d70
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402d26c0]
mov edx, 0x25
call fcn.140225d70
int3
Function at 0x14018c370
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r9
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14018c3ea
test eax, eax
jne 0x14018c5c5
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x68]
lea rdx, [0x14017d970]
call fcn.1401cb4b0
mov byte [r15 + 0xb8], 1
mov eax, dword [0x14035fdc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x68]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x14018c578
lea rax, [rcx + 1]
mov edx, dword [0x14035fdc0]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x68], rax
mov rax, qword [rdx + 0x70]
cmp rax, 2
je 0x14018c584
mov ecx, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x78]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x14018c485
mov r8d, 0x118
test r9, r9
jns 0x14018c496
jmp 0x14018c5c3
test r9, r9
js 0x14018c5c3
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x14035fdc0]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x68]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x14018c5af
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x14018c4ea
test r8, r8
jns 0x14018c4f5
jmp 0x14018c5c3
test r8, r8
js 0x14018c5c3
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x14018c55f
test dl, dl
je 0x14018c568
call fcn.14018a340
jmp 0x14018c568
test dl, dl
je 0x14018c568
call fcn.1401896b0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140225c00
mov eax, dword [0x14035fdc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x68], rcx
xor eax, eax
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x34]
mov rdx, r14
call fcn.1402201d0
lea rcx, [0x1402d32e8]
mov edx, 0x73
mov r8, r14
call fcn.140225c80
ud2
mov al, 1
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x34]
mov rdx, r14
call fcn.1402201d0
int3