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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x170]
mov rcx, qword [rdx + 0x160]
mov rdx, qword [rdx + 0x168]
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hf695bd68a98dd3e8
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140102a32
test eax, eax
je 0x1401029ab
cmp eax, 0x90317
je 0x140102a2c
cmp eax, 0x90321
jne 0x140102a50
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h00a46d11a223495a
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x140102a5e
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x138]
and qword [rdi + 0x148], 0
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h17b44b06f021b83a
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call sym.alloc::vec::Vec_T_A_::extend_from_slice::h23ec7c399527e194
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h00a46d11a223495a
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x140102a5e
mov byte [rsi + 1], 1
jmp 0x140102a4c
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140102a5e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14010397b
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x48]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rdx + 0x40]
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hf695bd68a98dd3e8
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140103ac8
test eax, eax
je 0x140103a56
cmp eax, 0x90317
je 0x140103ac2
cmp eax, 0x90321
jne 0x140103ae6
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hfe5486fac35ca459
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x140103af4
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x10]
and qword [rdi + 0x20], 0
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h17b44b06f021b83a
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call sym.alloc::vec::Vec_T_A_::extend_from_slice::h23ec7c399527e194
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hfe5486fac35ca459
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x140103af4
mov byte [rsi + 1], 1
jmp 0x140103ae2
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140103af4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140120ed0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rdx, rcx
cmp rdx, 0x20
jae 0x140120ee3
pop rbp
jmp sym.core::str::count::char_count_general_case::hb90e6b0a5f2478cc
nop
pop rbp
jmp sym.core::str::count::do_count_chars::h2fd5de11ed1589cd
Function at 0x14012452c
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140124555
mov rdx, qword [rsp + 0x20]
jmp 0x14012455d
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret

Function at 0x140124e78
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
cmp qword [rcx + 0x18], rax
je 0x140124eec
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x140124f27
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140124f1e
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1402ebfe4]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140124f0b
jmp 0x140124f20
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140124f7e
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x140125038
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call sym._ZN5alloc5alloc6Global10alloc_impl17h64c216117d248227E.2780
test rax, rax
je 0x14012503b
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x140124f6a
mov eax, esi
jmp 0x140124f87
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1402bef2b]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x140124fdd
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140125002
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call sym._ZN5alloc5alloc15exchange_malloc17hdf5ba729819162f6E.6674
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm6
xor r14d, r14d
test rsi, rsi
je 0x14012501b
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call sym.__alloc::alloc::Global_as_core::alloc::Allocator_::deallocate::h0ece3cd7070a2634
mov rax, r14
mov rdx, rbx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
int3
Function at 0x1401292c5
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401292f1
xor eax, eax
jmp 0x1401292f6
call sym._ZN3std2io5error5Error13last_os_error17hd32259d83e591779E.2969
nop
add rsp, 0x38
ret

Function at 0x140129320
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x14012933d
add rsp, 0x28
jmp sym._ZN3std2io5error5Error13last_os_error17hd32259d83e591779E.2969
xor eax, eax
add rsp, 0x28
ret

Function at 0x140129600
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x140129695
mov rax, qword [sym.std::sys::pal::windows::thread_local_key::on_tls_callback::hcf9916a3fd1ee073]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x1401296d4
cmp dword [rbp], 0
je 0x1401296b8
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1401296f7
mov edi, eax
mov rax, qword [0x14032b128]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14032b128], rsi
jne 0x140129670
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1401296c9
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140129739
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1401296bd
mov edi, dword [rbp + 4]
jmp 0x1401296c9
mov edi, dword [rsi + 0x18]
jmp 0x1401296c7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rdx, [0x1402c2ae8]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call sym.core::panicking::assert_failed::h8a98e51c055d6f66
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call sym.core::panicking::panic_fmt::h9e181c62584cc428
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call sym.core::panicking::assert_failed::h2bea6875334c4c0c
int3
Function at 0x14012a4c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
cmp edx, 3
je 0x14012a4dc
test edx, edx
jne 0x14012a645
mov bl, 1
mov rdi, qword [0x14032b128]
nop word cs:[rax + rax]
test rdi, rdi
je 0x14012a530
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x14012a69a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x14012a4f0
dec esi
mov ecx, esi
call fcn.14016173c
test rax, rax
je 0x14012a4f0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.140161744
mov rcx, rsi
call r14
jmp 0x14012a4f0
test bl, 1
jne 0x14012a645
mov bl, 1
mov rdi, qword [0x14032b128]
nop word cs:[rax + rax]
test rdi, rdi
je 0x14012a590
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x14012a69a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x14012a550
dec esi
mov ecx, esi
call fcn.14016173c
test rax, rax
je 0x14012a550
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.140161744
mov rcx, rsi
call r14
jmp 0x14012a550
test bl, 1
jne 0x14012a645
mov bl, 1
mov rdi, qword [0x14032b128]
nop word cs:[rax + rax]
test rdi, rdi
je 0x14012a5f0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x14012a69a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x14012a5b0
dec esi
mov ecx, esi
call fcn.14016173c
test rax, rax
je 0x14012a5b0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.140161744
mov rcx, rsi
call r14
jmp 0x14012a5b0
test bl, 1
jne 0x14012a645
mov bl, 1
mov rdi, qword [0x14032b128]
nop
test rdi, rdi
je 0x14012a640
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x14012a69a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x14012a600
dec esi
mov ecx, esi
call fcn.14016173c
test rax, rax
je 0x14012a600
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.140161744
mov rcx, rsi
call r14
jmp 0x14012a600
test bl, 1
je 0x14012a650
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rbx, qword [0x14032b128]
nop word [rax + rax]
test rbx, rbx
je 0x14012a645
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x14012a69a
mov rbx, qword [rbx + 8]
test esi, esi
je 0x14012a660
dec esi
mov ecx, esi
call fcn.14016173c
test rax, rax
je 0x14012a660
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.140161744
mov rcx, rdi
call r14
jmp 0x14012a660
lea rcx, str.library_std_src_syspalwindows_thread_local_key.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
ud2
Function at 0x14012ad20
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14012ad3d
dec ecx
jmp 0x14012ad47
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
mov edx, 1
call fcn.140161744
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14012ad69
dec ecx
jmp 0x14012ad73
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.140161744

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213148]
test ecx, ecx
je 0x14012b561
dec ecx
call fcn.14016173c
cmp rax, 1
jbe 0x14012b4c1
add rax, 8
jmp 0x14012b558
je 0x14012b556
movzx eax, byte [0x14032b170]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14012b594
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h38e6cd0858e0f355
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140213148]
test ecx, ecx
je 0x14012b574
dec ecx
call fcn.14016173c
mov rdi, rax
mov ecx, dword [0x140213148]
test ecx, ecx
je 0x14012b584
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.140161744
test rdi, rdi
je 0x14012b551
mov rax, qword [rdi + 8]
test rax, rax
je 0x14012b544
lock dec qword [rax]
jne 0x14012b544
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::h6c489d886f08e611
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rbx
jmp 0x14012b558
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h38e6cd0858e0f355
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012b4ad
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h38e6cd0858e0f355
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012b507
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h38e6cd0858e0f355
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012b51b
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x14012b6a0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14012b6bd
dec ecx
jmp 0x14012b6c7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
mov edx, 1
call fcn.140161744
mov rax, qword [rdi + 8]
test rax, rax
je 0x14012b6e9
lock dec qword [rax]
jne 0x14012b6e9
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::h6c489d886f08e611
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14012b701
dec ecx
jmp 0x14012b70b
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.140161744

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140213108]
test ecx, ecx
je 0x14012bade
dec ecx
call fcn.14016173c
cmp rax, 1
jbe 0x14012ba5e
add rax, 8
jmp 0x14012bad5
je 0x14012bad3
movzx eax, byte [0x14032b170]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14012bb11
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140213108]
test ecx, ecx
je 0x14012baf1
dec ecx
call fcn.14016173c
mov rdi, rax
mov ecx, dword [0x140213108]
test ecx, ecx
je 0x14012bb01
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.140161744
test rdi, rdi
je 0x14012bace
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rbx
jmp 0x14012bad5
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012ba4d
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012ba9c
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012bab0
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x14012bf60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1402130e8]
test ecx, ecx
je 0x14012c016
dec ecx
call fcn.14016173c
cmp rax, 1
jbe 0x14012bf8e
add rax, 8
jmp 0x14012c00d
je 0x14012c00b
movzx eax, byte [0x14032b170]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14012c049
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x1402130e8]
test ecx, ecx
je 0x14012c029
dec ecx
call fcn.14016173c
mov rdi, rax
mov ecx, dword [0x1402130e8]
test ecx, ecx
je 0x14012c039
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.140161744
test rdi, rdi
je 0x14012c006
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rbx
jmp 0x14012c00d
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012bf7d
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012bfd4
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x14012bfe8
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x14012f400
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 7
mov qword [rbp + 0x24], 0
mov word [rbp + 0x2c], 0
mov byte [rbp + 0x28], 1
lea r8, [rbp + 8]
mov rcx, rdx
mov rdx, rax
call sym.std::sys::pal::windows::fs::File::open::h3a6cfbd342f96e23
mov rdi, rdx
test rax, rax
je 0x14012f487
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call sym.core::ptr::drop_in_place_std::io::error::Error_::hbbf69de94c165ea1
mov qword [rsi], 0
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 8]
mov rdx, rdi
call sym.std::sys::pal::windows::fs::File::file_attr::h4fcaaad4960f1471
cmp dword [rbp + 8], 2
jne 0x14012f4ab
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x14012f4da
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmm2, xmmword [rbp + 0x28]
movups xmm3, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x14012f503
lea rcx, [rbp - 0x38]
call sym.core::ptr::drop_in_place_std::io::error::Error_::hbbf69de94c165ea1
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.14016143c
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x14012f551
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x14012f5cd
mov rbx, qword [rbp - 0x40]
jmp 0x14012f553
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 0x14012f5bc
mov r14, rax
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.14016143c
test r15, r15
je 0x14012f5bc
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x14012f5f6
mov qword [rsi], 0
mov rcx, rbx
call fcn.14016143c
jmp 0x14012f5f6
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], 1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hbbf69de94c165ea1
mov qword [rsi], 0
mov rcx, rdi
call fcn.14016143c
jmp 0x14012f475
Function at 0x140148b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
add rsi, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x30], 0x81