joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400316cc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031744
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031744
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031744
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031738
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031756
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031726
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031746

Function at 0x140033290
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400332da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400332da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400332da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400332da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400332da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400332dc
xor al, al
add rsp, 0x28
ret

Function at 0x14003c024
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bd88

Function at 0x140045f40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045f68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045f68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1406aec00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x6aec70
movabs r10, 0x6aec74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x1406aec66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x1406aec50
lea rax, [r9 + r11]
jmp rax
Function at 0x140059a30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140059a3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140059a4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140059a35
lea eax, [rcx + 1]
jmp 0x140059a5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140059a6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140059a54
sub eax, 3
jb 0x140059a8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140059add
sar eax, 1
movsxd rbp, eax
jb 0x140059ac4
jmp 0x140059a9c
add ebx, ebx
jne 0x140059a9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059ac4
inc ecx
add ebx, ebx
jne 0x140059aaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059ac4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140059abd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140059aac
add ecx, 2
jmp 0x140059ac9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400599f2
jmp 0x140059a3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140059b29
cmp rsi, rcx
jae 0x140059b31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140059b10
cmp al, 0x8f
ja 0x140059b10
cmp byte [rsi - 2], 0xf
je 0x140059b16
sub al, 0xe8
cmp al, 1
ja 0x140059afa
cmp rsi, rcx
jae 0x140059b31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140059b00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140059b31
lodsb al, byte [rsi]
jmp 0x140059b10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x57000]
mov eax, dword [rdi]
or eax, eax
je 0x140059b9a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68440]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140059b3e
jns 0x140059b73
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140059b7d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140059b94
mov qword [rbx], rax
add rbx, 8
jmp 0x140059b5e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140059bd4
cmp al, 0xef
ja 0x140059bc6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140059ba6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140059bb5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140059c28
sub rsp, 0xffffffffffffff80
jmp 0x14000cdb0
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400ff4c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400ff4d0]
mov dword [rax], 1
mov rax, qword [0x1400ff4e0]
mov dword [rax], 1
mov rax, qword [0x1400ff460]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400ff4b0]
mov dword [0x14011800c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010b0
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400ff590]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400ff570]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [str.p3_r_]
cmp dword [rax], 1
je 0x1400010f1
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001104
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
lea rcx, [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 0x1400053c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d3348]
jmp sym.std::sys::thread_local::os::Storage_T_::get::h7d94d9fd375a9ae3
Function at 0x140006440
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140006482
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000648a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000649b
jmp 0x1400064b2
xor r10d, r10d
jmp 0x14000653d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400064b2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400064c9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400064e9
add r11, r8
jmp 0x14000661b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400065b2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140006560
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400065d0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400065e2
jmp 0x1400065fd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400065fd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140006617
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140007100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x1400071cf
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400071c2
je 0x1400071c0
test rdi, rdi
je 0x140007149
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x140007165
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400071e9
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400d0bbc
test rdi, rdi
je 0x1400071bb
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x1400071c2
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14000712d
jmp 0x1400071c2
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

Function at 0x140008eb0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x30]
mov r8d, 0x118
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x2c], 0x11c
lea rcx, [rsp + 0x2c]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x140008efc
mov ecx, dword [rsp + 0x30]
mov al, 1
cmp ecx, 6
ja 0x140008ef4
jne 0x140008f06
cmp dword [rsp + 0x34], 3
setae al
add rsp, 0x148
ret
mov al, 1
add rsp, 0x148
ret
xor eax, eax
add rsp, 0x148
ret
Function at 0x14000af80
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14000b0cf
mov rdi, rax
mov qword [rsp + 0x58], rsi
movsxd rbp, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test rbp, rbp
je 0x14000b0af
shl rbp, 3
xor esi, esi
lea r14, [rsp + 0x40]
jmp 0x14000b01c
mov rax, qword [rsp + 0x30]
lea rcx, [r15 + r15*2]
mov qword [rax + rcx*8], r12
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], rbx
inc r15
mov qword [rsp + 0x38], r15
add rsi, 8
cmp rbp, rsi
je 0x14000b0af
mov r12, qword [rdi + rsi]
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov r13, rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
shr rax, 1
mov r8d, r13d
and r8d, 1
add r8, rax
je 0x14000b05f
mov rcx, r14
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h6c2a5b235ccc591d
lea rax, [r12 + r13*2]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], 0
lea rcx, [rsp + 0x60]
mov rdx, r14
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17h99296544d9
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
cmp r15, qword [rsp + 0x28]
jne 0x14000aff0
lea rcx, [rsp + 0x28]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::hcf5c702ef89ad4e0
jmp 0x14000aff0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
jmp 0x14000b0e6
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

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

Disassembly:
mov rcx, qword [0x1400d3348]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::h0b6609f5ea49375a
Function at 0x14000fc30
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x40
lea rcx, [rsp + 0x90]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0x138], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x14000fd1c
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rsi
ret
Function at 0x140010570
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x1400105e1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x48], rax
movabs rax, 0x2000000000
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x48]
call fcn.1400122e0
mov r12, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
jmp 0x1400105ed
mov r15d, 8
xor r14d, r14d
xor r12d, r12d
lea rbx, [rsi + 0xa8]
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::drop::Drop_::drop::h8ffd318e4d55c112
mov rax, qword [rbx]
test rax, rax
je 0x14001061e
mov rcx, qword [rsi + 0xb0]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call sym.__rust_dealloc
mov qword [rsi + 0xa8], r12
mov qword [rsi + 0xb0], r15
mov qword [rsi + 0xb8], r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140011240
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
mov ecx, 5
xor edx, edx
call sub.KERNEL32.dll_GetComputerNameExW
mov edi, dword [rsp + 0x2c]
test rdi, rdi
je 0x1400112c6
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call sym.__rust_alloc_zeroed
test rax, rax
je 0x140011366
mov rbx, rax
lea r8, [rsp + 0x2c]
mov ecx, 5
mov rdx, rax
call sub.KERNEL32.dll_GetComputerNameExW
cmp eax, 1
jne 0x14001130f
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x1400112e7
inc r8
add r14, 0xfffffffffffffffe
jne 0x1400112b0
mov r8, rdi
jmp 0x1400112e7
mov ebx, 2
lea r8, [rsp + 0x2c]
mov edx, 2
mov ecx, 5
call sub.KERNEL32.dll_GetComputerNameExW
cmp eax, 1
jne 0x140011320
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, rbx
call sym.alloc::string::String::from_utf16::h92bc63552228ad98
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jne 0x14001132f
mov qword [rsi], rax
test rdi, rdi
jne 0x140011345
jmp 0x140011359
mov r8d, 2
mov rcx, rbx
mov rdx, r14
call sym.__rust_dealloc
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140011359
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140011359
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
mov rsi, rax
test rdi, rdi
je 0x14001138f
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov rcx, rsi
call sym._Unwind_Resume
int3

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

Disassembly:
mov rcx, qword [str._1_r_]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::h312ca77e5485f1bd
Function at 0x1400153c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140015402
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001540a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001541b
jmp 0x140015432
xor r10d, r10d
jmp 0x1400154bd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140015432
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140015449
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140015469
add r11, r8
jmp 0x14001559b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140015532
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400154e0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140015550
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140015562
jmp 0x14001557d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001557d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140015597
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d3348]
jmp sym.std::sys::thread_local::os::Storage_T_::get::h0b6609f5ea49375a

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

Disassembly:
mov rcx, qword [0x1400d3158]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::h2feb71aaebb58fe3

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

Disassembly:
mov rcx, qword [0x1400d3148]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::hcb2eeabf80c44017
Function at 0x14001dc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d3348]
jmp sym.std::sys::thread_local::os::Storage_T_::get::h0b6609f5ea49375a
Function at 0x140020d50
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h2067f8b42f
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x78]
lea rbx, [rsp + 0x40]
mov rdx, rbx
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h2067f8b42f
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x140020e31
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140020e0f
mov rcx, qword [rsp + 0x80]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140020e2a
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
xor ebp, ebp
jmp 0x140020ec6
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 0
mov rdi, qword [rsp + 0x80]
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
sete bpl
mov r14d, dword [rsp + 0x38]
mov rcx, rbx
call fcn.1400d0b14
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140020eab
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140020ec6
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
shl r14, 8
movzx eax, bpl
or rax, r14
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret