joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009aee0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18009ad80
call fcn.18008070c
mov dword [rax], 0x16
call fcn.180080214
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18009ad68
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18009ad68
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18009adb2
lock or dword [rax + 0x14], 0x10
jmp 0x18009ad68
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18009adcf
mov rcx, qword [rbp + 0x10]
call fcn.1800a349c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180099f10
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.180094ef4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18009ae26
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18009ad68
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18009ae92
mov rcx, qword [rbp + 0x10]
call fcn.180099f10
cmp eax, 0xffffffff
je 0x18009ae79
mov rcx, qword [rbp + 0x10]
call fcn.180099f10
cmp eax, 0xfffffffe
je 0x18009ae79
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180099f10
movsxd rdi, eax
lea rsi, [0x1800cad50]
mov rcx, rbx
sar rdi, 6
call fcn.180099f10
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18009ae80
lea rax, [0x1800c83a0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18009ae92
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18009aec8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18009aec4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18009aec4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18009ad6b
jmp 0x18009ad38

Function at 0x18009ee8c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18009eeac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18008069c
or eax, 0xffffffff
jmp 0x18009eeae
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000454c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004378
Function at 0x1400039c1
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x140003ebe
Capabilities:
Create directory

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.140126d35
Function at 0x14000b2cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov r15, rdx
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x60], r8
call fcn.14003cea0
lea rdi, [rsp + 0x68]
lea rsi, [rsp + 0xd0]
mov ecx, 0xd
rep movsq qword [rdi], qword [rsi]
xor r13d, r13d
cmp qword [rsp + 0x68], 0
mov r12, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
je 0x14000b38e
movups xmm0, xmmword [rsp + 0xc0]
cmp qword [rsp + 0xa0], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0xd0]
lea rdx, [rsp + 0x70]
mov r8, r12
mov r9, rbx
call fcn.140009faa
cmp qword [rsp + 0xd0], 0
jne 0x14000b48f
jmp 0x14000b4d7
mov bpl, byte [rsp + 0x82]
mov r14, qword [rsp + 0x70]
mov dil, byte [rsp + 0x80]
test bpl, bpl
jne 0x14000b4d7
mov esi, edi
xor sil, 1
mov byte [rsp + 0x80], sil
mov rcx, r14
mov rdx, r12
mov r8, rbx
lea r9, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_strpattern.rs
call fcn.140009e7d
test rdx, rdx
je 0x14000b47a
movzx edx, byte [rax]
test dl, dl
js 0x14000b3e3
mov ecx, edx
jmp 0x14000b431
mov ecx, edx
and ecx, 0x1f
movzx r9d, byte [rax + 1]
and r9d, 0x3f
cmp dl, 0xdf
jbe 0x14000b423
movzx r8d, byte [rax + 2]
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
cmp dl, 0xf0
jb 0x14000b42b
movzx eax, byte [rax + 3]
and ecx, 7
shl ecx, 0x12
shl r8d, 6
and eax, 0x3f
or eax, r8d
or ecx, eax
jmp 0x14000b431
shl ecx, 6
or ecx, r9d
jmp 0x14000b431
shl ecx, 0xc
or ecx, r8d
test dil, dil
jne 0x14000b47f
cmp ecx, 0x110000
je 0x14000b4cf
mov eax, 1
cmp ecx, 0x80
jb 0x14000b46b
mov eax, 2
cmp ecx, 0x800
jb 0x14000b46b
cmp ecx, 0x10000
mov eax, 4
sbb rax, 0
add r14, rax
mov qword [rsp + 0x70], r14
mov edi, esi
jmp 0x14000b3a3
test dil, dil
je 0x14000b4cf
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], r14
mov rsi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
add r8, r15
add r13, r15
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, r13
call fcn.1400c1ead
mov rcx, rdi
lea rdx, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov r8, rdx
call fcn.1400c1ead
mov r13, rsi
jmp 0x14000b32f
mov byte [rsp + 0x82], 1
add r13, r15
mov r8, qword [rsp + 0x60]
add r8, r15
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.1400c1ead
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400133a0
Capabilities:
Encrypt data using dpapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rbx, rcx
mov eax, dword [rdx + 0x10]
mov rdi, qword [rdx]
lea rcx, [rsp + 0x50]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
and dword [rax], 0
mov qword [rcx + 8], rdi
and qword [rax + 8], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
and qword [rsp + 0x20], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov rdx, qword [rsi + 8]
mov rcx, rdi
call fcn.1400cb90d
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140032043
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14003c120
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 0x14003c1b0
cmp r10, r11
jb 0x14003c226
cmp r10, rdx
ja 0x14003c23a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14003c1b2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003c190
jmp 0x14003c214
ja 0x14003c1ba
mov r11, r10
cmp rax, r8
jne 0x14003c154
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 0x14003c1f0
mov rdi, r8
sub ecx, edx
jns 0x14003c20b
jmp 0x14003c216
cmp r8, rsi
je 0x14003c24b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003c216
xor al, 1
cmp rdi, rsi
jne 0x14003c1d0
jmp 0x14003c216
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.1400372e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140035eb0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.6_src_win.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140036270
ud2
Function at 0x14004272a
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, [0x14023eaa8]
mov ebx, 0xff
lea rsi, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x14004285a
mov r14d, 4
sub r14, 1
jb 0x14004274f
cmp r9, 0xf
jbe 0x140042887
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.140042d7a
mov r9, rdx
mov ecx, ebp
jmp 0x14004275f
xor edx, edx
cmp r9, rdx
je 0x140042878
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14004285c
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.140035600
ud2
Function at 0x14004395d
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x14022f018]
test eax, eax
je 0x14004396a
dec eax
ret
lea rcx, section..data
jmp fcn.1400d2120

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
call fcn.14004395d
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140043aee
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140043aee
add rdi, 0x10
jmp 0x140043b63
call fcn.14004395d
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140043b61
mov rsi, rax
test rax, rax
jne 0x140043b38
mov ecx, 0x18
mov edx, 8
call fcn.14000b590
mov rsi, rax
lea rax, section..data
mov qword [rsi], rax
and qword [rsi + 8], 0
call fcn.14004395d
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
call fcn.140042dc7
call fcn.140042e40
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rax
call fcn.140042f05
jmp 0x140043b63
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14004a6fa
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14006016e
test rbx, rbx
je 0x14004a733
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14004a74d
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14004a745

Function at 0x14004a74d
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14004a773
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14004a75d
mov qword [rcx], rax
ret
Function at 0x140071249
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x1402fa068]
test r14, r14
jne 0x140071370
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400712b0
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400712b0
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400712b0
mov r15, rax
xor ebx, ebx
jmp 0x140071331
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140071384
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140071384
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140071384
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140071384
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140071384
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.1400cbf81
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1402fa068], r14
je 0x140071370
mov rdi, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
call fcn.1400713f6
mov rcx, r14
call fcn.140043bb2
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x14026c970]
mov edx, 0x5b
call fcn.1400713d8
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x58
lea rcx, [0x14022f020]
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400716b6
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x14007173c
lea rdi, [0x14022f020]
mov rcx, rdi
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140071742
mov rsi, rax
test rax, rax
jne 0x140071701
mov ecx, 0x40
call fcn.1400cbf81
mov rsi, rax
mov qword [rax], rdi
and qword [rax + 8], 0
mov rcx, rdi
call fcn.14010baff
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.140070cf6
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x38], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi + 8], xmm0
je 0x14007173c
lock dec qword [0x1402fa058]
add rsi, 8
jmp 0x140071744
xor esi, esi
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140073acb
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r8, rdx
mov rsi, rcx
mov edi, 0x20
mov ebx, 0xffffffff
test rdi, rdi
je 0x140073b58
cmp rdi, rbx
mov edx, 0xffffffff
cmovb rdx, rdi
lea r14, [r8 + rdx]
sub rdi, rdx
mov rcx, r8
call sub.advapi32.dll_SystemFunction036
mov r8, r14
test al, al
jne 0x140073ae4
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x20], rdi
mov ecx, 8
mov edx, 8
call fcn.14000b590
mov qword [rax], rdi
lea rcx, str.couldnt_generate_random_bytesNoTimerCoarseTimerNotMonotonicTinyVariantionsTooManyStuckcould_not_initialize_thread_rng:
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1e
mov qword [rsi + 0x10], rax
lea rax, str.8__a_
mov qword [rsi + 0x18], rax
mov byte [rsi + 0x20], 0
jmp 0x140073b5c
mov byte [rsi + 0x20], 5
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140073e9b
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x14022f060]
test eax, eax
je 0x140073ea8
dec eax
ret
lea rcx, [0x14022f048]
jmp fcn.1400d2120

Function at 0x140074b43
Capabilities:
Encrypt data using hc-128 via wolfssl

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1030
call fcn.140127680
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [rcx + 0x1018]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140072426
cmp qword [rbx], 0
je 0x140074ba2
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x48]
cmp eax, 2
je 0x140074bcc
cmp eax, 5
je 0x140074bc3
mov r8, qword [rdi + 0x1008]
mov rbx, r8
sar rbx, 8
test al, al
cmove rbx, r8
jmp 0x140074bce
lea rdx, [rsp + 0x28]
mov rax, qword [rdi + 0x1008]
mov qword [rdi + 0x1010], rax
mov r8d, 0x1008
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov rbx, qword [rdi + 0x1008]
jmp 0x140074bd3
xor ebx, ebx
call fcn.140073aa1
add rbx, 0xffffffffffffffc0
mov qword [rdi + 0x1010], rbx
mov rcx, rdi
mov rdx, rsi
add rsp, 0x1030
pop rbx
pop rdi
pop rsi
jmp fcn.140073fed
Function at 0x140074bf3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x2090
call fcn.140127680
sub rsp, rax
mov rdi, rcx
call fcn.140073e9b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140074c2b
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140074c2b
add rsi, 8
jmp 0x140074d5c
call fcn.140073e9b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140074d5a
mov rsi, rax
test rax, rax
jne 0x140074c79
mov ecx, 0x10
mov edx, 8
call fcn.14000b590
mov rsi, rax
lea rax, [0x14022f048]
mov qword [rsi], rax
and qword [rsi + 8], 0
call fcn.140073e9b
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140074c95
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x140074d49
xor ecx, ecx
call fcn.140073aab
lea rdx, [rsp + 0x28]
mov byte [rdx + 0x13], 5
lea rdi, [rsp + 0x78]
mov rcx, rdi
call fcn.140072426
cmp qword [rdi], 0
jne 0x140074d6a
lea rdx, [rsp + 0x80]
lea rdi, [rsp + 0x1088]
mov r8d, 0x1008
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov ecx, 0x1088
mov edx, 8
call fcn.14000b590
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], 0x10
lea rcx, [rbx + 0x58]
mov r8d, 0x1008
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov eax, 0x2000000
mov qword [rbx + 0x1060], rax
mov qword [rbx + 0x1068], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx + 0x1070], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x1080], rax
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
call fcn.140073aab
jmp 0x140074d5c
xor esi, esi
mov rax, rsi
add rsp, 0x2090
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x20], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movaps xmmword [rcx + 0x10], xmm1
movaps xmmword [rcx], xmm0
lea rax, [rsp + 0x68]
mov qword [rax], rcx
lea rdx, [0x14026d440]
lea rcx, [rsp + 0x1088]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x140074efe]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.5.6_src_rngs_thread.rs
call fcn.1400355c0
ud2
Function at 0x1400770c7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x14022f180]
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400770f7
cmp qword [rax + 8], 0
je 0x1400770f7
add rax, 0x10
jmp 0x140077174
lea rbx, [0x14022f180]
mov rcx, rbx
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14007715e
mov rdi, rax
test rax, rax
jne 0x140077147
mov ecx, 0x18
mov edx, 8
call fcn.140075281
mov rdi, rax
mov qword [rax], rbx
and qword [rax + 8], 0
mov rcx, rbx
call fcn.14010baff
mov ecx, eax
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x140077162
mov rcx, qword [rsi]
and qword [rsi], 0
test rcx, rcx
je 0x140077164
mov rcx, qword [rsi + 8]
jmp 0x140077164
xor eax, eax
jmp 0x140077174
xor ecx, ecx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400790e3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
lea rcx, [0x14022f068]
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140079116
cmp qword [rax + 8], 0
je 0x140079116
add rax, 0x10
jmp 0x1400791d5
lea rbx, [0x14022f068]
mov rcx, rbx
call fcn.14010baff
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400791d3
mov rdi, rax
test rax, rax
jne 0x14007916a
mov ecx, 0x28
mov edx, 8
call fcn.140075281
mov rdi, rax
mov qword [rax], rbx
and qword [rax + 8], 0
mov rcx, rbx
call fcn.14010baff
mov ecx, eax
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x14007919c
mov rax, qword [rsi]
and qword [rsi], 0
test rax, rax
je 0x14007919c
mov r9, qword [rsi + 8]
mov r8b, byte [rsi + 0x10]
mov dl, byte [rsi + 0x11]
movzx eax, word [rsi + 0x16]
mov word [rsp + 0x2c], ax
mov eax, dword [rsi + 0x12]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsi + 0x18]
jmp 0x1400791a6
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], r9
mov byte [rdi + 0x18], r8b
mov byte [rdi + 0x19], dl
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x1a], edx
movzx edx, word [rsp + 0x2c]
mov word [rdi + 0x1e], dx
mov qword [rdi + 0x20], rcx
jmp 0x1400791d5
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret