joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058990
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rsp + 0x30]
mov edx, 0x29
mov r8d, 0xd
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400589cd
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 0x1400589e0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x140058a19
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140058a2f
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140058a40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x140058a7e
cdqe
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140058aa5
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x140058a92
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140058aa5
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x140059d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140059d73
test ecx, ecx
jne 0x140059dc2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140059d80
test ecx, ecx
jne 0x140059dc2
mov rcx, rdi
call dbg.include_cur_dir
movzx r10d, al
test bl, bl
jne 0x140059dc9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140059db6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x140059f3c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140059db6.2
xor r10d, r10d
test bl, bl
je 0x140059d90
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140059f1e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x140059dfb
xor edi, edi
jmp 0x140059e78
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x140059e40
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x140059e5b
inc rsi
dec rax
cmp rsi, 1
jne 0x140059e20
jmp 0x140059e78
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x140059e5b
cmp ebx, 0x5c
je 0x140059e5b
inc rsi
dec rax
cmp rsi, 1
jne 0x140059e40
jmp 0x140059e78
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x140059f2c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140059ea2
mov al, 9
cmp rdx, 2
je 0x140059ea6
cmp rdx, 1
jne 0x140059eb6
cmp byte [r9], 0x2e
jne 0x140059eb6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140059eb6
mov al, 0xa
jmp 0x140059eb6
cmp byte [r9], 0x2e
jne 0x140059eb6
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140059db6.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140059db6.2
mov esi, 2
jmp case.0x140059db6.2
lea r8, [0x1400efcd8]
call dbg.slice_start_index_len_fail
ud2
lea r8, [0x1400efcf0]
call dbg.slice_start_index_len_fail
ud2
Function at 0x14005db10
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
lea rdx, [dbg.callback]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
mov rdx, rax
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x14005dba2
nop dword [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 1
jne 0x14005db70
mov eax, dword [rsp + 0x34]
test rax, rax
je 0x14005dbbc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14005dbc6
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14005dbc9
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret

Function at 0x14005dc50
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
lea rdx, [dbg.callback]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
mov rdx, rax
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x14005dce2
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 1
jne 0x14005dcb0
mov eax, dword [rsp + 0x34]
test rax, rax
je 0x14005dcfc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14005dd06
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14005dd09
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret

Function at 0x14005ddd0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
lea rdx, [dbg.callback]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
mov rdx, rax
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x14005de61
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 1
jne 0x14005de30
mov edi, dword [rsp + 0x34]
test edi, edi
je 0x14005de82
mov ecx, edi
call dbg.decode_error_kind
cmp al, 0xb
jne 0x14005de73
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14005de8f
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov ecx, edi
call dbg.decode_error_kind
cmp al, 0xb
je 0x14005de59
shl rdi, 0x20
or rdi, 2
mov eax, 1
jmp 0x14005de88
mov edi, dword [rsp + 0x38]
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14005e940
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x14005e95c
xor eax, eax
add rsp, 0x28
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
Function at 0x14005fab0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x14005fb08
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x14005fb22
lea rax, [0x1400e25a4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0library_alloc_srccollections_btreemapentry.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x40], 0
lea rdx, [0x1400f1f80]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2

Function at 0x140060b80
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h6b50035b78563e82
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060bdf
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140060c56
mov r8, rdx
not r8
shr r8, 0x3f
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp sym.__rust_dealloc
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x140060c63
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x140060c56
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x140060c45
jmp 0x140060c56
Function at 0x1400618a0
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 dbg.___chkstk_ms
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
lea rdi, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
lea r13, [rsp + 0x30]
mov qword [rsp + 0x58], r13
lea rbp, [dbg.callback]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov rcx, r15
mov rdx, rdi
mov r8d, 0x1000
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x140061a5a
mov r14d, 0xffffffff
lea r12, [rsp + 0x40]
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 1
jne 0x140061950
cmp dword [rsp + 0x34], 0
jne 0x140061a5f
mov edi, dword [rsp + 0x38]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x140061a5f
cmp edi, 0x1000
ja 0x140061a9f
xor ebx, ebx
nop word [rax + rax]
cmp rbx, rdi
ja 0x140061a8b
lea rdx, [rsp + rbx]
add rdx, 0x80
mov r8, rdi
sub r8, rbx
cmp r8, r14
cmovae r8, r14
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, r12
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x140061a5a
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 1
jne 0x1400619f0
cmp dword [rsp + 0x34], 0
jne 0x140061a5f
mov eax, dword [rsp + 0x38]
add rbx, rax
cmp rbx, rdi
jne 0x1400619a0
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, r15
lea rdx, [rsp + 0x80]
mov r8d, 0x1000
mov r9, r12
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
jne 0x140061950
call sub.KERNEL32.dll_GetLastError
mov rcx, r15
call fcn.1400e24b4
mov rcx, rsi
call fcn.1400e24b4
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov rdx, rdi
call dbg.slice_index_order_fail
jmp 0x140061ab3
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rdi
call dbg.slice_end_index_len_fail
ud2
Function at 0x140065aa0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400e4038]
test ecx, ecx
je 0x140065ad2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140065aeb
mov rcx, rax
cmp qword [rax], 0
je 0x140065aeb
add rcx, 8
jmp 0x140065bdd
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140065ac0
mov ecx, dword [0x1400e4038]
test ecx, ecx
je 0x140065bbe
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140065bdb
mov rdi, rax
test rax, rax
jne 0x140065b57
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140065bfa
mov rdi, rax
mov qword [rax], 0
lea rax, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rdi + 0x18], rax
mov ecx, dword [0x1400e4038]
test ecx, ecx
je 0x140065be7
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140065b74
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x140065ba9
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 0x140065ba4
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140065ba9
call dbg.fallback_rng
mov qword [rdi], 1
lea rcx, [rdi + 8]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rdx
jmp 0x140065bdd
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140065b0a
xor ecx, ecx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
jmp 0x140065b4f
mov ecx, 0x20
mov edx, 8
call dbg.handle_alloc_error
ud2
Function at 0x1400660c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400e4058]
test ecx, ecx
je 0x1400660f3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006610c
mov rbx, rax
cmp qword [rax], 0
je 0x14006610c
add rbx, 8
jmp 0x1400661f5
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400660e1
mov ecx, dword [0x1400e4058]
test ecx, ecx
je 0x1400661d6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400661f3
mov rdi, rax
test rax, rax
jne 0x140066178
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140066213
mov rdi, rax
mov qword [rax], 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______
mov qword [rdi + 0x10], rax
mov ecx, dword [0x1400e4058]
test ecx, ecx
je 0x140066200
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400661a6
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
test rax, rax
je 0x1400661a6
cmp rax, 1
je 0x1400661a8
test rcx, rcx
je 0x1400661a6
lock dec qword [rcx]
jne 0x1400661a6
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>>
xor ecx, ecx
lea rbx, [rdi + 8]
mov rax, qword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 1
mov qword [rdi + 8], rcx
je 0x1400661f5
test rax, rax
je 0x1400661f5
lock dec qword [rax]
jne 0x1400661f5
mov rcx, rax
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>>
jmp 0x1400661f5
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14006612b
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
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______
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
jmp 0x140066170
mov ecx, 0x18
mov edx, 8
call dbg.handle_alloc_error
ud2
Function at 0x140066dd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400e4078]
test ecx, ecx
je 0x140066e03
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140066e1c
mov rbx, rax
cmp qword [rax], 0
je 0x140066e1c
add rbx, 8
jmp 0x140066f0a
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140066df1
mov ecx, dword [0x1400e4078]
test ecx, ecx
je 0x140066eeb
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140066f08
mov rdi, rax
test rax, rax
jne 0x140066e88
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140066f28
mov rdi, rax
mov qword [rax], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov qword [rdi + 0x10], rax
mov ecx, dword [0x1400e4078]
test ecx, ecx
je 0x140066f15
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140066ee4
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
jne 0x140066ecc
lea rbx, [rdi + 8]
mov rcx, qword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 1
mov qword [rdi + 8], rax
je 0x140066f0a
test rcx, rcx
je 0x140066f0a
lock dec qword [rcx]
jne 0x140066f0a
call dbg.drop_slow<std::sync::mpmc::context::Inner>
jmp 0x140066f0a
test rcx, rcx
je 0x140066ee4
test rax, rax
je 0x140066ee4
lock dec qword [rax]
jne 0x140066ee4
mov rcx, rax
call dbg.drop_slow<std::sync::mpmc::context::Inner>
call sym.std::sync::mpmc::context::Context::new::h6d0b7b7e5a59cfb6
jmp 0x140066ea1
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140066e3b
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
jmp 0x140066e80
mov ecx, 0x18
mov edx, 8
call dbg.handle_alloc_error
ud2
Function at 0x140067180
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 [0x1400e4098]
test ecx, ecx
je 0x1400671af
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400671c8
cmp byte [rax + 8], 0
je 0x1400671c8
add rax, 9
jmp 0x14006725f
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400671a0
mov ecx, dword [0x1400e4098]
test ecx, ecx
je 0x140067244
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14006725d
mov rdi, rax
test rax, rax
jne 0x140067220
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140067276
mov rdi, rax
mov byte [rax + 8], 0
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov ecx, dword [0x1400e4098]
test ecx, ecx
je 0x140067266
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140067235
movzx ecx, byte [rsi]
and cl, 1
neg cl
mov byte [rsi], 0
and cl, byte [rsi + 1]
jmp 0x140067237
xor ecx, ecx
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x14006725f
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400671df
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
jmp 0x140067218
mov ecx, 0x10
mov edx, 8
call dbg.handle_alloc_error
ud2
Function at 0x140067290
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 [0x1400e40b8]
test ecx, ecx
je 0x1400672bf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400672d8
cmp byte [rax + 8], 0
je 0x1400672d8
add rax, 9
jmp 0x14006736f
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400672b0
mov ecx, dword [0x1400e40b8]
test ecx, ecx
je 0x140067354
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14006736d
mov rdi, rax
test rax, rax
jne 0x140067330
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140067386
mov rdi, rax
mov byte [rax + 8], 0
lea rax, dbg.destroy_value_u8_
mov qword [rdi], rax
mov ecx, dword [0x1400e40b8]
test ecx, ecx
je 0x140067376
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x140067345
movzx ecx, byte [rsi]
and cl, 1
neg cl
mov byte [rsi], 0
and cl, byte [rsi + 1]
jmp 0x140067347
xor ecx, ecx
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x14006736f
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400672ef
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call sym.std::sys::windows::thread_local_key::StaticKey::init::had1a3839dcb7195c
mov ecx, eax
jmp 0x140067328
mov ecx, 0x10
mov edx, 8
call dbg.handle_alloc_error
ud2

Function at 0x1400691d0
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call dbg.maybe_verbatim
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14006920b
mov rcx, rdi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x140069210
xor ebx, ebx
test rsi, rsi
jne 0x140069224
jmp 0x140069238
mov rbx, rsi
jmp 0x140069238
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140069238
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret