joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [str._bR_r_]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400c2b70]
mov dword [rax], 1
mov rax, qword [0x1400c2b80]
mov dword [rax], 1
mov rax, qword [0x1400c2ae0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400c2b50]
mov dword [0x1400d500c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [str.PR_r_]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400c2c10]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400c2ac0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140005080
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
mov rcx, rdx
pop rbp
jmp sym.std::panicking::default_hook::h99a680b11069a2af

Function at 0x140005090
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
mov rcx, rdx
pop rbp
jmp sym.std::panicking::default_hook::h99a680b11069a2af

Function at 0x140005180
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
mov rcx, rdx
pop rbp
jmp sym.std::panicking::default_hook::h99a680b11069a2af

Function at 0x140005220
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140005283
lea rsi, [rbp - 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 [rbp + 0x16c], eax
test eax, eax
jne 0x14000528f
lea rax, [0x14009c4d4]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call sym.core::option::unwrap_failed::h9508d322d744588d
mov qword [rbp + 0x138], 0
lea rdx, [0x1400a59b8]
lea r9, str.std_src_syspalwindows_net.rs
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he2381c55c73c196a
int3
Function at 0x140026090
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rdi, rcx
lea rdx, [sym.std::sys::pal::windows::stack_overflow::vectored_handler::h5866287f8b15f79c]
xor ecx, ecx
call sub.KERNEL32.dll_AddVectoredExceptionHandler
mov dword [rbp - 0x28], 0x5000
lea rcx, [rbp - 0x28]
call sub.KERNEL32.dll_SetThreadStackGuarantee
call sub.KERNEL32.dll_GetCurrentThread
mov r8, qword [sym.std::sys::pal::windows::c::SetThreadDescription::load::h7e35d2b7a7d7352f]
lea rdx, [0x1400a64b8]
mov rcx, rax
call r8
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x1400260fc
dec ecx
call fcn.14009c0fc
test rax, rax
jne 0x140026119
jmp 0x140026114
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
test rax, rax
jne 0x140026119
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rbx, rax
mov ecx, 8
mov edx, 0x28
call sym.alloc::sync::arcinner_layout_for_value_layout::he453f3fcac016438
mov r15, rax
mov r14, rdx
test rdx, rdx
je 0x1400261dc
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov rcx, r14
mov rdx, r15
call sym.__rust_alloc
mov rcx, rax
test rcx, rcx
je 0x1400261e8
mov qword [rcx], 1
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x28], rbx
mov byte [rcx + 0x30], 0
call sym.std::thread::current::set_current::h14272f61d2aafa39
test rax, rax
jne 0x1400261f5
mov rcx, rdi
call qword [rsi + 0x28]
movsxd rsi, eax
mov eax, dword [0x1400d5038]
cmp eax, 3
je 0x1400261c9
mov byte [rbp + 8], 1
lea rax, [rbp + 8]
mov qword [rbp - 0x58], rax
lea rax, str.std_src_rt.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1400d5038]
lea r9, [0x1400a4468]
lea r8, [rbp - 0x58]
xor edx, edx
call sym.std::sys::sync::once::futex::Once::call::h9be6496a9c177bd4
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rcx, r15
test rcx, rcx
jne 0x14002615b
mov rcx, r15
mov rdx, r14
call sym.alloc::alloc::handle_alloc_error::h5b2832badfdb0979
ud2
mov rdi, rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x10], 0
mov byte [rbp + 0x14], 0
lea rax, str.fatal_runtime_error:_code_running_before_main_must_not_use_thread::current_n
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x28]
call sym.std::io::Write::write_fmt::hdd05168affbfeba5
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::h3945ec9a027a2ad9
mov ecx, 7
int 0x29
ud2
Function at 0x140026550
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400d5128]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x1400265b3
lea rsi, [rax + 1]
lock cmpxchg qword [0x1400d5128], rsi
jne 0x140026570
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x1400265a3
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
jmp 0x140026591
call sym.std::thread::ThreadId::new::exhausted::h4e18251196441a10
int3

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

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov qword [rbp], rcx
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x1400265ee
dec ecx
call fcn.14009c0fc
test rax, rax
je 0x140026606
mov rax, qword [rbp]
jmp 0x140026694
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
test rax, rax
jne 0x1400265e5
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x14002662b
dec ecx
call fcn.14009c0fc
test rax, rax
je 0x140026643
mov rcx, rax
mov rax, qword [rbp]
cmp qword [rax + 0x28], rcx
je 0x140026673
jmp 0x140026694
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
test rax, rax
jne 0x14002661c
mov rax, qword [rbp]
mov rsi, qword [rax + 0x28]
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x140026659
dec ecx
jmp 0x140026667
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, qword [rbp]
mov rcx, qword [sym.std::sys::thread_local::guard::windows::tls_callback::hbe91730530c6bb12]
add rax, 0x10
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x14002669b
dec ecx
mov rdx, rax
call sub.KERNEL32.dll_TlsSetValue
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1400d5188]
mov rsi, rax
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
mov rax, rsi
jmp 0x14002668a

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x140026702
dec ecx
call fcn.14009c0fc
cmp rax, 2
jbe 0x14002671b
lock inc qword [rax - 0x10]
jle 0x140026728
add rax, 0xfffffffffffffff0
add rsp, 0x20
pop rbp
ret
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
cmp rax, 2
ja 0x1400266f1
mov rcx, rax
add rsp, 0x20
pop rbp
jmp sym.std::thread::current::init_current::h94edbd5403e72943
ud2
Function at 0x140026730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
test rcx, rcx
jne 0x140026877
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x140026838
dec ecx
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x14002684b
dec ecx
call fcn.14009c0fc
mov rdi, rax
test rax, rax
je 0x14002686a
mov ecx, 8
mov edx, 0x28
call sym.alloc::sync::arcinner_layout_for_value_layout::he453f3fcac016438
mov r14, rax
mov rbx, rdx
test rdx, rdx
je 0x1400267fc
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov rcx, rbx
mov rdx, r14
call sym.__rust_alloc
mov rsi, rax
test rsi, rsi
je 0x140026804
mov qword [rsi], 1
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 2
mov qword [rsi + 0x28], rdi
mov byte [rsi + 0x30], 0
mov qword [rbp - 0x40], rsi
mov rax, qword [sym.std::sys::thread_local::guard::windows::tls_callback::hbe91730530c6bb12]
lock inc qword [rsi]
jle 0x1400268af
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x14002680f
dec ecx
jmp 0x14002681d
mov rsi, r14
test rsi, rsi
jne 0x1400267ba
mov rcx, r14
mov rdx, rbx
call sym.alloc::alloc::handle_alloc_error::h5b2832badfdb0979
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
add rsi, 0x10
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, qword [rbp - 0x40]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
jmp 0x140026758
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
mov rdi, rax
test rax, rax
jne 0x140026783
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rdi, rax
jmp 0x140026783
cmp rcx, 1
je 0x1400268b1
lea rax, [0x1400a2990]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x30], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.std_src_threadcurrent.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h1e8d60614cf06a53
ud2
mov dword [rbp - 0x10], 0
mov byte [rbp - 0xc], 0
lea rax, str.fatal_runtime_error:__n_n____________Attempted_to_access_thread_local_data_while_allocating_said_data._n_n____________Do_not_access_functions_that_allocate_in_the_global_allocator__n_n____________This_is_a_bug_in_the_global_allocator._n_n_________n
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rax, [rbp - 8]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call sym.std::io::Write::write_fmt::hdd05168affbfeba5
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::h3945ec9a027a2ad9
mov ecx, 7
int 0x29
ud2
Function at 0x140026bf0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x140026c32
dec ecx
call fcn.14009c0fc
mov rsi, rax
cmp rax, 2
jbe 0x140026c4e
lock inc qword [rsi - 0x10]
jle 0x140026cc4
add rsi, 0xfffffffffffffff0
mov qword [rbp - 8], rsi
lock dec byte [rsi + 0x30]
je 0x140026c63
jmp 0x140026c80
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
mov rsi, rax
cmp rax, 2
ja 0x140026c17
mov rcx, rsi
call sym.std::thread::current::init_current::h94edbd5403e72943
mov rsi, rax
mov qword [rbp - 8], rsi
lock dec byte [rsi + 0x30]
jne 0x140026c80
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140026c76
lea rcx, [rbp - 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::hfbd468a8117a8eec
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
add rsi, 0x30
lea rdi, [rbp + 7]
xor ebx, ebx
jmp 0x140026c98
mov al, 1
lock cmpxchg byte [rsi], bl
je 0x140026c63
mov byte [rbp + 7], 0xff
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
mov r9d, 0xffffffff
call sub.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress
cmp eax, 1
je 0x140026c90
call sub.KERNEL32.dll_GetLastError
jmp 0x140026c90
ud2

Function at 0x140026cd0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
mov eax, ecx
imul rax, rax, 0x10624dd3
shr rax, 0x26
imul edx, eax, 0x3e8
sub ecx, edx
imul edx, ecx, 0xf4240
mov rcx, rax
pop rbp
jmp sym.std::thread::park_timeout::h7767adaacbe117d5

Function at 0x140026d00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov edi, edx
mov rbx, rcx
mov ecx, dword [0x1400d51a0]
test ecx, ecx
je 0x140026d4a
dec ecx
call fcn.14009c0fc
mov rsi, rax
cmp rax, 2
jbe 0x140026d66
lock inc qword [rsi - 0x10]
jle 0x140026e09
add rsi, 0xfffffffffffffff0
mov qword [rbp - 8], rsi
lock dec byte [rsi + 0x30]
jne 0x140026d7b
jmp 0x140026de7
lea rcx, [0x1400d5188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
mov rsi, rax
cmp rax, 2
ja 0x140026d2c
mov rcx, rsi
call sym.std::thread::current::init_current::h94edbd5403e72943
mov rsi, rax
mov qword [rbp - 8], rsi
lock dec byte [rsi + 0x30]
je 0x140026de7
add rsi, 0x30
mov byte [rbp + 7], 0xff
mov ecx, 0x3e8
mov rax, rbx
mul rcx
mov r9d, 0xffffffff
jo 0x140026dc7
mov ecx, edi
imul rcx, rcx, 0x431bde83
shr rcx, 0x32
add rax, rcx
jb 0x140026dc7
imul ecx, ecx, 0xf4240
xor edx, edx
sub edi, ecx
setne dl
add rax, rdx
jb 0x140026dc7
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
lea rdx, [rbp + 7]
mov r8d, 1
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress
cmp eax, 1
je 0x140026de3
call sub.KERNEL32.dll_GetLastError
xor eax, eax
xchg byte [rsi], al
mov rax, qword [rbp - 8]
lock dec qword [rax]
jne 0x140026dfa
lea rcx, [rbp - 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::hfbd468a8117a8eec
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
ud2
Function at 0x140027220
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.xc_n_
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x140028680
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x3e0], 0
mov qword [rbp + 0x3e8], 2
mov qword [rbp + 0x3f0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3d0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140028710
jmp 0x1400286ff
jae 0x1400287da
cmp r8, 0x201
jae 0x140028710
mov r14d, 0x200
lea r15, [rbp - 0x50]
mov r12, r8
jmp 0x140028776
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14002874e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3e0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVecInner_A_::reserve::do_reserve_and_handle::h8a25263c2f981ecd
mov rsi, qword [rbp + 0x3e0]
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x3d0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3f0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3d0]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x14002879c
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140028846
mov r8d, r13d
cmp r12, r8
jne 0x1400286f0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140028879
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400286ff
jmp 0x140028710
cmp r14, r8
jb 0x140028893
lea rcx, [rbp + 0x3b0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h9bfb2951764e4dac
movups xmm0, xmmword [rbp + 0x3b0]
movups xmm1, xmmword [rbp + 0x3c0]
mov rsi, qword [rbp + 0x3d8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3e0]
test rdx, rdx
je 0x14002882f
mov rcx, qword [rbp + 0x3e8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3e0]
test rdx, rdx
jne 0x14002881a
jmp 0x14002882f
lea rcx, [0x1400a1ea0]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h9b29f36338d5d298
jmp 0x1400288a8
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::h01c9774db41e734a
ud2
Function at 0x1400288e0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1400288ff
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf90ac29496068ca6]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h1e8d60614cf06a53
ud2
Function at 0x14002aa30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
test r8, r8
js 0x14002ac04
mov rdi, rcx
je 0x14002aaa3
mov r14, rdx
mov rax, qword [str.1P_r_]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x14002ac07
mov rbx, rax
mov rcx, rax
mov rdx, r14
mov r8, rsi
call sym.memcpy
cmp rsi, 8
jae 0x14002aaad
xor eax, eax
jmp 0x14002abc0
mov ebx, 1
jmp 0x14002abdd
movabs rcx, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x14002aac4
xor eax, eax
jmp 0x14002ab56
mov rax, rsi
and rax, rcx
xor edx, edx
movdqa xmm0, xmmword [0x1400a06b0]
movdqa xmm1, xmmword [0x1400a06c0]
movdqa xmm2, xmmword [0x1400a06d0]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rax, rdx
jne 0x14002aaf0
cmp rax, rsi
je 0x14002abdd
test sil, 0x18
je 0x14002abc0
mov rdx, rax
add rcx, 0x18
mov rax, rcx
and rax, rsi
movdqa xmm0, xmmword [0x1400a06e0]
movdqa xmm1, xmmword [0x1400a06f0]
movdqa xmm2, xmmword [0x1400a0700]
nop dword [rax + rax]
movq xmm3, qword [rbx + rdx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rdx], xmm5
add rdx, 8
cmp rax, rdx
jne 0x14002ab80
cmp rax, rsi
je 0x14002abdd
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax]
lea edx, [rcx - 0x61]
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, cl
mov byte [rbx + rax], dl
inc rax
cmp rsi, rax
jne 0x14002abc0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor r15d, r15d
mov rcx, r15
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::h58eb608642f609a7
int3

Function at 0x14002c450
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x14002c465
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::fs::DirBuilder::create_dir_all::hd3106c131a59790d
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::sys::pal::windows::fs::DirBuilder::mkdir::h1403506e3edb4195
Function at 0x140030370
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1400d5180]
test ecx, ecx
je 0x1400303bf
dec ecx
call fcn.14009c0fc
mov r14, rax
test rax, rax
je 0x1400303da
mov rax, qword [rsi]
cmp r14, rax
jne 0x1400303ea
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140030473
inc eax
mov dword [rsi + 8], eax
jmp 0x1400303ff
lea rcx, [0x1400d5168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.14009c0fc
mov r14, rax
test rax, rax
jne 0x1400303a4
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x1400303ac
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14003045a
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140030465
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call sym.__std::io::buffered::linewritershim::LineWriterShim_W__as_std::io::Write_::write::h28183b4984dc790c
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14003044f
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14003044f
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
mov rdi, rdx
call fcn.14005aafc
mov rdx, rdi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x1400303f5
lea rcx, [0x1400a3878]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2
lea rcx, [0x1400a45e0]
lea r8, [0x1400a4628]
mov edx, 0x26
call sym.core::option::expect_failed::h0dca3ca7a19f43d9
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
mov rdi, rax
mov rcx, rsi
call sym._ZN4core3ptr175drop_in_place_LT_std..sync..reentrant_lock..ReentrantLockGuard_LT_core..cell..RefCell_LT_std..io..buffered..lin
mov rcx, rdi
call sym._Unwind_Resume
int3