joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d26d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d30d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d316a
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d314e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3142
cmp qword [rbp - 0x10], 0
je 0x2fc4d3142
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3108
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d316b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3270
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3298
mov eax, 0
jmp 0x2fc4d32e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d32c1
mov eax, 0
jmp 0x2fc4d32e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d32e1
mov eax, 0
jmp 0x2fc4d32e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140024d50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140024de0
cmp r11, r10
ja 0x140024e56
cmp r10, rdx
ja 0x140024e6a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140024de2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140024dc0
jmp 0x140024e44
ja 0x140024dea
mov r11, r10
cmp rax, r8
jne 0x140024d84
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140024e20
mov rdi, r8
sub ecx, edx
jns 0x140024e3b
jmp 0x140024e46
cmp r8, rsi
je 0x140024e7b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140024e46
xor al, 1
cmp rdi, rsi
jne 0x140024e00
jmp 0x140024e46
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f650
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001ac80
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueIWbemClassWrapperinner
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001b4b0
ud2
Function at 0x140029745
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140135258]
mov ebx, 0xff
lea rsi, str._home_admin_.local_share_cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.4.2_src_baseline.rs
cmp r9, 0x40
jb 0x140029875
mov r14d, 4
sub r14, 1
jb 0x14002976a
cmp r9, 0xf
jbe 0x1400298a2
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.140029d89
mov r9, rdx
mov ecx, ebp
jmp 0x14002977a
xor edx, edx
cmp r9, rdx
je 0x140029893
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140029877
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str._home_admin_.local_share_cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.4.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.140019dd0
ud2
Function at 0x14002cf13
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov r12d, 0xffffffff
xor esi, esi
test rdi, rdi
je 0x14002cf7d
mov r14, rbx
cmp rdi, r12
mov r15d, 0xffffffff
cmovb r15, rdi
add rbx, r15
sub rdi, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xbfffffff
jbe 0x14002cf2f
mov ebp, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14002cf2f
add ebp, 0x80000000
mov esi, ebp
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140037d3f
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rdi, rcx
mov rsi, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
lea r10, [r9 + rcx]
lea r11, [rdx + r8]
cmp rcx, r8
cmovb r8, rcx
lea rax, [rsp + 0x28]
mov qword [rax], r9
mov qword [rax + 8], r10
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r11
and qword [rax + 0x20], 0
mov qword [rax + 0x28], r8
mov qword [rax + 0x30], rcx
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
add r9, r8
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov rdx, rax
call fcn.1400360f8
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x48]
mov r8, qword [rbx + 0x50]
mov r9, qword [rbx + 0x10]
add r9, rax
add rax, qword [rbx]
cmp rdx, r8
jae 0x140037dd6
mov r10b, byte [r9 + rdx]
xor r10b, byte [rax + rdx]
mov byte [rcx + rdx], r10b
inc rdx
jmp 0x140037dc0
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi]
movzx edi, byte [rdi + 0x108]
mov rdx, rdi
shl rdx, 4
add rdx, 0x10
lea r8, [0x1401396f0]
call fcn.14002b03c
mov ecx, edi
mov rdx, rbx
mov r8, rax
mov r9, rsi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
jmp 0x140120be0
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [r8]
add r8, 0x10
pxor xmm1, xmm0
movdqu xmm0, xmmword [r8]
add r8, 0x10
aesenc xmm1, xmm0
sub cl, 1
cmp cl, 1
jne 0x140120bf1
movdqu xmm0, xmmword [r8]
aesenclast xmm1, xmm0
movdqu xmmword [r9], xmm1
ret
Function at 0x14005338e
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.140055ab3
test rax, rax
je 0x1400533cc
lea rdx, [0x14015aa60]
mov rcx, rax
call fcn.1400c99c7
mov rax, qword [rdi + 0x30]
jmp 0x140053411
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.140053455
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x28], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [rbx + 8]
movups xmmword [rdi + 8], xmm0
mov rax, qword [rdi + 0x30]
mov qword [rdi], rcx
and qword [rdi + 0x40], 0
add rax, 0xffffffffffffff00
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
jmp fcn.140052860
Function at 0x140053522
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rdi, rcx
call fcn.1400538ca
cmp rax, 2
jb 0x14005354f
mov rsi, rax
cmp qword [rax + 8], 0
je 0x14005354f
add rsi, 8
jmp 0x1400536cf
call fcn.1400538ca
cmp rax, 1
je 0x1400536cd
mov rsi, rax
test rax, rax
jne 0x1400535ae
mov al, byte [0x1401d21f0]
mov ecx, 0x10
mov edx, 8
call fcn.14002c8c0
test rax, rax
je 0x140053755
mov rsi, rax
lea rax, [0x140122028]
mov qword [rsi], rax
and qword [rsi + 8], 0
mov ecx, dword [0x140122040]
test ecx, ecx
je 0x1400536df
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x1400535ca
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x1400536bc
xor ecx, ecx
call fcn.140053435
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140055ab3
test rax, rax
jne 0x1400536f2
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.140053455
mov r14, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x20], rax
movups xmm0, xmmword [rbx + 0x18]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 8]
movaps xmmword [rdi], xmm0
mov al, byte [0x1401d21f0]
mov ecx, 0x170
mov edx, 0x10
call fcn.14002c8c0
test rax, rax
je 0x140053749
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, rbx
add rcx, 0x10
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rbx + 0x110], 0x40
mov qword [rbx + 0x120], r14
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x128], xmm0
movups xmmword [rbx + 0x138], xmm1
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
and qword [rbx + 0x160], 0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
call fcn.140053435
jmp 0x1400536cf
xor esi, esi
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140122028]
call fcn.14009d710
mov ecx, eax
jmp 0x1400535a6
mov qword [rsp + 0x20], rax
lea rax, [0x14015aa60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rax], rdi
lea rdx, [0x14015a948]
lea rcx, [rsp + 0x70]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x140055a53]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._home_admin_.local_share_cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rscould_not_initialize_thread_rng:
call fcn.140019ac0
jmp 0x1400537a2
mov ecx, 0x10
mov edx, 0x170
jmp 0x14005375f
mov ecx, 8
mov edx, 0x10
call fcn.14000fd90
ud2
ud2

Function at 0x1400538ca
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140122040]
test ecx, ecx
je 0x1400538e3
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x140122028]
call fcn.14009d710
mov ecx, eax
jmp 0x1400538da
Function at 0x14005f6cf
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rbx, r9
mov r14, r8
mov rsi, rcx
movups xmm0, xmmword [0x14015d2b0]
lea rdi, [rsp + 0x20]
movups xmmword [rdi + 0x38], xmm0
movups xmm0, xmmword [0x14015d2a0]
movups xmmword [rdi + 0x28], xmm0
movups xmm0, xmmword [0x14015d290]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [0x14015d280]
movups xmmword [rdi + 8], xmm0
lea rax, [0x14015d250]
xorps xmm0, xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xc0], xmm0
mov qword [rdi], rax
and qword [rdi + 0x48], 0
mov r15, qword [rsp + 0x220]
and qword [rdi + 0xd0], 0
mov r8d, 0x20
mov rcx, rdi
call fcn.140057971
mov r8d, 0x20
mov rcx, rdi
mov rdx, r14
call fcn.140057971
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.140057971
lea rbx, [rsp + 0xf8]
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rsi
mov rdx, rbx
call fcn.140057c34
nop
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400658c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14001a240
cmp rax, rcx
je 0x1400658e5
cmp rdx, 4
jae 0x1400658e8
xor eax, eax
xor r8d, r8d
jmp 0x140065980
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140124230]
movdqa xmm3, xmmword [0x140124240]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140065910
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140065997
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140065980
ret
Function at 0x140066900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x14006695b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14006695b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x140066976
cmp eax, 0x42
jne 0x14006695b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140066a26
cmp byte [r8 + r11], 0x5f
jne 0x140066a26
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140066a8e
mov rcx, rsi
xor edx, edx
call fcn.1400622d0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400622d0
test al, al
jne 0x140066b21
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400669b2
lea rdx, [0x14015ec89]
mov r8d, 1
call fcn.14001b190
test al, al
jne 0x140066b21
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14006696a
xor r14d, r14d
lea rbx, [0x14015eff7]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400669e4
cmp byte [rax + rcx], 0x45
je 0x140066b43
sub r14, 1
jb 0x140066a09
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140066a09
mov r8d, 2
mov rdx, rbx
call fcn.14001b190
test al, al
jne 0x140066b21
mov rcx, rsi
call fcn.140063b30
test al, al
jne 0x140066b21
mov rax, qword [rsi]
test rax, rax
jne 0x1400669d0
jmp 0x14006696a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x140066ae8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x140066a82
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140066a6c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140066a5b
add dl, 0xa9
jmp 0x140066a6a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140066ae8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140066ae8
movzx edx, bl
add rax, rdx
jae 0x140066a30
jmp 0x140066ae8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140066ae8
cmp rax, rcx
jae 0x140066ae5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140066b3b
cmp qword [rsi + 0x20], 0
je 0x140066b34
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140066900
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14006696c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140066b29
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reachedfor_____::closureshim_as_mut_const___dyn___unsafe_extern__
lea rdx, [0x14015efd8]
test r9b, r9b
cmovne rdx, rax
call fcn.14001b190
test al, al
je 0x140066b29
mov dil, 2
jmp 0x14006696a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14006696a
mov dil, 1
xor r9d, r9d
jmp 0x140066aea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14006696a
Function at 0x14009bdf2
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x14009be0e
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x14009bf12
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14009d710
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14009d795
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x14009d7d6
cmp dword [rsp + 0x2c], 0
je 0x14009d7ba
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14009d7fe
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1401d2188]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1401d2188], rsi
jne 0x14009d770
mov byte [0x1401d2180], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x14009d7cc
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14009d84a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14009d7bf
mov edi, dword [rsp + 0x28]
jmp 0x14009d7cc
mov edi, dword [rsi + 0x18]
jmp 0x14009d7ca
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x14016c678]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.14009de30
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.invalid_type:___expected
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140019ac0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.invalid_type:___expected
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14009de70
ud2
Function at 0x14009dd00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1401220b8]
test ecx, ecx
je 0x14009dde0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009dd34
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14009dd34
add rdi, 0x10
jmp 0x14009ddd6
mov ecx, dword [0x1401220b8]
test ecx, ecx
je 0x14009ddf3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009ddd4
mov rsi, rax
test rax, rax
jne 0x14009dda3
movzx eax, byte [0x1401d21f0]
mov ecx, 0x18
mov edx, 8
call fcn.14002c8c0
test rax, rax
je 0x14009de16
mov rsi, rax
lea rax, [0x1401220a0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401220b8]
test ecx, ecx
je 0x14009de06
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x14009ddd6
test rcx, rcx
je 0x14009ddd6
lock dec qword [rcx]
jne 0x14009ddd6
call fcn.14009d6c0
jmp 0x14009ddd6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1401220a0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009dd16
lea rcx, [0x1401220a0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009dd44
lea rcx, [0x1401220a0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009dd9b
mov ecx, 8
mov edx, 0x18
call fcn.14000fd90
ud2

Function at 0x14009e460
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1401220d8]
test ecx, ecx
je 0x14009e4ff
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009e489
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14009e4ee
mov ecx, dword [0x1401220d8]
test ecx, ecx
je 0x14009e512
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009e4f4
mov rsi, rax
test rax, rax
jne 0x14009e4e8
movzx eax, byte [0x1401d21f0]
mov ecx, 0x10
mov edx, 8
call fcn.14002c8c0
test rax, rax
je 0x14009e535
mov rsi, rax
lea rax, [0x1401220c0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1401220d8]
test ecx, ecx
je 0x14009e525
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14009e4f6
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401220c0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009e475
lea rcx, [0x1401220c0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009e495
lea rcx, [0x1401220c0]
call fcn.14009d710
mov ecx, eax
jmp 0x14009e4e0
mov ecx, 8
mov edx, 0x10
call fcn.14000fd90
ud2