joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015960
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 0x180015a2e
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015a21
je 0x180015a1f
test rdi, rdi
je 0x1800159a8
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x1800159c4
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 [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x180015a48
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.1801024ec
test rdi, rdi
je 0x180015a1a
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x180015a21
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::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x18001598d
jmp 0x180015a21
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015b43
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015b3b
je 0x180015b39
test rbx, rbx
je 0x180015aa3
mov rdi, qword [rbx + 8]
test byte [rbx], 1
mov qword [rbx], 0
jne 0x180015ab3
call sym.crossbeam_epoch::default::default_collector::he00c0d08484bd91b
mov rcx, rax
call sym.crossbeam_epoch::collector::Collector::register::hcb6cf69c9f6b52b7
mov rdi, rax
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x180015b5d
mov qword [rax], rdi
mov dword [rax + 8], 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.1801024ec
test rdi, rdi
je 0x180015b34
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
xor rax, 1
or rax, qword [rcx + 0x818]
jne 0x180015b21
call sym.crossbeam_epoch::internal::Local::finalize::hb37e9439305fd40a
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x180015b3b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x180015a88
jmp 0x180015b3b
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
ud2
Function at 0x180015c20
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x140
mov rax, qword [rcx]
mov rsi, qword [rax]
mov qword [rax], 0
test rsi, rsi
je 0x180015c8a
lea rcx, [rsp + 0x28]
mov r8d, 0x118
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x24], 0x11c
lea rcx, [rsp + 0x24]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x180015c79
mov ecx, dword [rsp + 0x28]
mov al, 1
cmp ecx, 6
ja 0x180015c7f
jne 0x180015c7d
cmp dword [rsp + 0x2c], 3
setae al
jmp 0x180015c7f
mov al, 1
jmp 0x180015c7f
xor eax, eax
mov byte [rsi], al
add rsp, 0x140
pop rsi
ret
lea rcx, [0x180116ee8]
call sym.core::option::unwrap_failed::h22f609bf42d299c8
int3

Function at 0x180015df0
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x140
mov rax, qword [rcx]
mov rsi, qword [rax]
mov qword [rax], 0
test rsi, rsi
je 0x180015e5a
lea rcx, [rsp + 0x28]
mov r8d, 0x118
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x24], 0x11c
lea rcx, [rsp + 0x24]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x180015e49
mov ecx, dword [rsp + 0x28]
mov al, 1
cmp ecx, 6
ja 0x180015e4f
jne 0x180015e4d
cmp dword [rsp + 0x2c], 3
setae al
jmp 0x180015e4f
mov al, 1
jmp 0x180015e4f
xor eax, eax
mov byte [rsi], al
add rsp, 0x140
pop rsi
ret
lea rcx, [0x180116ee8]
call sym.core::option::unwrap_failed::h22f609bf42d299c8
int3
Function at 0x1800171a0
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x40
cmp qword [rcx + 0x88], 0
je 0x18001720c
mov rsi, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x58]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1800171e6
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x90], rax
mov al, 1
add rsp, 0x40
pop rsi
ret
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x28], 1
test rax, rax
je 0x18001720c
lea rcx, [rsp + 0x30]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
xor eax, eax
add rsp, 0x40
pop rsi
ret
Function at 0x180018420
Capabilities:
Get thread local storage value
Set thread local storage value

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

Function at 0x18001f470
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x18001f558
mov rdi, rax
movsxd r12, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r12, r12
je 0x18001f53d
shl r12, 3
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
mov r15, rdi
jmp 0x18001f511
add r15, 8
mov rax, qword [rsp + 0x30]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rsp + 0x38], r13
add r12, 0xfffffffffffffff8
je 0x18001f53d
mov rcx, r15
call sym.windows_core::strings::pwstr::PWSTR::as_wide::h773a2dda398e12d6
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h41c25f2af65ae5e0
mov r13, qword [rsp + 0x38]
cmp r13, qword [rsp + 0x28]
jne 0x18001f4e0
mov rcx, r14
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h25f9cba67bda3af3
jmp 0x18001f4e0
mov rcx, rdi
call fcn.1801023c4
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
jmp 0x18001f56f
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

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

Disassembly:
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp sym.std::sys::thread_local::os::Storage_T_::get::hd9dd4a809a276262
Function at 0x180020a10
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x180020a96
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x180020a5b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x180020a96
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x180020a96
lea rcx, [rsp + 0x98]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
test bl, bl
je 0x180020b2c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x180020b2c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x180021ef0
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov dword [rsp + 0x24], 0
xor edi, edi
lea r8, [rsp + 0x24]
mov ecx, 5
xor edx, edx
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x180021f86
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
je 0x180021fa7
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call sym.__rust_alloc_zeroed
test rax, rax
je 0x1800220ba
mov rbx, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x180022001
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x180021fcc
inc r8
add r14, 0xfffffffffffffffe
jne 0x180021f70
mov r8, rdi
jmp 0x180021fcc
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov edi, 1
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
jne 0x180021f29
mov ebx, 2
lea r8, [rsp + 0x24]
mov edx, 2
mov ecx, 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x180022001
mov ebx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call sym.alloc::string::String::from_utf16::h4744c21ae7e2a76e
xor eax, eax
cmp rax, qword [rsp + 0x40]
jno 0x180022069
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x18002207f
jmp 0x180022093
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
test rax, rax
je 0x180022027
lea rcx, [rsp + 0x48]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
test rdi, rdi
je 0x180022040
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
cmp qword [rsp + 0x28], 0
je 0x18002205a
cmp qword [rsp + 0x30], 0
je 0x18002205a
lea rcx, [rsp + 0x30]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1800220ad
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x180022093
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
cmp qword [rsp + 0x28], 0
je 0x1800220ad
cmp qword [rsp + 0x30], 0
je 0x1800220ad
lea rcx, [rsp + 0x30]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2
Function at 0x180025c50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp sym.std::sys::thread_local::os::Storage_T_::get::hd9dd4a809a276262
Function at 0x1800273b0
Capabilities:
List user account groups

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov qword [rcx + 0x10], 0
test rbx, rbx
je 0x180027412
add rdi, 8
jmp 0x1800273f9
add rdi, 0x20
dec rbx
je 0x180027412
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x1800273f0
mov rcx, qword [rdi]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1800273f0
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x68], 0
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
nop
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x38]
mov r9d, 0xffffffff
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x18002748a
cmp eax, 0xea
jne 0x180027636
mov r13, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x4c]
test rbp, rbp
je 0x180027619
mov dword [rsp + 0x58], eax
shl rbp, 3
xor ebx, ebx
jmp 0x1800274bd
add rbx, 8
cmp rbp, rbx
je 0x180027610
mov rdx, qword [r13 + rbx]
test rdx, rdx
je 0x1800274b0
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov r8d, 3
mov r9, r14
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x1800275f0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
mov rcx, r15
call sym.sysinfo::windows::sid::Sid::from_psid::h80ffd4f48a8bb637
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x1800275f0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + rbx]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x180027576
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x70]
call sym.windows_core::strings::pwstr::PWSTR::to_string::hb199e864aa2c9e54
mov r12, qword [rsp + 0x90]
cmp r12, rdi
mov eax, 0
cmove r12, rax
mov r14, qword [rsp + 0x98]
mov ecx, 1
cmove r14, rcx
mov r15, qword [rsp + 0xa0]
cmove r15, rax
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
je 0x18002758b
jmp 0x180027593
mov r14d, 1
xor r12d, r12d
xor r15d, r15d
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
jne 0x180027593
mov rcx, rsi
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h25f9cba67bda3af3
mov rax, qword [rsi + 8]
mov rcx, rdi
shl rcx, 5
mov qword [rax + rcx], r12
mov qword [rax + rcx + 8], r14
mov qword [rax + rcx + 0x10], r15
mov dword [rax + rcx + 0x18], 0
inc rdi
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
movabs rdi, 0x8000000000000000
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
je 0x1800275f0
mov r8d, 1
mov rcx, qword [rsp + 0x60]
call sym.__rust_dealloc
nop dword [rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800274b0
call sub.netapi32.dll_NetApiBufferFree
jmp 0x1800274b0
mov r13, qword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
cmp eax, 0xea
jne 0x18002763b
test r13, r13
je 0x180027430
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
jmp 0x180027430
mov r13, qword [rsp + 0x38]
test r13, r13
je 0x180027648
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18002b3d0
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 0x18002b412
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x18002b41a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18002b42b
jmp 0x18002b442
xor r10d, r10d
jmp 0x18002b4cd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18002b442
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18002b459
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 0x18002b479
add r11, r8
jmp 0x18002b5a9
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 0x18002b542
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 0x18002b4f0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x18002b55f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x18002b570
jmp 0x18002b58b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x18002b58b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x18002b5a5
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 0x18002b6d0
Capabilities:
List groups for user account

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rcx
xor eax, eax
cmp rax, qword [rdx + 0x30]
jo 0x18002b774
cmp byte [rdx + 0x4c], 0
je 0x18002b774
mov rdx, qword [rdx + 0x38]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x74], 0
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xffffffff
lea rcx, [0x180117d04]
xor r8d, r8d
mov r9d, 1
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
je 0x18002b790
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x60], 0
jmp 0x18002b905
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x18002b92e
mov ebx, dword [rsp + 0x4c]
test rbx, rbx
je 0x18002b7cb
mov rdi, rbx
shl rdi, 5
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov edx, 8
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
jne 0x18002b7d0
mov ecx, 8
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2
mov eax, 8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
mov r15, qword [rsp + 0x68]
test r15, r15
je 0x18002b827
mov edi, dword [rsp + 0x4c]
cmp ebx, edi
jae 0x18002b846
mov qword [rsp + 0x20], 0x20
lea rcx, [rsp + 0x50]
mov r9d, 8
xor edx, edx
mov r8, rdi
call sym.alloc::raw_vec::RawVecInner_A_::reserve::do_reserve_and_handle::h6014465d3eb0841c
mov rax, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
test rdi, rdi
jne 0x18002b852
jmp 0x18002b900
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
jmp 0x18002b92e
xor r12d, r12d
test rdi, rdi
je 0x18002b900
mov rcx, r12
shl rcx, 5
lea rbp, [rcx + rax]
add rbp, 0x18
shl rdi, 3
xor r13d, r13d
mov ebx, 1
xor r14d, r14d
jmp 0x18002b8ad
xor eax, eax
mov edx, 1
xor ecx, ecx
mov qword [rbp + r14*4 - 0x18], rcx
mov qword [rbp + r14*4 - 0x10], rdx
mov qword [rbp + r14*4 - 8], rax
mov dword [rbp + r14*4], 0
inc r12
add r14, 8
cmp rdi, r14
je 0x18002b900
mov rax, qword [r15 + r14]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x18002b880
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x78]
call sym.windows_core::strings::pwstr::PWSTR::to_string::hb199e864aa2c9e54
mov rcx, qword [rsp + 0x80]
movabs rax, 0x8000000000000000
cmp rcx, rax
mov rax, qword [rsp + 0x90]
cmove rax, r13
mov rdx, qword [rsp + 0x88]
cmove rdx, rbx
cmove rcx, r13
jmp 0x18002b889
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x18002b92e
call sub.netapi32.dll_NetApiBufferFree
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18002c7d0
Capabilities:
Get thread local storage value
Set thread local storage value

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

Function at 0x18002ebb0
Capabilities:
Get local ipv4 addresses

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rcx
mov dword [rsp + 0x30], 0x3c00
xor ebx, ebx
lea r14, [rsp + 0x30]
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x18002ec9e
mov rdi, rax
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.iphlpapi.dll_GetAdaptersAddresses
mov dword [rsp + 0x34], eax
test eax, eax
je 0x18002ed02
cmp ebp, 1
ja 0x18002ec2a
inc ebp
mov rbx, rdi
cmp eax, 0x6f
je 0x18002ebe0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hdc03406a7df5e8fe]
mov qword [rsp + 0x40], rax
lea rax, [0x180117fb0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call sym.alloc::fmt::format::format_inner::h0033b6d4996550c5
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov rcx, rdi
call fcn.180102e50
jmp 0x18002ed17
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x18002ed25
mov rdi, rax
movups xmm0, xmmword [0x180117f70]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x180117f60]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, rbx
call fcn.180102e50
mov qword [rsi], 0x32
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], 0x32
jmp 0x18002ed17
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x32
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2

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

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

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

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

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

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