joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f560
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov eax, 1
test rcx, rcx
jne 0x14004f612
mov rax, qword [0x140217138]
cmp rax, 3
jne 0x14004f638
mov rsi, rdx
mov rcx, rdx
mov edx, 1
call sym.std::sys::pal::windows::net::Socket::new::hcd1973642841914a
test rax, rax
je 0x14004f5a1
mov eax, 1
jmp 0x14004f612
cmp word [rsi], 0
je 0x14004f5c3
movups xmm0, xmmword [rsi + 4]
mov eax, dword [rsi + 0x14]
mov r9d, dword [rsi + 0x18]
movzx ecx, word [rsi + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x14004f5d8
mov eax, dword [rsi + 2]
movzx ecx, word [rsi + 6]
mov r8d, 0x10
mov r10w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x2c], r10w
mov word [rsp + 0x2e], cx
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], r9d
lea rax, [rsp + 0x2c]
mov rsi, rdx
mov rcx, rdx
mov rdx, rax
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x14004f619
xor eax, eax
mov rdx, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call sub.ws2_32.dll_closesocket
mov rdx, rdi
jmp 0x14004f59a
mov rsi, rdx
call dbg.initialize<unsafe extern "system" fn() -> i32, std::sync::once_lock::{impl#0}::get_or_init::{closure_env#0}<unsafe extern "system" fn() -> i32, std::sys::pal::windows::net::init::{closure_env#0}>, !>
mov rdx, rsi
jmp 0x14004f585

Function at 0x14004f9a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14004fa4f
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x14004fa5e
cmp ecx, 0x17
jne 0x14004fa85
cmp eax, 0x1b
jbe 0x14004fa9e
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x14004fa8c
cmp eax, 0xf
jbe 0x14004fab6
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, str.invalid_argument0
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
call dbg.panic
lea rcx, [0x1401ec171]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call dbg.panic
int3
Function at 0x14004fc90
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x50
mov rax, r8
cmp r8, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
cmp word [r9], 0
je 0x14004fcce
movups xmm0, xmmword [r9 + 4]
mov eax, dword [r9 + 0x14]
mov r11d, dword [r9 + 0x18]
movzx r10d, word [r9 + 0x1c]
mov r9d, 0x1c
mov si, 0x17
jmp 0x14004fce4
mov eax, dword [r9 + 2]
movzx r10d, word [r9 + 6]
mov r9d, 0x10
mov si, 2
xorps xmm0, xmm0
rol r10w, 8
mov word [rsp + 0x34], si
mov word [rsp + 0x36], r10w
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x3c], xmm0
mov dword [rsp + 0x4c], r11d
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
call sub.ws2_32.dll_sendto
cmp eax, 0xffffffff
je 0x14004fd2c
movsxd rdx, eax
xor eax, eax
add rsp, 0x50
pop rsi
ret
call sub.ws2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x50
pop rsi
ret

Function at 0x14004fd50
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x48
mov rax, r8
test rdx, rdx
je 0x14004fd61
add rsp, 0x48
ret
cmp word [rax], 0
je 0x14004fd83
movups xmm0, xmmword [rax + 4]
mov edx, dword [rax + 0x14]
mov r9d, dword [rax + 0x18]
movzx eax, word [rax + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x14004fd98
mov edx, dword [rax + 2]
movzx eax, word [rax + 6]
mov r8d, 0x10
mov r10w, 2
xorps xmm0, xmm0
rol ax, 8
mov word [rsp + 0x2c], r10w
mov word [rsp + 0x2e], ax
mov dword [rsp + 0x30], edx
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], r9d
mov rcx, qword [rcx]
lea rdx, [rsp + 0x2c]
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x14004fdce
xor eax, eax
add rsp, 0x48
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x48
ret
Function at 0x140054680
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call dbg.open
mov rdi, rdx
test rax, rax
je 0x140054710
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call dbg.file_attr
cmp dword [rsp + 0x38], 2
jne 0x14005473f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x14005478b
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x1400547b7
lea rcx, [rsp + 0x88]
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x140054815
mov qword [rsp + 0x80], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x140054891
mov rbx, qword [rsp + 0x80]
jmp 0x140054817
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 0x140054880
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 0x140054880
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400548bd
mov qword [rsi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400548bd
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
jmp 0x1400546ff
Function at 0x1400567e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x140098060]
test ecx, ecx
je 0x140056810
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140056829
cmp qword [rax + 8], 0
je 0x140056829
add rax, 0x10
jmp 0x1400568f4
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056800
mov ecx, dword [0x140098060]
test ecx, ecx
je 0x1400568d5
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400568f2
test rax, rax
jne 0x14005689b
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056914
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140098060]
test ecx, ecx
je 0x1400568fb
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x1400568bb
mov rdx, qword [rsi]
mov qword [rsi], 0
cmp rdx, 1
jne 0x1400568bb
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x1400568bd
xor edx, edx
mov qword [rax + 8], 1
lea r8, [rax + 0x10]
mov qword [rax + 0x10], rdx
mov byte [rax + 0x18], cl
mov rax, r8
jmp 0x1400568f4
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056848
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x14005688d
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x140056930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x140098080]
test ecx, ecx
je 0x140056a49
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14005695f
cmp qword [rax + 8], 0
jne 0x140056a43
mov ecx, dword [0x140098080]
test ecx, ecx
je 0x140056a6b
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056a88
test rax, rax
jne 0x1400569e9
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsp + 0x20], rax
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056aaa
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x140098080]
test ecx, ecx
je 0x140056a91
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
test rsi, rsi
je 0x140056a03
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140056a05
mov rcx, qword [rsi + 8]
jmp 0x140056a05
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x140056a43
test rdx, rdx
je 0x140056a43
lock dec qword [rdx]
jne 0x140056a43
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x140056a8a
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056954
jmp 0x14005695f
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14005697e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x1400569db
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140056ae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400980a0]
test ecx, ecx
je 0x140056b0f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140056b28
cmp byte [rax + 8], 0
je 0x140056b28
add rax, 9
jmp 0x140056bdb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056b00
mov ecx, dword [0x1400980a0]
test ecx, ecx
je 0x140056bbc
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056bd9
test rax, rax
jne 0x140056b96
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056bf8
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1400980a0]
test ecx, ecx
je 0x140056be2
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x140056bac
cmp byte [rsi], 0
mov byte [rsi], 0
movzx edx, byte [rsi + 1]
cmove edx, ecx
mov ecx, edx
lea rdx, [rax + 9]
mov byte [rax + 8], 1
mov byte [rax + 9], cl
mov rax, rdx
jmp 0x140056bdb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056b47
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140056b88
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400980c0]
test ecx, ecx
je 0x140056c3f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140056c58
cmp byte [rax + 8], 0
je 0x140056c58
add rax, 9
jmp 0x140056d0b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056c30
mov ecx, dword [0x1400980c0]
test ecx, ecx
je 0x140056cec
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056d09
test rax, rax
jne 0x140056cc6
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056d28
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1400980c0]
test ecx, ecx
je 0x140056d12
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x140056cdc
cmp byte [rsi], 0
mov byte [rsi], 0
movzx edx, byte [rsi + 1]
cmove edx, ecx
mov ecx, edx
lea rdx, [rax + 9]
mov byte [rax + 8], 1
mov byte [rax + 9], cl
mov rax, rdx
jmp 0x140056d0b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056c77
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140056cb8
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x140056d40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400980e0]
test ecx, ecx
je 0x140056e53
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140056d6f
cmp qword [rax + 8], 0
jne 0x140056e4d
mov ecx, dword [0x1400980e0]
test ecx, ecx
je 0x140056e85
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140056ea2
test rax, rax
jne 0x140056df9
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov qword [rsp + 0x20], rax
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140056ec4
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400980e0]
test ecx, ecx
je 0x140056eab
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
test rsi, rsi
je 0x140056e75
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140056e75
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x140056e4d
test rdx, rdx
je 0x140056e4d
lock dec qword [rdx]
jne 0x140056e4d
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x140056ea4
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056d64
jmp 0x140056d6f
mov rsi, rax
call sym.std::sync::mpmc::context::Context::new::h52887c5962e8c9c3
mov rcx, rax
mov rax, rsi
jmp 0x140056e0f
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056d8e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140056deb
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140056ef0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x140098100]
test ecx, ecx
je 0x140057009
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140056f1f
cmp qword [rax + 8], 0
jne 0x140057003
mov ecx, dword [0x140098100]
test ecx, ecx
je 0x14005702b
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140057048
test rax, rax
jne 0x140056fa9
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rsp + 0x20], rax
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005706a
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x140098100]
test ecx, ecx
je 0x140057051
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
test rsi, rsi
je 0x140056fc3
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140056fc5
mov rcx, qword [rsi + 8]
jmp 0x140056fc5
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x140057003
test rdx, rdx
je 0x140057003
lock dec qword [rdx]
jne 0x140057003
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x14005704a
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140056f14
jmp 0x140056f1f
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140056f3e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140056f9b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x1400570a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x140098120]
test ecx, ecx
je 0x140057192
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400570cf
cmp qword [rax + 8], 0
jne 0x14005718c
mov ecx, dword [0x140098120]
test ecx, ecx
je 0x1400571b4
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400571d1
test rax, rax
jne 0x140057145
mov rax, qword [str.1p__]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400571f3
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140098120]
test ecx, ecx
je 0x1400571da
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.1400963cc
mov rax, rdi
test rsi, rsi
je 0x14005715e
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
je 0x140057180
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov rsi, rax
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, rsi
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm0
add rax, 0x10
jmp 0x1400571d3
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x1400570c4
jmp 0x1400570cf
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1400570ee
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140057137
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14008b420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008b49a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14008b490
cmp r11, r10
ja 0x14008b525
cmp r10, rdx
ja 0x14008b537
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008b492
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008b470
jmp 0x14008b507
ja 0x14008b49a
mov r11, r10
cmp rax, r8
jne 0x14008b442
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008b50b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14008b4e0
mov r8, r10
sub ecx, r9d
jns 0x14008b4fe
jmp 0x14008b50d
cmp r10, rdx
je 0x14008b519
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008b50d
xor al, 1
cmp r8, rdx
jne 0x14008b4c0
jmp 0x14008b50d
xor eax, eax
jmp 0x14008b50d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401fe2a0]
call sym.core::option::unwrap_failed::hc0851016c6838662
lea r8, [0x1401fe2b8]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x1401fe2b8]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x14008ffb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
sub rsp, 0xb0
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x14009000a
test cl, 0x20
jne 0x140090054
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x1400900d5
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x1401fd726]
movzx ecx, word [rcx + r8]
mov word [rsp + 0x55], cx
mov r8d, 0x24
mov cl, 1
jmp 0x1400900e0
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov ecx, eax
nop word [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x140090020
jmp 0x1400900a2
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov ecx, eax
nop word cs:[rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x140090070
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x140090142
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, [0x1401fd722]
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x140090133
mov r8d, 0x26
cmp cl, 0xa
jae 0x1400900ea
or cl, 0x30
mov byte [rsp + r8 + 0x30], cl
jmp 0x140090104
movzx ecx, cl
lea r8, [0x1401fd726]
movzx ecx, word [r8 + rcx*2]
mov word [rsp + 0x55], cx
mov r8d, 0x25
lea rcx, [rsp + r8]
add rcx, 0x30
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
lea r8, str.librarycore_src_num_f32.rs
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call dbg.pad_integral
nop
add rsp, 0xb0
pop rsi
ret
lea r8, str.librarycore_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call dbg.slice_start_index_len_fail
int3