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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14010c0f8]
test ecx, ecx
je 0x1400a4f2f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400a4e94
cmp qword [rax + 8], 0
je 0x1400a4e94
add rax, 0x10
jmp 0x1400a4f28
mov ecx, dword [0x14010c0f8]
test ecx, ecx
je 0x1400a4f42
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a4f12
mov rdi, rax
test rax, rax
jne 0x1400a4ef8
mov ecx, 0x18
mov edx, 8
call fcn.140098910
test rax, rax
je 0x1400a4f65
mov rdi, rax
lea rax, [0x14010c0e0]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14010c0f8]
test ecx, ecx
je 0x1400a4f55
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400a4f16
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400a4f18
mov rcx, qword [rsi + 8]
jmp 0x1400a4f18
xor eax, eax
jmp 0x1400a4f28
xor ecx, ecx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rcx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14010c0e0]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a4e79
lea rcx, [0x14010c0e0]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a4ea4
lea rcx, [0x14010c0e0]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a4ef0
mov ecx, 8
mov edx, 0x18
call fcn.140004320
ud2

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov ecx, dword [0x14010c118]
test ecx, ecx
je 0x1400a509b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400a4fb8
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400a4fb8
add rbx, 0x10
jmp 0x1400a5090
mov ecx, dword [0x14010c118]
test ecx, ecx
je 0x1400a50ae
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a5059
mov rdi, rax
test rax, rax
jne 0x1400a5038
mov qword [rsp + 0x28], 0
lea rax, [0x14010c100]
mov qword [rsp + 0x20], rax
mov ecx, 0x20
mov edx, 8
call fcn.140098910
test rax, rax
je 0x1400a50d4
mov rdi, rax
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x14010c118]
test ecx, ecx
je 0x1400a50c1
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400a505d
mov rax, qword [rsi]
mov qword [rsi], 0
mov rdx, rax
test rax, rax
je 0x1400a5061
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
jmp 0x1400a5061
xor ebx, ebx
jmp 0x1400a5090
xor eax, eax
xor edx, edx
lea rbx, [rdi + 0x10]
cmp qword [rdi + 8], 0
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
je 0x1400a5090
test rcx, rcx
je 0x1400a5090
lock dec qword [rcx]
jne 0x1400a5090
call fcn.14007f330
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14010c100]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a4f9a
lea rcx, [0x14010c100]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a4fc8
lea rcx, [0x14010c100]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5030
mov ecx, 8
mov edx, 0x20
call fcn.140004320
ud2
Function at 0x1400a5100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14010c138]
test ecx, ecx
je 0x1400a5198
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400a5129
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1400a5187
mov ecx, dword [0x14010c138]
test ecx, ecx
je 0x1400a51ab
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a518d
mov rsi, rax
test rax, rax
jne 0x1400a5181
mov ecx, 0x10
mov edx, 8
call fcn.140098910
test rax, rax
je 0x1400a51ce
mov rsi, rax
lea rax, [0x14010c120]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14010c138]
test ecx, ecx
je 0x1400a51be
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x1400a518f
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14010c120]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5115
lea rcx, [0x14010c120]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5135
lea rcx, [0x14010c120]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5179
mov ecx, 8
mov edx, 0x10
call fcn.140004320
ud2

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov ecx, dword [0x14010c158]
test ecx, ecx
je 0x1400a52ea
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400a5218
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400a5218
add rbx, 0x10
jmp 0x1400a52df
mov ecx, dword [0x14010c158]
test ecx, ecx
je 0x1400a52fd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a52ae
mov rdi, rax
test rax, rax
jne 0x1400a5294
mov qword [rsp + 0x30], 0
lea rax, [0x14010c140]
mov qword [rsp + 0x28], rax
mov ecx, 0x18
mov edx, 8
call fcn.140098910
test rax, rax
je 0x1400a5323
mov rdi, rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
mov ecx, dword [0x14010c158]
test ecx, ecx
je 0x1400a5310
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400a52b2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x1400a52b4
mov rax, qword [rsi + 8]
jmp 0x1400a52b4
xor ebx, ebx
jmp 0x1400a52df
xor eax, eax
lea rbx, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 8], 0
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
je 0x1400a52df
test rcx, rcx
je 0x1400a52df
lock dec qword [rcx]
jne 0x1400a52df
call fcn.14007f450
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14010c140]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a51fa
lea rcx, [0x14010c140]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5228
lea rcx, [0x14010c140]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a528c
mov ecx, 8
mov edx, 0x18
call fcn.140004320
ud2
Function at 0x1400a5350
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14010c178]
test ecx, ecx
je 0x1400a5467
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400a5387
mov rcx, rax
cmp qword [rax + 8], 0
je 0x1400a5387
add rcx, 0x10
jmp 0x1400a545d
mov ecx, dword [0x14010c178]
test ecx, ecx
je 0x1400a547a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a5440
mov rdi, rax
test rax, rax
jne 0x1400a53f3
mov ecx, 0x20
mov edx, 8
call fcn.140098910
test rax, rax
je 0x1400a54a0
mov rdi, rax
lea rax, [0x14010c160]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14010c178]
test ecx, ecx
je 0x1400a548d
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400a5410
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x1400a5449
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400a5444
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400a5449
xor ecx, ecx
jmp 0x1400a545d
call fcn.14009cce0
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14010c160]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5369
lea rcx, [0x14010c160]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a5397
lea rcx, [0x14010c160]
call fcn.14009d5e0
mov ecx, eax
jmp 0x1400a53eb
mov ecx, 8
mov edx, 0x20
call fcn.140004320
ud2
Function at 0x1400ae383
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x1400ae446
lea rcx, [0x14013b4fa]
call sub.OLEAUT32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call rax
mov ebp, eax
mov rcx, rbx
call fcn.14010122c
mov rcx, r14
call fcn.14010122c
test ebp, ebp
js 0x1400ae446
mov rbx, qword [rsp + 0x38]
lea rcx, [rsi + 0x20]
call fcn.1400a8847
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x1400ae455
mov qword [rdi], 2
mov rcx, rsi
call fcn.1400a8515
mov rax, rdi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400af13a
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x1400af174
mov rsi, rcx
lea r9, [rsp + 0x28]
and qword [r9], 0
mov rcx, qword [rcx + 0x48]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400af174
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x80], rax
mov al, 1
jmp 0x1400af176
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x1400b046b
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 + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x1400b0504
mov rdi, rax
movsxd r12, dword [rsp + 0x2c]
lea rbx, [rsp + 0x30]
mov qword [rbx], 8
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x1400b04e9
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.1400a96fa
mov rcx, rbx
mov rdx, r14
call fcn.1400a93d9
add r13, 8
jmp 0x1400b04b9
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x1400b0512
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400b1266
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
lea rdi, [rsp + 0x90]
movaps xmmword [rdi], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x40
mov rcx, rdi
call sub.KERNEL32.dll_GlobalMemoryStatusEx
mov rax, qword [rdi + 8]
mov qword [rsi + 0xa0], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0xa8], rax
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
and qword [rcx + 0x60], 0
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x1400b1339
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub r8, r9
cmovb r8, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul r8
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdi, qword [rsp + 0x28]
sub rdi, r9
cmovb rdi, r10
mov rax, rcx
mul rdi
cmovo rax, r11
mov qword [rsi + 0xb0], r8
mov qword [rsi + 0xb8], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x1400b2e63
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x24], eax
test eax, eax
je 0x1400b2e9f
movabs rax, 0x2000000000
lea rdx, [rsp + 0x40]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x24]
mov qword [rdx], rax
lea rcx, [rsp + 0x28]
call fcn.1400aa2db
jmp 0x1400b2eb0
mov qword [rsp + 0x28], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
add rsi, 0xe0
mov rcx, rsi
call fcn.1400a870e
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
add rsp, 0x50
pop rsi
ret
Function at 0x1400b3bc4
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
lea r14, [rsp + 0x3c]
and dword [r14], 0
mov ecx, 5
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_GetComputerNameExW
mov edi, dword [r14]
mov rcx, rdi
mov dl, 1
call fcn.1400a9a07
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdi
mov ecx, 5
mov rdx, rax
mov r8, r14
call sub.KERNEL32.dll_GetComputerNameExW
cmp eax, 1
jne 0x1400b3c37
lea rax, [rdi + rdi]
xor edx, edx
test rax, rax
je 0x1400b3c5e
cmp word [rbx + rdx*2], 0
je 0x1400b3c47
inc rdx
add rax, 0xfffffffffffffffe
jmp 0x1400b3c22
lea rcx, [rsp + 0x20]
call fcn.1400ab190
and qword [rsi], 0
jmp 0x1400b3ca1
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.1400a948b
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov rdx, rbx
mov r8, rdi
call fcn.140004a80
cmp qword [rsp + 0x40], 0
je 0x1400b3c89
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x1400b3c97
and qword [rsi], 0
lea rcx, [rsp + 0x40]
call fcn.1400a7e1b
lea rcx, [rsp + 0x20]
call fcn.1400ab190
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b3ee4
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProductNameWindows_11_Windows_10_CurrentBuildNumber_no_name__Process
lea rcx, [rsp + 0x78]
mov r8d, 0x2c
call fcn.1400b3ea8
lea rcx, [rsp + 0x90]
mov rdx, rbx
mov r8, rdi
call fcn.1400b3ea8
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x40]
and qword [rax], 0
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x1400b3f5c
and qword [rsi], 0
jmp 0x1400b4104
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x3c], 0x800
mov ecx, 0x800
xor edx, edx
call fcn.14002fd42
lea rbx, [rsp + 0x58]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
and qword [rbx + 0x10], 0
mov r14, qword [rsp + 0x90]
lea r12, [rsp + 0x3c]
lea r15, [rsp + 0x40]
mov rax, qword [rsp + 0x58]
and dword [rsp + 0x40], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400b3fd7
mov edx, dword [rsp + 0x3c]
mov rcx, rbx
call fcn.14002c425
jmp 0x1400b3f9d
test eax, eax
jne 0x1400b40c9
mov r8d, dword [rsp + 0x3c]
mov qword [rsp + 0x68], r8
mov rdx, qword [rsp + 0x58]
shr r8, 1
lea rcx, [rsp + 0x40]
call fcn.1400a96fa
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov r14, r15
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400a8962
test al, al
je 0x1400b40e1
test r14, r14
je 0x1400b4090
movzx edx, byte [rbx + r14 - 1]
mov rcx, 0xffffffffffffffff
test dl, dl
jns 0x1400b40be
movzx r8d, byte [rbx + r14 - 2]
cmp r8b, 0xbf
jg 0x1400b4067
movzx r9d, byte [rbx + r14 - 3]
cmp r9b, 0xc0
jge 0x1400b406d
movzx r10d, byte [rbx + r14 - 4]
and r10d, 7
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
jmp 0x1400b4071
and r8d, 0x1f
jmp 0x1400b407c
and r9d, 0xf
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp edx, 0x110000
je 0x1400b4016
jmp 0x1400b4098
xor r14d, r14d
jmp 0x1400b4008
cmp edx, 0x80
jb 0x1400b40be
mov rcx, 0xfffffffffffffffe
cmp edx, 0x7ff
jbe 0x1400b40be
xor ecx, ecx
cmp edx, 0x10000
setb cl
or rcx, 0xfffffffffffffffc
add rcx, r14
mov r15, rcx
jmp 0x1400b4005
and qword [rsi], 0
lea rcx, [rsp + 0x58]
call fcn.1400304a6
mov rcx, rdi
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x1400b4104
mov qword [rsp + 0x50], r15
mov qword [rsi + 0x10], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
lea rcx, [rsp + 0x58]
call fcn.1400304a6
mov rcx, rdi
call sub.ADVAPI32.dll_RegCloseKey
lea rcx, [rsp + 0x90]
call fcn.1400ab190
lea rcx, [rsp + 0x78]
call fcn.1400ab190
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400d9d3e
Capabilities:
Get session user name

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
lea rdx, [rsp + 0x2c]
and dword [rdx], 0
xor r14d, r14d
xor ecx, ecx
call sub.ADVAPI32.dll_GetUserNameW
test eax, eax
jne 0x1400d9e0b
lea rbx, [rsp + 0x2c]
mov ecx, dword [rbx]
xor edx, edx
call fcn.1400d9b34
mov rdi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
and qword [rsp + 0x40], 0
mov rax, rdx
shr rax, 0x20
neg rax
sbb r14d, r14d
or r14d, edx
mov dword [rbx], r14d
mov rcx, rdi
mov rdx, rbx
call sub.ADVAPI32.dll_GetUserNameW
test eax, eax
je 0x1400d9dc8
mov eax, dword [rsp + 0x2c]
lea r8, [rax - 1]
test rax, rax
cmove r8, rax
mov qword [rsp + 0x40], r8
mov rcx, rsi
mov rdx, rdi
call fcn.1400944a0
jmp 0x1400d9df4
mov ecx, 7
xor edx, edx
call fcn.1400d9adb
mov dword [rax + 3], 0x6e776f6e
mov dword [rax], 0x6e6b6e75
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], 7
mov byte [rsi + 0x18], 1
lea rcx, [rsp + 0x30]
call fcn.1400d9bc3
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_success.cargo_registry_srcindex.crates.io_6f17d22bba15001fwhoami_1.4.1_srcwindows.rs
lea r8, [0x140176cc8]
mov edx, 0x19
call fcn.14000e4c0
ud2
Function at 0x1400e1610
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400e1610
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x1400e171a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e16f0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x1400eec80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400eeda0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400eece0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400eece0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400eece0
Function at 0x1400f3600
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400f36af
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
cmp r8, 0x10
jb 0x1400f375a
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400f36af
cmp r8, 0
je 0x1400f3820
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400f3770
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret