joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bd44
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
xor ebx, ebx
mov r14, r9
mov r12d, r8d
mov r13d, edx
mov rsi, rcx
cmp edx, ebx
jne 0x14001bd8a
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.14002d040
mov r9, r14
mov r8d, r12d
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.14001b8ac
cmp al, bl
jne 0x14001be45
cmp r12d, ebx
jne 0x14001be09
cmp qword [rsi + 0x38], rdi
je 0x14001bde4
mov rcx, qword [rsi + 0x30]
call fcn.14002eb4c
mov rcx, 0xffffffffffffffff
mov eax, 4
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.14002c7c4
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov r8, rbx
cmp rdi, rbx
jbe 0x14001be09
movzx edx, word [r8 + r14]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rdi
jb 0x14001bdec
mov ecx, dword [rsi + 0x14]
mov rax, qword [rsi + 0x28]
imul ecx, r12d
add ecx, r13d
mov edx, dword [rax + rcx*4]
mov rax, qword [rsi + 8]
mov r8d, dword [rax + rdx*4]
cmp rdi, rbx
jbe 0x14001be45
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + rbx*4]
mov rax, qword [rsi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbx + rbp], cx
add rbx, 2
cmp rbx, rdi
jb 0x14001be27
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

Function at 0x14001bfa8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1040
call fcn.14003a1b0
sub rsp, rax
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r12d, r12d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r12b
je 0x14001c099
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.140013be0
mov rbp, rax
cmp rax, rdi
jbe 0x14001c023
mov rcx, rdi
mov word [rax - 2], r12w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r12 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x14001c023
bt eax, 0xa
jae 0x14001c023
mov byte [rbx], r12b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.14002f198
cmp rax, r12
je 0x14001c03a
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x14001c099
mov rcx, qword [rsi + 0x51a8]
cmp rcx, r12
je 0x14001c066
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov byte [rsp + 0x20], 1
call fcn.140006ea0
cmp al, r12b
je 0x14001c066
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x14001c099
lea rdx, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
call fcn.14001431c
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.14000146c
lea rcx, [0x140050e70]
call fcn.14000b180
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14002d010
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14001ceac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rdi, rcx
cmp rax, rbx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.14002d340
mov r9b, byte [rdi + 0x101]
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14001cd40

Function at 0x14001e568
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14001e800
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x14001eb50
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x14001eba1
and edi, 0x3f
jne 0x14001eb9c
mov rcx, rbx
call fcn.14001e840
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x14001eb8f
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14001ebb3
mov rcx, rbx
call fcn.14001e840
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x14001ebd7
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.14001ce94
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.14001ce94
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.14001ce94

Function at 0x14001f5e8
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001f64e
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x14001fc3c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp dword [rcx], esi
jbe 0x14001fce7
lea rdi, [rcx + 8]
lea rax, [rsp + 0x40]
lea r8, [0x14001fba0]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x14001fcbd
lea rdx, str.CreateThread_failed
lea rcx, [0x140050e70]
call fcn.14000b388
lea rcx, [0x140050e70]
call fcn.14000b180
lea edx, [rbp + 2]
lea rcx, [0x140050e70]
call fcn.14000b100
mov qword [rdi], rbp
inc dword [rbx + 0x108]
mov edx, dword [0x14005a154]
test edx, edx
je 0x14001fcd9
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc esi
add rdi, 8
cmp esi, dword [rbx]
jb 0x14001fc61
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14002e98c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140033d30
nop
cmp dword [0x14005a458], 1
je 0x14002e938
mov dword [0x14005a454], 1
mov byte [0x14005a450], r12b
test ebx, ebx
jne 0x14002e924
mov rcx, qword [0x14005b4d8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002e911
mov rcx, qword [0x14005b4d0]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002e8b0
call fcn.14002fb84
cmp qword [rdi], rax
jne 0x14002e8b0
jmp 0x14002e896
cmp rdi, rsi
jb 0x14002e911
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002fb84
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005b4d8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005b4d0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002e8ef
cmp r13, rax
je 0x14002e90f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002e896
lea rdx, [0x14003c570]
lea rcx, [0x14003c558]
call fcn.14002e6e0
lea rdx, [0x14003c580]
lea rcx, [0x14003c578]
call fcn.14002e6e0
nop
test r12d, r12d
je 0x14002e947
mov ecx, 8
call fcn.140033c30
test r12d, r12d
jne 0x14002e972
mov dword [0x14005a458], 1
lea ecx, [r12 + 8]
call fcn.140033c30
mov ecx, r15d
call fcn.14002e674
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002e800

Function at 0x14002e998
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002e800
Function at 0x140031733
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140045948]
jne 0x14002d02a
rol rcx, 0x10
test cx, 0xffff
jne 0x14002d026
repz ret
ror rcx, 0x10
jmp 0x14003168c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005a540]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005a638]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140031711
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14005a540]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140031733
mov rax, qword [rsp + 0x88]
mov qword [0x14005a638], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005a5d8], rax
mov rax, qword [0x14005a638]
mov qword [0x14005a4b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005a5c0], rax
mov dword [0x14005a4a0], 0xc0000409
mov dword [0x14005a4a4], 1
mov rax, qword [0x140045948]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140045950]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005a538], eax
mov ecx, 1
call fcn.140037358
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003e480]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005a538], 0
jne 0x1400317ba
mov ecx, 1
call fcn.140037358
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140037970
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002fb84
xor ebx, ebx
mov rdi, rax
cmp qword [0x14005b138], rbx
jne 0x140037a76
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140037b4b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037b4b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14005b138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14005b140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14005b148], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14005b158], rax
test rax, rax
je 0x140037a6d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14005b150], rax
jmp 0x140037a7d
mov rax, qword [0x14005b150]
jmp 0x140037a84
mov rax, qword [0x14005b150]
mov r11, qword [0x14005b158]
cmp rax, rdi
je 0x140037aec
cmp r11, rdi
je 0x140037aec
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14005b158]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140037aec
test rax, rax
je 0x140037aec
call rsi
test rax, rax
je 0x140037ae6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140037ae6
test byte [rsp + 0x38], 1
jne 0x140037aec
bts ebp, 0x15
jmp 0x140037b2a
mov rcx, qword [0x14005b140]
cmp rcx, rdi
je 0x140037b2a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037b2a
call rax
mov rbx, rax
test rax, rax
je 0x140037b2a
mov rcx, qword [0x14005b148]
cmp rcx, rdi
je 0x140037b2a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037b2a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005b138]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037b4b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140037b4d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140004140
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0xc]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14000427b
mov rdi, rax
mov qword [rbp - 0x48], rsi
movsxd r14, dword [rbp - 0xc]
mov qword [rbp - 0x28], 8
xorps xmm6, xmm6
movups xmmword [rbp - 0x20], xmm6
test r14, r14
je 0x14000425e
shl r14, 3
xor r15d, r15d
lea r12, [rbp - 0x60]
lea r13, [rbp - 0x40]
jmp 0x1400041e7
mov rax, qword [rbp - 0x28]
lea rcx, [rdx + rdx*2]
movups xmm0, xmmword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmmword [rax + rcx*8], xmm0
add qword [rbp - 0x18], 1
add r15, 8
cmp r14, r15
je 0x14000425e
mov rbx, qword [rdi + r15]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rsi, rax
lea rax, [rbp - 0x38]
movups xmmword [rax], xmm6
mov qword [rbp - 0x40], 1
mov rax, rsi
shr rax, 1
mov r8d, esi
and r8d, 1
add r8, rax
je 0x140004221
mov rcx, r13
xor edx, edx
call fcn.1400450a0
lea rax, [rbx + rsi*2]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rax
mov word [rbp - 0x50], 0
mov rcx, r12
mov rdx, r13
call fcn.14000c0c0
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x20]
jne 0x1400041c0
lea rcx, [rbp - 0x28]
call fcn.14000eb70
mov rdx, qword [rbp - 0x18]
jmp 0x1400041c0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x48]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rcx], xmm0
jmp 0x140004289
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140008ba0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x20], 0
cmp dword [rdx + 0x10], 1
jne 0x140008c92
mov qword [rbp - 0x10], rdx
lea rcx, [0x14004b27e]
call sub.OLEAUT32.dll_SysReAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8, rbx
mov r9d, 0x30
call rax
mov r14d, eax
mov rcx, rdi
call sub.OLEAUT32.dll_SysStringLen
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x140008c92
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x140008c5e
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140008c5e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x28], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x140008ca1
mov qword [rsi], 2
mov rcx, rdx
call fcn.140007fa0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14000b630
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
mov rax, qword [rsp + 0x28]
shr rax, 3
movabs rbx, 0x20c49ba5e353f7cf
mul rbx
shr rdx, 4
mov qword [rsi + 0x30], rdx
mov rax, qword [rsp + 0x30]
shr rax, 3
mul rbx
shr rdx, 4
mov qword [rsi + 0x38], rdx
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0x60]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x14000b73e
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
xor r8d, r8d
sub rax, rdx
cmovb rax, r8
imul rax, rdi
sub rcx, rdx
cmovb rcx, r8
shr rax, 3
mul rbx
imul rcx, rdi
shr rdx, 4
mov qword [rsi + 0x40], rdx
shr rcx, 3
mov rax, rcx
mul rbx
shr rdx, 4
mov qword [rsi + 0x48], rdx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000d2c0
Capabilities:
Get disk size

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov r14, rcx
mov r15, qword [rbp + 0x118]
test r15, r15
je 0x14000d330
mov rdi, r9
mov rsi, qword [rbp + 0x100]
lea rcx, [rbp + 0x30]
call fcn.140033800
test rsi, rsi
je 0x14000d33c
mov edx, 1
mov rcx, rsi
call fcn.1400035f0
mov rcx, rax
test rax, rax
jne 0x14000d341
mov edx, 1
mov rcx, rsi
call fcn.140049940
jmp 0x14000d4e1
mov qword [r14], 3
jmp 0x14000d4b6
mov ecx, 1
mov rdx, qword [rbp + 0xf8]
mov rbx, qword [rbp + 0xf0]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rsi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x70], rsi
test rbx, rbx
je 0x14000d39b
mov rsi, rbx
add rsi, rbx
jb 0x14000d4dc
mov edx, 2
mov rcx, rsi
call fcn.1400035f0
mov rcx, rax
test rax, rax
jne 0x14000d3a0
mov edx, 2
mov rcx, rsi
call fcn.140049940
jmp 0x14000d4e1
mov ecx, 2
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rbx
lea r8, [rbx + rbx]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x58], rbx
sub rbx, 1
jb 0x14000d4c9
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x78], 1
mov rax, rbx
shr rax, 1
mov r8d, ebx
and r8d, 1
add r8, rax
je 0x14000d3f1
lea rcx, [rbp + 0x78]
xor edx, edx
call fcn.1400450a0
lea rax, [rdi + rbx*2]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
lea rcx, [rbp - 0x58]
lea rdx, [rbp + 0x78]
call fcn.14000c0c0
mov al, byte [rbp + 0x120]
mov rcx, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rcx
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x48], xmm0
mov rcx, qword [rbp + 0x40]
mov qword [rbp - 0x38], rcx
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rbp - 0x30], xmm0
mov rcx, qword [rbp + 0x70]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp + 0x58]
mov qword [rbp - 8], rcx
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rbp], xmm0
mov rcx, qword [rbp + 0x88]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 0
mov byte [rbp + 0x28], al
mov qword [rbp + 0x78], 0
mov rcx, qword [rbp - 0x18]
lea r9, [rbp + 0x78]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14000d4a4
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x58]
mov r8d, 0x88
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, r14
add rsp, 0x118
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r8, str.C:UsersEmran.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8_sysinfo_0.20.5_srcwindowsdisk.rs
mov rcx, rbx
xor edx, edx
call fcn.140049bc0
jmp 0x14000d4e1
call fcn.14003d720
ud2
Function at 0x14000d5e0
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x70], 0
je 0x14000d620
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x40]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14000d620
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x78], rax
mov al, 1
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x140010cf0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x10], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140010d37
mov r15d, 8
sub r15, r11
cmp r15, r8
mov rax, r8
cmovb rax, r15
cmp rax, 3
jbe 0x140010d3f
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x140010d51
jmp 0x140010d68
xor r15d, r15d
jmp 0x140010df5
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x140010d68
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x140010d7f
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x140010d9f
add r11, r8
jmp 0x140010eda
mov rdi, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x28]
mov rax, qword [r9 + 0x18]
add rax, rcx
rol rcx, 0xd
xor rdi, r14
xor rcx, rax
rol rax, 0x20
mov rsi, qword [r9 + 0x20]
add rsi, rdi
rol rdi, 0x10
xor rdi, rsi
add rax, rdi
rol rdi, 0x15
xor rdi, rax
add rsi, rcx
rol rcx, 0x11
mov qword [r9 + 0x30], rdi
xor rcx, rsi
rol rsi, 0x20
mov qword [r9 + 0x28], rcx
mov qword [r9 + 0x20], rsi
xor rax, r14
mov qword [r9 + 0x18], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x140010e73
mov rax, qword [r9 + 0x30]
mov rsi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x20]
mov rdi, qword [r9 + 0x28]
nop dword [rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x140010e20
mov qword [r9 + 0x30], rax
mov qword [r9 + 0x18], rsi
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rcx
cmp r11d, 3
jbe 0x140010e91
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x140010ea2
jmp 0x140010ebc
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x140010ebc
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x140010ed6
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret