joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2d00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400b2d85
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 0x1400b2dc6
cmp dword [rsp + 0x2c], 0
je 0x1400b2daa
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400b2dee
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140192138]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140192138], rsi
jne 0x1400b2d60
mov byte [0x140192130], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400b2dbc
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400b2e3a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400b2daf
mov edi, dword [rsp + 0x28]
jmp 0x1400b2dbc
mov edi, dword [rsi + 0x18]
jmp 0x1400b2dba
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, [0x1401428e0]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.1400b3420
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, [0x14016b6b0]
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.140009570
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x14016b6b0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400b3460
ud2
Function at 0x1400b32f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1401030a8]
test ecx, ecx
je 0x1400b33d0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400b3324
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400b3324
add rdi, 0x10
jmp 0x1400b33c6
mov ecx, dword [0x1401030a8]
test ecx, ecx
je 0x1400b33e3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400b33c4
mov rsi, rax
test rax, rax
jne 0x1400b3393
movzx eax, byte [0x140192198]
mov ecx, 0x18
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400b3406
mov rsi, rax
lea rax, [0x140103090]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401030a8]
test ecx, ecx
je 0x1400b33f6
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 0x1400b33c6
test rcx, rcx
je 0x1400b33c6
lock dec qword [rcx]
jne 0x1400b33c6
call fcn.1400b2cb0
jmp 0x1400b33c6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140103090]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b3306
lea rcx, [0x140103090]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b3334
lea rcx, [0x140103090]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b338b
mov ecx, 8
mov edx, 0x18
call fcn.140006450
ud2
Function at 0x1400b3740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1400b39b2
mov byte [rsp + 0x37], 0
mov rax, qword [0x1401920b0]
cmp rax, 3
jne 0x1400b394a
cmp byte [rsp + 0x37], 0
jne 0x1400b395f
mov ecx, dword [0x1401030c8]
test ecx, ecx
je 0x1400b3979
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400b379d
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1400b3839
mov ecx, dword [0x1401030c8]
test ecx, ecx
je 0x1400b398c
dec ecx
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x1400b37eb
mov rsi, rax
cmp rax, 1
jne 0x1400b3833
lea rax, str.library_std_src_threadlocal.rs
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a2f5f9691b6ce64c1703feaf9363710dfd7a56cflibrary_std_src_threadlocal.rs
lea r9, [0x14013fae8]
lea r8, [rsp + 0x40]
mov edx, 0x46
call fcn.14000ffb0
ud2
movzx eax, byte [0x140192198]
mov ecx, 0x10
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400b39da
mov rsi, rax
lea rax, [0x1401030b0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1401030c8]
test ecx, ecx
je 0x1400b399f
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
mov rax, qword [0x140192078]
cmp rax, rsi
jne 0x1400b386d
mov eax, dword [0x1401920a8]
inc eax
jne 0x1400b388d
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
lea r8, [0x140141248]
mov edx, 0x26
call fcn.140011480
ud2
lea rcx, [0x140192070]
call sub.kernel32.dll_TryAcquireSRWLockExclusive
test al, al
je 0x1400b395f
mov qword [0x140192078], rsi
mov eax, 1
mov dword [0x1401920a8], eax
mov qword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x56], 0
cmp qword [0x140192080], 0
jne 0x1400b39cc
mov qword [0x140192080], 0xffffffffffffffff
cmp byte [0x1401920a0], 0
jne 0x1400b38ef
lea rcx, [0x140192088]
call fcn.1400b3b20
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400b38ef
lea rcx, [rsp + 0x38]
call fcn.1400b23d0
cmp qword [0x140192090], 0
je 0x1400b390a
mov rcx, qword [0x140192088]
mov edx, 1
call fcn.140005f90
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x140192098], xmm1
movups xmmword [0x140192088], xmm0
inc qword [0x140192080]
dec dword [0x1401920a8]
jne 0x1400b395f
mov qword [0x140192078], 0
lea rcx, [0x140192070]
call fcn.140100df4
jmp 0x1400b395f
lea rcx, [rsp + 0x37]
call fcn.1400b3ab0
cmp byte [rsp + 0x37], 0
je 0x1400b3775
mov rax, qword [0x140192108]
cmp rax, 3
jne 0x1400b3972
call qword [0x140192110]
nop
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1401030b0]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b3785
lea rcx, [0x1401030b0]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b37ad
lea rcx, [0x1401030b0]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b382b
lea rcx, [0x14016b97c]
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call fcn.14000af80
ud2
lea rcx, str.library_std_srcio_stdio.rs
call fcn.14000f010
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140006450
ud2
Function at 0x1400b4070
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140141fd0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1400b40e1
mov rcx, rdi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400b4117
test eax, eax
js 0x1400b40f2
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400b410a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x140142038]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400b3110
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400b2470
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140103088]
test ecx, ecx
je 0x1400b474d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400b46c0
cmp qword [rax + 8], 0
je 0x1400b46c0
add rax, 0x10
jmp 0x1400b4747
mov ecx, dword [0x140103088]
test ecx, ecx
je 0x1400b4760
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400b4745
mov rsi, rax
test rax, rax
jne 0x1400b472b
movzx eax, byte [0x140192198]
mov ecx, 0x20
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400b4783
mov rsi, rax
lea rax, [0x140103070]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140103088]
test ecx, ecx
je 0x1400b4773
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x1400b4747
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140103070]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b46a5
lea rcx, [0x140103070]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b46d0
lea rcx, [0x140103070]
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400b4723
mov ecx, 8
mov edx, 0x20
call fcn.140006450
ud2
Function at 0x1400b8080
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x88], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0xa0], 7
mov qword [rsp + 0xa4], 0
mov word [rsp + 0xac], 0
mov byte [rsp + 0xa8], 1
lea r8, [rsp + 0x88]
mov rcx, rdx
mov rdx, rax
call fcn.1400d0a70
mov rdi, rdx
test rax, rax
je 0x1400b8118
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rdi
call fcn.1400b23d0
mov qword [rsi], 0
jmp 0x1400b82e9
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x70], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.kernel32.dll_GetFileInformationByHandle
test eax, eax
je 0x1400b81d4
test dword [rsp + 0x40], 0x400
je 0x1400b8179
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x80]
mov rcx, rdi
mov edx, 9
mov r9d, 8
call sub.kernel32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x1400b81d4
mov r12d, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x64]
test rdi, rdi
je 0x1400b8229
mov qword [rsp + 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400b82ac
mov rbx, qword [rsp + 0x40]
jmp 0x1400b822b
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], 2
call fcn.1400b23d0
mov qword [rsi], 0
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140100c44
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400b829b
mov r14, rax
shl r12, 0x20
or r12, r15
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.140100c44
test r15, r15
je 0x1400b829b
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400b82e1
mov qword [rsi], 0
mov rcx, rbx
call fcn.140100c44
jmp 0x1400b82e1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x88], 1
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rax
call fcn.1400b23d0
mov qword [rsi], 0
mov rcx, rdi
call fcn.140100c44
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400d1390
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
lea rcx, [rsp + 0xa8]
call fcn.1400b4ae0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400d14fb
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x1400d1450
jmp 0x1400d142f
jae 0x1400d1511
cmp r8, 0x201
jae 0x1400d1450
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x1400d1497
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x1400d1477
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1400b4f60
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov r8d, r12d
call sub.kernel32.dll_GetEnvironmentVariableW
mov r15d, eax
test eax, eax
jne 0x1400d14c2
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400d1546
mov r8d, r15d
cmp r12, r8
jne 0x1400d1420
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400d15d2
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x1400d142f
jmp 0x1400d1450
lea rcx, [rsp + 0xb0]
call fcn.1400b23d0
mov byte [rsi + 0x18], 2
jmp 0x1400d15a2
cmp rdi, r8
jb 0x1400d15ec
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.1400b6d00
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1400d155d
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x1400d1576
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.140005f90
cmp byte [rsp + 0x78], 2
jne 0x1400d15b7
mov byte [rsi + 0x18], 2
lea rcx, [rsp + 0x60]
call fcn.1400b23d0
cmp qword [rsp + 0x40], 0
je 0x1400d15a2
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.140005f90
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rsp + 0x40], 0
jne 0x1400d1593
jmp 0x1400d15a2
lea rcx, str.internal_error:_entered_unreachable_code_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_wmi_0.13.1_src_safearray.rs8
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14000af80
jmp 0x1400d1601
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.14000a750
ud2
Function at 0x1400d46b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1401030e8]
test ecx, ecx
je 0x1400d4790
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400d46e4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400d46e4
add rdi, 0x10
jmp 0x1400d4786
mov ecx, dword [0x1401030e8]
test ecx, ecx
je 0x1400d47a3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400d4784
mov rsi, rax
test rax, rax
jne 0x1400d4753
movzx eax, byte [0x140192198]
mov ecx, 0x18
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400d47c6
mov rsi, rax
lea rax, str.0H_r_
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401030e8]
test ecx, ecx
je 0x1400d47b6
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 0x1400d4786
test rcx, rcx
je 0x1400d4786
lock dec qword [rcx]
jne 0x1400d4786
call fcn.1400d47e0
jmp 0x1400d4786
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, str.0H_r_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400d46c6
lea rcx, str.0H_r_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400d46f4
lea rcx, str.0H_r_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400d474b
mov ecx, 8
mov edx, 0x18
call fcn.140006450
ud2
Function at 0x1400dbf70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1400b4ae0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x1400dbfe5
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.1400dbea0
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x1400dbff3
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1400dc013
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x1400dc004
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call fcn.1400b23d0
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
test rax, rax
je 0x1400dc004
mov edx, 2
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
jmp fcn.140005f90
Function at 0x1400ddc00
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x140192198]
mov ecx, 0x10
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400ddcb8
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400ddd10]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400ddcab
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x1400ddc8a
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140005f90
mov edx, 8
mov rcx, rsi
call fcn.140005f90
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.140006450
ud2

Function at 0x1400ddfe0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.140100a60
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r15, [rsp + 0x3c]
lea rbx, [0x1400d5bf0]
lea r13, [rsp + 0x60]
lea r12, [0x1401082e8]
mov qword [rsp + 0x48], rdi

Function at 0x1400de540
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400de576
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [fcn.1400d1e50]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.140009570
ud2
Function at 0x1400e4b00
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x140103108]
test ecx, ecx
je 0x1400e4bf9
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e4b30
cmp qword [rax + 8], 0
je 0x1400e4b30
add rax, 0x10
jmp 0x1400e4bf3
mov ecx, dword [0x140103108]
test ecx, ecx
je 0x1400e4c0c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400e4bd3
mov rsi, rax
test rax, rax
jne 0x1400e4ba3
movzx eax, byte [0x140192198]
mov ecx, 0x20
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400e4c32
mov rsi, rax
lea rax, str.pD_v_
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140103108]
test ecx, ecx
je 0x1400e4c1f
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400e4bd7
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400e4bdf
xor eax, eax
jmp 0x1400e4bf3
call fcn.1400de540
mov rcx, rax
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
add rsp, 0x30
pop rsi
ret
lea rcx, str.pD_v_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400e4b15
lea rcx, str.pD_v_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400e4b40
lea rcx, str.pD_v_
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400e4b9b
mov ecx, 8
mov edx, 0x20
call fcn.140006450
ud2

Function at 0x1400eaa53
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400eaa6c
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
mov rcx, rax
call fcn.1400b2d00
mov ecx, eax
jmp 0x1400eaa63

Function at 0x1400ee440
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400ec816
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400ee47b
xor eax, eax
jmp 0x1400ee488
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x1400ee72b
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rsp + 0x42]
lea r15, [rdx + 0x18]
xor ecx, ecx
cmp qword [rdx + 0x18], 0xffffffffffffffff
cmove r15, rcx
mov r12d, 0x7fffffff
cmp rax, r12
cmovb r12, rax
lea r13, [rsp + 0x52]
mov qword [rsp + 0x30], r15
mov rdx, qword [r14 + 0x10]
lea rcx, [rsp + 0x38]
mov r8, rbx
call fcn.1400ecadd
mov al, byte [rsp + 0x41]
cmp al, 3
je 0x1400ee8a0
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x1400ee8ae
mov dl, byte [rsp + 0x40]
movzx r8d, word [rbp + 4]
mov word [r13 + 4], r8w
mov r8d, dword [rbp]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
mov rcx, r15
lea rdx, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs
call fcn.1400ec834
mov rcx, qword [r15]
mov rdx, rdi
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1400ee8c0
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.140047fdd
cmp al, 0xd
jne 0x1400ee87a
mov rax, qword [r15 + 8]
test rax, rax
je 0x1400ee87a
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400ee8f2
mov r15, r14
mov r14, rbx
mov rbx, r13
mov r13, rdi
mov rdi, rbp
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140047e67
mov rbp, rax
xor ecx, ecx
call fcn.140068ef3
test rbp, rbp
je 0x1400ee866
mov ecx, 1
mov rdx, rsi
call fcn.140048256
mov rsi, rbp
mov rbp, rdi
mov rdi, r13
mov r13, rbx
mov rbx, r14
mov r14, r15
mov r15, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140047fdd
cmp al, 0xd
jne 0x1400ee8d1
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.1400ec85b
mov rcx, rsi
call fcn.1400251bd
jmp 0x1400ee77c
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x1400ee8e1
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x1400ee8e1
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1400ee8e1
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2

Function at 0x1400eebd6
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400eebdd
test al, 1
je 0x1400eebfc
test al, 2
jne 0x1400eec11
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140145b90]
mov edx, 0x23
jmp 0x1400eec24
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140145bd0]
mov edx, 0x25
call fcn.14000af80
ud2
Function at 0x1400ffcc4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
lea rdx, [0x14016b6c0]
mov r8d, 0xa
jmp fcn.1400ffcd6