joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f6c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x1400f6ca6
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1402bd630]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1402bd640]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call sym.__std::hash::random::DefaultHasher_as_core::hash::Hasher_::write::h375a4a5750cb1122
test rdi, rdi
je 0x1400f6d26
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400f6d3f
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400f6e37
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400f6eb8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x1400f6e44
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x1400f6d00
add r8, rcx
cmp r9, 8
jae 0x1400f6e4d
jmp 0x1400f6eb8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call sym.__std::hash::random::DefaultHasher_as_core::hash::Hasher_::write::h375a4a5750cb1122
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400f6eb8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400f6eb8
mov r8, rcx
cmp r9, 8
jb 0x1400f6eb8
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400f6e50
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400fddc0
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 0x1400fdddd
dec ecx
jmp 0x1400fdde7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
mov edx, 1
call fcn.14013efbc
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400fde0d
dec ecx
jmp 0x1400fde17
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.14013efbc

Function at 0x1400fde80
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 0x1400fdf15
mov rax, qword [sym.std::sys::pal::windows::thread_local_key::on_tls_callback::h9bf1cac0cae15c26]
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 0x1400fdf54
cmp dword [rbp], 0
je 0x1400fdf38
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400fdf77
mov edi, eax
mov rax, qword [0x1403460e8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1403460e8], rsi
jne 0x1400fdef0
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 0x1400fdf49
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400fdfb9
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400fdf3d
mov edi, dword [rbp + 4]
jmp 0x1400fdf49
mov edi, dword [rsi + 0x18]
jmp 0x1400fdf47
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, [0x14030bcd8]
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::h82260c4eb449eb0c
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::hbb9b898858802355
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::hf4efba9ba3eccef1
int3
Function at 0x1400ff860
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 0x1400ff87c
test edx, edx
jne 0x1400ff9e5
mov bl, 1
mov rdi, qword [0x1403460e8]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400ff8d0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400ffa3a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400ff890
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400ff890
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.14013efbc
mov rcx, rsi
call r14
jmp 0x1400ff890
test bl, 1
jne 0x1400ff9e5
mov bl, 1
mov rdi, qword [0x1403460e8]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400ff930
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400ffa3a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400ff8f0
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400ff8f0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.14013efbc
mov rcx, rsi
call r14
jmp 0x1400ff8f0
test bl, 1
jne 0x1400ff9e5
mov bl, 1
mov rdi, qword [0x1403460e8]
nop word cs:[rax + rax]
test rdi, rdi
je 0x1400ff990
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400ffa3a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400ff950
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400ff950
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.14013efbc
mov rcx, rsi
call r14
jmp 0x1400ff950
test bl, 1
jne 0x1400ff9e5
mov bl, 1
mov rdi, qword [0x1403460e8]
nop
test rdi, rdi
je 0x1400ff9e0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x1400ffa3a
mov rdi, qword [rdi + 8]
test esi, esi
je 0x1400ff9a0
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400ff9a0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.14013efbc
mov rcx, rsi
call r14
jmp 0x1400ff9a0
test bl, 1
je 0x1400ff9f0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rbx, qword [0x1403460e8]
nop word [rax + rax]
test rbx, rbx
je 0x1400ff9e5
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x1400ffa3a
mov rbx, qword [rbx + 8]
test esi, esi
je 0x1400ffa00
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400ffa00
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14013efbc
mov rcx, rdi
call r14
jmp 0x1400ffa00
lea rcx, str.library_std_src_syspalwindows_thread_local_key.rs
call sym.core::option::unwrap_failed::h023124a4722a3daa
ud2
Function at 0x1401007f0
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 [0x1402b50d8]
test ecx, ecx
je 0x14010081d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140100836
add rax, 8
jmp 0x1401008d1
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h549bfd330d3ecca3
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140100814
je 0x1401008cf
movzx eax, byte [0x140346130]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x1401008fa
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h549bfd330d3ecca3
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1402b50d8]
test ecx, ecx
je 0x1401008da
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b50d8]
test ecx, ecx
je 0x1401008ea
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x1401008ca
mov rax, qword [rdi + 8]
test rax, rax
je 0x1401008b9
lock dec qword [rax]
jne 0x1401008b9
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2cd23d720e9149f1
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x1401008d1
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::h549bfd330d3ecca3
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14010087c
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h549bfd330d3ecca3
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140100890
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3

Function at 0x140100a00
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 0x140100a1d
dec ecx
jmp 0x140100a27
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
mov edx, 1
call fcn.14013efbc
mov rax, qword [rdi + 8]
test rax, rax
je 0x140100a49
lock dec qword [rax]
jne 0x140100a49
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2cd23d720e9149f1
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140100a65
dec ecx
jmp 0x140100a6f
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.14013efbc
Function at 0x140100dc0
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 [0x1402b5098]
test ecx, ecx
je 0x140100ded
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140100e06
add rax, 8
jmp 0x140100e81
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140100de4
je 0x140100e7f
movzx eax, byte [0x140346130]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x140100eaa
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1402b5098]
test ecx, ecx
je 0x140100e8a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b5098]
test ecx, ecx
je 0x140100e9a
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x140100e7a
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x140100e81
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::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140100e44
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140100e58
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x1401012d0
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 [0x1402b5078]
test ecx, ecx
je 0x1401012fd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140101316
add rax, 8
jmp 0x140101399
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1401012f4
je 0x140101397
movzx eax, byte [0x140346130]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x1401013c2
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x1402b5078]
test ecx, ecx
je 0x1401013a2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b5078]
test ecx, ecx
je 0x1401013b2
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x140101392
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x140101399
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::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x14010135c
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h1761f294304f3d03
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x140101370
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3
Function at 0x140104c60
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::h912324bcdd3d21de
mov rdi, rdx
test rax, rax
je 0x140104ce7
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_::hd3404dd2e1da2dda
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::h8d05e651c8b18ac2
cmp dword [rbp + 8], 2
jne 0x140104d0b
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x140104d3a
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 0x140104d63
lea rcx, [rbp - 0x38]
call sym.core::ptr::drop_in_place_std::io::error::Error_::hd3404dd2e1da2dda
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 sub.KERNEL32.dll_CloseHandle
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x140104db1
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 0x140104e2d
mov rbx, qword [rbp - 0x40]
jmp 0x140104db3
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 0x140104e1c
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 sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x140104e1c
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x140104e56
mov qword [rsi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x140104e56
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_::hd3404dd2e1da2dda
mov qword [rsi], 0
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x140104cd5
Function at 0x14011eea0
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
Function at 0x140121020
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 [0x1402b50b8]
test ecx, ecx
je 0x14012104d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140121066
add rax, 8
jmp 0x140121101
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h67680042ce0a354e
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140121044
je 0x1401210ff
movzx eax, byte [0x140346130]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x14012112a
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h67680042ce0a354e
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1402b50b8]
test ecx, ecx
je 0x14012110a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402b50b8]
test ecx, ecx
je 0x14012111a
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14013efbc
test rdi, rdi
je 0x1401210fa
mov rax, qword [rdi + 8]
test rax, rax
je 0x1401210e9
lock dec qword [rax]
jne 0x1401210e9
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::hb47c8e7422db9571
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov rax, rbx
jmp 0x140121101
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::h67680042ce0a354e
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x1401210ac
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h67680042ce0a354e
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
jmp 0x1401210c0
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3

Function at 0x1401211a0
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 0x1401211bd
dec ecx
jmp 0x1401211c7
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
mov edx, 1
call fcn.14013efbc
mov rax, qword [rdi + 8]
test rax, rax
je 0x1401211e9
lock dec qword [rax]
jne 0x1401211e9
mov rcx, qword [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::hb47c8e7422db9571
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, rdi
call fcn.14013f0f4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140121205
dec ecx
jmp 0x14012120f
mov rcx, rsi
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h9998ba6ad9fe020d
mov ecx, eax
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.14013efbc
Function at 0x140121690
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x1403460d8]
cmp rax, 3
jne 0x140121880
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1401218a6
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sym.memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x140121728
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1401217e4
inc rdx
cmp rax, rdx
jne 0x140121710
jmp 0x14012184b
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14012175e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1401217e4
inc rdx
cmp rcx, rdx
jne 0x140121740
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x140121762
jmp 0x1401217ae
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x1402bf680]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1401217ae
add rcx, 0x10
cmp rcx, rdx
jbe 0x140121780
sub rax, rcx
je 0x14012184b
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1401217e1
inc rdx
cmp rax, rdx
jne 0x1401217d0
jmp 0x14012184b
add rdx, rcx
cmp rdx, rdi
jne 0x14012184b
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14012185f
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140121877
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401218b8
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1401218b8
mov rbx, rdx
call sym.std::sync::once_lock::OnceLock_T_::initialize::hdb4d2c3b6c5ee72d
mov rdx, rbx
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
jbe 0x1401216e7
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call sym.std::sys::pal::common::small_c_string::run_with_cstr_allocating::h40517e0f9a5addaf
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret