joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016f80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140015c90
mov ecx, dword [0x14017a778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140016ff8
test byte [rbx + 0x40], 0xc
jne 0x140016faf
mov eax, dword [0x1401d0c88]
test eax, eax
jne 0x140016fc0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140014e80
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140016fe3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140016fe3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001700c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140015170
call fcn.140015d40
mov rbx, rax
test rax, rax
jne 0x140016f9f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001702a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140015170
call fcn.140016ea0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400170b0
call fcn.140014c30
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1400170e8
call fcn.140015c90
mov ecx, dword [0x14017a778]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140017140
test esi, esi
je 0x1400170c6
call fcn.140016f80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140017120
mov edx, edi
call fcn.140014ce0
call fcn.140016f80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140015c90
mov ecx, dword [0x14017a778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140017130
call fcn.140016f80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140016f80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140015c90
mov ecx, dword [0x14017a778]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140017085
call fcn.140015d40
mov rbx, rax
jmp 0x140017085
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001709e
call fcn.140015d40
jmp 0x1400170c6
call fcn.140015d40
mov rbx, rax
jmp 0x140017081
Function at 0x140017040
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140015c90
mov ecx, dword [0x14017a778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140016ff8
test byte [rbx + 0x40], 0xc
jne 0x140016faf
mov eax, dword [0x1401d0c88]
test eax, eax
jne 0x140016fc0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140014e80
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140016fe3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140016fe3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001700c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140015170
call fcn.140015d40
mov rbx, rax
test rax, rax
jne 0x140016f9f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001702a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140015170
call fcn.140016ea0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400170b0
call fcn.140014c30
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1400170e8
call fcn.140015c90
mov ecx, dword [0x14017a778]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140017140
test esi, esi
je 0x1400170c6
call fcn.140016f80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140017120
mov edx, edi
call fcn.140014ce0
call fcn.140016f80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140015c90
mov ecx, dword [0x14017a778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140017130
call fcn.140016f80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140016f80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140015c90
mov ecx, dword [0x14017a778]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140017085
call fcn.140015d40
mov rbx, rax
jmp 0x140017085
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001709e
call fcn.140015d40
jmp 0x1400170c6
call fcn.140015d40
mov rbx, rax
jmp 0x140017081

Function at 0x140017150
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140015c90
mov ecx, dword [0x14017a778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400171c0
test esi, esi
je 0x1400171a0
call fcn.140016f80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400171d0
mov edx, esi
call fcn.140014ce0
call fcn.140016f80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140016f80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140016f80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140015d40
mov rbx, rax
jmp 0x140017171
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001718a
Function at 0x1400925f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140084c85
call fcn.140084be0
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x140084c8a
call fcn.140082940
mov rcx, qword [rbx - 0x38]
call fcn.140038510
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.140084be0
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call fcn.140038530
mov rcx, rax
jmp 0x140092460
call fcn.140084be0
call fcn.140084e30
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400924e7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.140033140
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400340f0
test al, al
jne 0x140092505
lea rbx, [0x1401b97e0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400340f0
test al, al
je 0x14009250a
mov ecx, 8
call fcn.140084b70
lea r8, [0x14007de70]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x1401b9150]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400850f0
add rbx, 0x90
jmp 0x140092476
call fcn.1400850a0
mov rcx, rdi
call fcn.140038510
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.140084be0
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.140077c80
mov ecx, 8
call fcn.140084b70
lea r8, [0x140077930]
lea rdx, [0x1401b96c0]
mov rcx, rax
lea rax, str.0y_a_
mov qword [rcx], rax
call fcn.1400850f0
call fcn.140077cb0
mov rcx, qword [0x140186e00]
mov rbx, rax
call fcn.140015170
test eax, eax
je 0x14009258c
call fcn.140077cb0
mov rcx, rbx
call fcn.14000de40
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.140077c80
call fcn.140077cb0
call fcn.140077ce0
nop
call fcn.140077c80
call fcn.140077cb0
call fcn.140077ce0
nop
mov ecx, 8
call fcn.140084b70
lea r8, [fcn.1400826d0]
lea rdx, [0x1401b98c0]
mov rcx, rax
mov rax, qword [0x1401b91c0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400850f0
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x14009266c
call fcn.140084be0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.140084d10
call sub.msvcrt.dll_abort
mov rcx, rdi
call sub.msvcrt.dll_free
call fcn.1400850a0
call fcn.140084be0
call fcn.140084d10
jmp 0x14009265a
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400bd220]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400bd230]
mov dword [rax], 1
mov rax, qword [0x1400bd240]
mov dword [rax], 1
mov rax, qword [0x1400bd1d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400bd210]
mov dword [0x1400cb00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400bd2f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400bd2d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400bd180]
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 [dbg._matherr]
call dbg.__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 0x1400014e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov byte [rsp + 0x23], 0
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x23]
lea r9, [rsp + 0x24]
xor ecx, ecx
mov r8d, 1
call sub.ntdll.dll_NtQuerySystemInformation
nop
add rsp, 0x28
ret

Function at 0x140002840
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 0x140002898
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 0x1400028b2
lea rax, [0x140096114]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1400a0090]
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 0x1400220e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x140022115
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140022125
lea rax, str.__v_n_
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x1400234d0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov r14d, 0xffffffff
xor esi, esi
xor r15d, r15d
cmp r8, 0x201
jae 0x140023550
jmp 0x14002353f
jae 0x1400235f4
cmp r8, 0x201
jae 0x140023550
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x140023597
sub r8, r15
sub rsi, r15
cmp rsi, r8
jae 0x140023577
lea rcx, [rsp + 0x30]
mov rdx, r15
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x38]
cmp rbx, r14
mov r15d, 0xffffffff
cmovb r15, rbx
mov qword [rsp + 0x40], r15
mov rsi, rbx
mov r12, r15
mov r13, qword [rsp + 0x20]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov edi, eax
test eax, eax
jne 0x1400235bb
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140023652
mov r8d, edi
cmp rbp, r8
jne 0x140023530
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140023672
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x14002353f
jmp 0x140023550
cmp r12, r8
jb 0x14002368c
lea rcx, [rsp + 0x48]
mov rdx, r13
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rsi, qword [rsp + 0x28]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14002363b
add rbx, rbx
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x28]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rbx, rbx
jne 0x140023625
jmp 0x14002363b
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x1400236a1
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call dbg.slice_end_index_len_fail
ud2

Function at 0x1400236e0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x70
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1400236f8
mov rdx, rax
add rsp, 0x70
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x38], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140023c60
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rdi, rcx
lea rcx, [rsp + 0xa8]
call sym.std::sys::windows::to_u16s::inner::h58f418a16c5682ec
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140023dc9
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov esi, 0xffffffff
xor r14d, r14d
xor edi, edi
cmp r8, 0x201
jae 0x140023d20
jmp 0x140023cff
jae 0x140023ddf
cmp r8, 0x201
jae 0x140023d20
mov r13d, 0x200
lea r12, [rsp + 0xa8]
mov rbp, r8
jmp 0x140023d66
sub r8, rdi
sub r14, rdi
cmp r14, r8
jae 0x140023d47
lea rcx, [rsp + 0x48]
mov rdx, rdi
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x50]
cmp r15, rsi
mov edi, 0xffffffff
cmovb rdi, r15
mov qword [rsp + 0x58], rdi
mov r14, r15
mov r13, rdi
mov r12, qword [rsp + 0x30]
mov rbp, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x38]
mov rdx, r12
mov r8d, ebp
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
test eax, eax
jne 0x140023d90
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140023ea0
mov r8d, ebx
cmp rbp, r8
jne 0x140023cf0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140023ec5
add rbp, rbp
cmp rbp, rsi
cmovae rbp, rsi
mov r8, rbp
cmp r8, 0x201
jb 0x140023cff
jmp 0x140023d20
lea rcx, [rsp + 0xb0]
call dbg.drop_in_place<std::io::error::Error>
mov byte [rdi + 0x18], 2
jmp 0x140023e67
cmp r13, r8
jb 0x140023edf
lea rcx, [rsp + 0x88]
mov rdx, r12
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
test r15, r15
je 0x140023e2d
add r15, r15
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call sym.__rust_dealloc
cmp byte [rsp + 0x78], 2
jne 0x140023e7e
mov rdi, qword [rsp + 0x40]
mov byte [rdi + 0x18], 2
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
call dbg.drop_in_place<std::io::error::Error>
test rsi, rsi
je 0x140023e67
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x140023e51
jmp 0x140023e67
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
test r15, r15
jne 0x140023e17
jmp 0x140023e2d
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140023ef4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call dbg.slice_end_index_len_fail
ud2
Function at 0x140024010
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r9
lea rsi, [rsp + 0x28]
mov rcx, rsi
call sym.std::sys::windows::to_u16s::inner::h58f418a16c5682ec
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140024094
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::h58f418a16c5682ec
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r12, r12
je 0x140024099
mov rcx, rbx
mov rdx, r12
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14002409e
xor r14d, r14d
test r15, r15
jne 0x1400240b3
jmp 0x1400240c7
mov r14, rdi
jmp 0x1400240e0
mov r14, r15
jmp 0x1400240c7
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x1400240c7
add r15, r15
mov r8d, 2
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
test rdi, rdi
je 0x1400240e0
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x1400240f6
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h7a149410d4f288d5]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x50], rax
lea rax, str.failed_to_set_environment_variable____to___:
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 3
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], 3
lea rdx, [0x14009d568]
lea rcx, [rsp + 0x78]
call dbg.panic_fmt
ud2
Function at 0x1400241d0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
lea rcx, [rsp + 0x40]
call sym.std::sys::windows::to_u16s::inner::h58f418a16c5682ec
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbx, rbx
je 0x14002423d
xor esi, esi
mov rcx, rbx
xor edx, edx
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
jne 0x140024222
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
test rdi, rdi
je 0x140024240
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x140024240
mov rsi, rdi
test rsi, rsi
jne 0x140024250
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h7a149410d4f288d5]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x88], rax
lea rax, str.failed_to_remove_environment_variable__
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
lea rdx, [0x14009d5c8]
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140025820
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x140025899
js 0x1400259e7
mov r15, rdx
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x1400259ee
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rcx, r14
cmp rsi, 8
jb 0x14002599c
cmp rsi, 0x20
jae 0x1400258a3
xor eax, eax
jmp 0x140025936
mov ebx, 1
jmp 0x1400259bf
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
movdqa xmm0, xmmword [0x14009a040]
movdqa xmm1, xmmword [0x14009a050]
movdqa xmm2, xmmword [0x14009a060]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rcx]
movdqu xmm4, xmmword [rbx + rcx + 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 + rcx], xmm7
movdqu xmmword [rbx + rcx + 0x10], xmm5
add rcx, 0x20
cmp rax, rcx
jne 0x1400258d0
cmp rax, rsi
je 0x1400259bf
test sil, 0x18
je 0x140025996
mov rdx, rsi
and rdx, 0xfffffffffffffff8
lea rcx, [r14 + rdx]
movdqa xmm0, xmmword [0x14009a070]
movdqa xmm1, xmmword [0x14009a080]
movdqa xmm2, xmmword [0x14009a090]
nop dword [rax]
movq xmm3, qword [rbx + rax]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rax], xmm5
add rax, 8
cmp rdx, rax
jne 0x140025960
cmp rdx, rsi
jne 0x14002599c
jmp 0x1400259bf
add rax, r14
mov rcx, rax
add r14, rsi
nop
movzx eax, byte [rcx]
lea edx, [rax - 0x61]
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, al
mov byte [rcx], dl
lea rax, [rcx + 1]
mov rcx, rax
cmp rax, r14
jne 0x1400259a0
mov qword [rdi], rbx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call dbg.capacity_overflow
ud2
mov ecx, 1
mov rdx, rsi
call dbg.handle_alloc_error
ud2

Function at 0x14002e740
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14002e7a1
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14002e7a1
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14002e7a1
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14002e7a1
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14002e7e1
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14002e7cf
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
ret