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

Disassembly:
movabs r9, 0x100000001b3
mov eax, 0x811c9dc5
xor r10d, r10d
movzx r11d, byte [rdx + r10]
xor rax, r11
imul rax, r9
inc r10
cmp r8, r10
jne 0x14000e65a
xor rax, 0xff
imul rax, r9
xor r9d, r9d
mov qword [rcx], r9
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x20], r9
mov qword [rcx + 0x30], r9
mov qword [rcx + 0x40], r9
mov qword [rcx + 0x50], r9
mov qword [rcx + 0x68], r9
mov qword [rcx + 0x78], rdx
mov qword [rcx + 0x80], r8
mov edx, 8
mov qword [rcx + 0x88], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x90], xmm0
mov qword [rcx + 0xa0], rdx
movups xmmword [rcx + 0xa8], xmm0
mov qword [rcx + 0xb8], rdx
movups xmmword [rcx + 0xc0], xmm0
mov qword [rcx + 0xd0], rdx
movups xmmword [rcx + 0xd8], xmm0
mov qword [rcx + 0xe8], rdx
movups xmmword [rcx + 0xf0], xmm0
mov qword [rcx + 0x100], rdx
movups xmmword [rcx + 0x108], xmm0
mov qword [rcx + 0x118], rdx
movups xmmword [rcx + 0x120], xmm0
mov qword [rcx + 0x130], rdx
movups xmmword [rcx + 0x138], xmm0
mov qword [rcx + 0x148], rdx
movups xmmword [rcx + 0x150], xmm0
mov qword [rcx + 0x160], 4
movups xmmword [rcx + 0x168], xmm0
mov qword [rcx + 0x178], rdx
movups xmmword [rcx + 0x180], xmm0
mov qword [rcx + 0x190], rdx
movups xmmword [rcx + 0x198], xmm0
mov qword [rcx + 0x1a8], rdx
movups xmmword [rcx + 0x1b0], xmm0
mov qword [rcx + 0x1c0], rdx
movups xmmword [rcx + 0x1c8], xmm0
mov qword [rcx + 0x1d8], rdx
movups xmmword [rcx + 0x1e0], xmm0
mov qword [rcx + 0x1f0], rax
mov qword [rcx + 0x1f8], r9
mov qword [rcx + 0x208], r9
mov qword [rcx + 0x218], r9
mov qword [rcx + 0x228], r9
mov qword [rcx + 0x238], r9
mov qword [rcx + 0x248], r9
movabs rax, 0x11000000110000
mov qword [rcx + 0x258], rax
mov dword [rcx + 0x260], 0
mov word [rcx + 0x264], 2
ret
Function at 0x1400433a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140043430
cmp r11, r10
ja 0x1400434a6
cmp r10, rdx
ja 0x1400434ba
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140043432
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140043410
jmp 0x140043494
ja 0x14004343a
mov r11, r10
cmp rax, r8
jne 0x1400433d4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140043470
mov rdi, r8
sub ecx, edx
jns 0x14004348b
jmp 0x140043496
cmp r8, rsi
je 0x1400434cb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140043496
xor al, 1
cmp rdi, rsi
jne 0x140043450
jmp 0x140043496
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.5_src_win.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
ud2

Function at 0x14004e120
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb sym.core::str::count::char_count_general_case::h9f867cadaa700da3
jmp dbg.do_count_chars
Function at 0x14004f0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14004f14b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14004f14b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14004f166
cmp eax, 0x42
jne 0x14004f14b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14004f216
cmp byte [r9 + r11], 0x5f
jne 0x14004f216
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14004f27e
mov rcx, rsi
xor edx, edx
call dbg.print_path
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x14004f311
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14004f1a2
lea rdx, [0x140092173]
mov r8d, 1
call dbg.pad
test al, al
jne 0x14004f311
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14004f15a
xor r14d, r14d
lea rbx, [0x140092528]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14004f1d4
cmp byte [rax + rcx], 0x45
je 0x14004f333
sub r14, 1
jb 0x14004f1f9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14004f1f9
mov r8d, 2
mov rdx, rbx
call dbg.pad
test al, al
jne 0x14004f311
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x14004f311
mov rax, qword [rsi]
test rax, rax
jne 0x14004f1c0
jmp 0x14004f15a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14004f2d8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14004f272
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14004f25c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14004f24b
add dl, 0xa9
jmp 0x14004f25a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14004f2d8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14004f2d8
movzx edx, bl
add rax, rdx
jae 0x14004f220
jmp 0x14004f2d8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14004f2d8
cmp rax, rcx
jae 0x14004f2d5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14004f32b
cmp qword [rsi + 0x20], 0
je 0x14004f324
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call dbg.print_path_maybe_open_generics
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14004f15c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14004f319
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400924e8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call dbg.pad
test al, al
je 0x14004f319
mov dil, 2
jmp 0x14004f15a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14004f15a
mov dil, 1
xor r8d, r8d
jmp 0x14004f2da
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14004f15a
Function at 0x140051800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx eax, byte [0x1400a4168]
test al, al
je 0x14005199f
cmp edx, 3
je 0x140051827
test edx, edx
jne 0x14005199f
mov rbx, qword [0x1400a4170]
test rbx, rbx
je 0x14005199f
xor r14d, r14d
jmp 0x140051849
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005187d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400519ea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140051840
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14008401c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140051840
test r14b, 1
je 0x14005199f
mov rbx, qword [0x1400a4170]
test rbx, rbx
je 0x14005199f
xor r14d, r14d
jmp 0x1400518a9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400518dd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400519ea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400518a0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14008401c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400518a0
test r14b, 1
je 0x14005199f
mov rbx, qword [0x1400a4170]
test rbx, rbx
je 0x14005199f
xor r14d, r14d
jmp 0x140051909
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005193d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400519ea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140051900
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14008401c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140051900
test r14b, 1
je 0x14005199f
mov rbx, qword [0x1400a4170]
test rbx, rbx
je 0x14005199f
xor r14d, r14d
jmp 0x140051969
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140051999
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400519ea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140051960
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14008401c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140051960
test r14b, 1
jne 0x1400519ab
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x1400a4170]
jmp 0x1400519b8
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005199f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x1400519ea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400519b4
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14008401c
mov rcx, rdi
call r14
jmp 0x1400519b4
lea rcx, str.called__Option::unwrap____on_a__None__value_home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.5_src_win.rs
lea r8, str.library_std_src_syswindows_thread_local_key.rs
mov edx, 0x2b
call dbg.panic
ud2
Function at 0x1400527e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov ecx, dword [0x140086070]
test ecx, ecx
je 0x1400528d3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140052814
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140052814
add rdi, 0x10
jmp 0x1400528c9
mov ecx, dword [0x140086070]
test ecx, ecx
je 0x1400528e6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400528c7
mov rsi, rax
test rax, rax
jne 0x140052897
mov qword [rsp + 0x30], 0
lea rax, dbg.destroy_value_core::cell::RefCell_core::option::Option_std::sys_common::thread_info::ThreadInfo___
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1400a41f8]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140052909
mov rsi, rax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x140086070]
test ecx, ecx
je 0x1400528f9
dec ecx
mov rdx, rsi
call fcn.14008401c
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x1400528c9
test rcx, rcx
je 0x1400528c9
lock dec qword [rcx]
jne 0x1400528c9
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
jmp 0x1400528c9
xor edi, edi
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::RefCell_core::option::Option_std::sys_common::thread_info::ThreadInfo___
call dbg.init
mov ecx, eax
jmp 0x1400527f6
lea rcx, dbg.destroy_value_core::cell::RefCell_core::option::Option_std::sys_common::thread_info::ThreadInfo___
call dbg.init
mov ecx, eax
jmp 0x140052824
lea rcx, dbg.destroy_value_core::cell::RefCell_core::option::Option_std::sys_common::thread_info::ThreadInfo___
call dbg.init
mov ecx, eax
jmp 0x14005288f
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x140052b90
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140052c15
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x140052c56
cmp dword [rsp + 0x2c], 0
je 0x140052c3a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140052c7e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400a4170]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400a4170], rsi
jne 0x140052bf0
mov byte [0x1400a4168], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140052c4c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140052cca
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140052c3f
mov edi, dword [rsp + 0x28]
jmp 0x140052c4c
mov edi, dword [rsi + 0x18]
jmp 0x140052c4a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x140095690]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x1400967c8]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call dbg.panic_fmt
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x1400967c8]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call dbg.assert_failed<u32, u32>
ud2

Function at 0x140052e00
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140052e19
dec ecx
jmp 0x140052e23
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14008401c
mov rdi, qword [rsp + 0x30]
cmp qword [rdi + 8], 0
je 0x140052e51
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140052e51
lock dec qword [rax]
jne 0x140052e51
mov rcx, qword [rdi + 0x18]
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, rdi
call fcn.1400840d4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140052e6d
dec ecx
jmp 0x140052e77
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14008401c
Function at 0x140053400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140086090]
test ecx, ecx
je 0x14005349f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140053429
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14005348e
mov ecx, dword [0x140086090]
test ecx, ecx
je case.0x14004878d.214
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140053494
mov rsi, rax
test rax, rax
jne case.0x14004878d.238
movzx eax, byte [0x1400a41f8]
mov ecx, 0x10
add byte [rax], al
mov edx, 8
call sym.__rust_alloc
jb 0x1400534ba
sti
invalid
test rax, rax
je case.0x14004878d.218
invalid
mov rsi, rax
lea rax, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rsi], rax
mov dword [rsi], eax
mov byte [rsi + 8], 0
mov ecx, dword [0x140086090]
test ecx, ecx
je 0x1400534c5
dec ecx
mov rdx, rsi
call fcn.14008401c
mov word [rsi + 8], 1
add rsi, 9
jmp case.0x14004878d.215
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x140053415
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x140053435
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
idiv bh
invalid
mov ecx, eax
jmp 0x140053480
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
dec dword [rdi]
invalid

Function at 0x140053ee0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140094f28]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x140053f51
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140053f87
test eax, eax
js 0x140053f62
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140053f7a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.8O_t_
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call dbg.write_fmt<std::sys::windows::stdio::Stderr>
mov rcx, rax
call dbg.drop_in_place<core::option::Option<std::io::error::Error>>
mov ecx, 7
int 0x29
ud2
Function at 0x140054470
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140086050]
test ecx, ecx
je 0x14005452d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400544a0
cmp qword [rax + 8], 0
je 0x1400544a0
add rax, 0x10
jmp 0x140054527
mov ecx, dword [0x140086050]
test ecx, ecx
je 0x140054540
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140054525
mov rsi, rax
test rax, rax
jne 0x14005450b
movzx eax, byte [0x1400a41f8]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140054563
mov rsi, rax
lea rax, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140086050]
test ecx, ecx
je 0x140054553
dec ecx
mov rdx, rsi
call fcn.14008401c
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140054527
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x140054485
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x1400544b0
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x140054503
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2

Function at 0x1400545e0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400545f7
dec ecx
jmp 0x140054601
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14008401c
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, rdi
call fcn.1400840d4
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140054627
dec ecx
jmp 0x140054631
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14008401c
Function at 0x140057720
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, r8
mov rdi, rcx
mov dword [rsp + 0x60], 0
mov word [rsp + 0x64], 0
mov dword [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call dbg.open
mov rsi, rdx
test rax, rax
je 0x1400577e3
mov eax, esi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400577d7
test rax, rax
je 0x1400577d7
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x1400577c6
cmp qword [r14 + 0x10], 0x11
jb 0x1400577b5
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, rbx
call fcn.1400840d4
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, rsi
call fcn.1400840d4
mov qword [rdi], 0
jmp 0x140057957
lea rcx, [rsp + 0x40]
mov rdx, rsi
call dbg.file_attr
cmp dword [rsp + 0x40], 2
jne 0x140057875
mov rax, qword [rsp + 0x48]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x140057856
test rcx, rcx
je 0x140057856
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rcx, r14
call qword [r15]
cmp qword [r15 + 8], 0
je 0x140057845
cmp qword [r15 + 0x10], 0x11
jb 0x140057834
mov r14, qword [r14 - 8]
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, r14
call fcn.1400840d4
mov rcx, qword [0x1400a4150]
xor edx, edx
mov r8, rbx
call fcn.1400840d4
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400841dc
mov r12, qword [rsp + 0x78]
test rsi, rsi
je 0x1400578c7
mov qword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x140057943
mov rbx, qword [rsp + 0x40]
jmp 0x1400578c9
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 0x140057932
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.1400841dc
test r15, r15
je 0x140057932
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x14005794f
mov qword [rdi], 0
mov rcx, rbx
call fcn.1400841dc
jmp 0x14005794f
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call fcn.1400841dc
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140072d00
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140094f28]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x140072d6a
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140072d75
xor eax, eax
jmp 0x140072d85
cmp eax, 0x103
je 0x140072dcb
test eax, eax
js 0x140072d9a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
add rsp, 0xa8
pop rdi
pop rsi
ret
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edi, eax
mov ecx, eax
call dbg.decode_error_kind
cmp al, 0xb
jne 0x140072db6
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140072d90
shl rdi, 0x20
or rdi, 2
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x140072d90
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.8O_t_
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call dbg.write_fmt<std::sys::windows::stdio::Stderr>
mov rcx, rax
call dbg.drop_in_place<core::option::Option<std::io::error::Error>>
mov ecx, 7
int 0x29
ud2