joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400120c0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400120e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000ffb4
or eax, 0xffffffff
jmp 0x1400120e2
xor eax, eax
add rsp, 0x28
ret

Function at 0x140012410
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140037018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14001214f
call fcn.140010024
mov dword [rax], 0x16
call fcn.1400157d8
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000a610
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x140012116
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400121bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x140012190
cmp eax, 3
jbe 0x1400121ad
cmp eax, 8
je 0x14001219d
cmp eax, 0x12
je 0x1400121ad
call fcn.140010024
mov dword [rax], 0x16
jmp 0x140012126
call fcn.140010024
mov dword [rax], 0xc
jmp 0x140012126
call fcn.140010024
mov dword [rax], 2
jmp 0x140012126
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140012358
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140012358
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140012358
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001af48
test eax, eax
jne 0x14001221b
mov rax, rdi
jmp 0x14001212a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400157f8
int3
jmp 0x1400120e8
Function at 0x140012418
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140037018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x14001228d
call fcn.140010024
mov dword [rax], 0x16
call fcn.1400157d8
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000a610
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140012259
test rbx, rbx
je 0x140012259
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400122e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x1400122c1
cmp eax, 3
jbe 0x1400122db
cmp eax, 8
je 0x1400122ce
cmp eax, 0x12
je 0x1400122db
call fcn.140010024
mov dword [rax], 0x16
jmp 0x140012269
call fcn.140010024
mov dword [rax], 0xc
jmp 0x140012269
call fcn.140010024
mov dword [rax], 2
jmp 0x140012269
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140012358
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140012358
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140012358
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001af48
test eax, eax
je 0x14001226c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400157f8
int3
jmp 0x140012230

Function at 0x140012ef4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000ffb4
or eax, 0xffffffff
jmp 0x140012f16
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001429c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400140c8
Function at 0x14001c8b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x88
call qword [0x1400464c8]
movsx eax, al
test eax, eax
jne 0x14001c8d2
rdtsc
shl rdx, 0x20
or rax, rdx
jmp 0x14001caab
mov rax, qword gs:[0x188]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0
cmp dword [0x1400a63d4], 0x1db1
ja 0x14001c905
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x28], eax
jmp 0x14001c914
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x80]
mov dword [rsp + 0x28], eax
mov rax, qword gs:[0x1a8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x14001c949
mov rax, qword [rsp + 0x20]
sub rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x20], rax
jbe 0x14001caa2
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call qword [0x140046278]
movzx eax, al
test eax, eax
jne 0x14001c97a
jmp 0x14001caa2
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x501802
je 0x14001c989
jmp 0x14001c93b
mov rax, qword [rsp + 0x20]
sub rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [0x140046278]
movzx eax, al
test eax, eax
jne 0x14001c9b8
jmp 0x14001caa2
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0xf33
je 0x14001c9cc
jmp 0x14001c93b
jmp 0x14001c9dc
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x14001ca9b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [0x140046278]
movzx eax, al
test eax, eax
jne 0x14001ca0d
jmp 0x14001ca9b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
and rax, 0xfffffffffffff000
cmp rax, qword [0x1400a6408]
jb 0x14001ca45
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
and rax, 0xfffffffffffff000
mov rcx, qword [0x1400a6408]
add rcx, 0x2000
cmp rax, rcx
jb 0x14001ca47
jmp 0x14001c9ce
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [0x1400a63f0], 0
je 0x14001ca94
mov rax, qword [0x1400a63f0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x70]
call qword [0x1400465b8]
jmp 0x14001ca9b
jmp 0x14001caa2
rdtsc
shl rdx, 0x20
or rax, rdx
add rsp, 0x88
ret
Function at 0x140003559
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x28]
add rsp, 0x50
pop rsi
ret

Function at 0x140003a00
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
test r9, r9
je 0x140003a43
mov r15, r9
mov r14, r8
mov rbx, qword [rsp + 0x100]
mov ecx, edx
call qword [sym.imp.kernel32.dll_GetStdHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140003a60

Function at 0x14000521c
Capabilities:
Parse pe header

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

Function at 0x1400094e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400092e0
Function at 0x14000c5ac
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c5dc
xor eax, eax
jmp 0x14000c69f
mov rbp, rbx
cmp word [rax], si
je 0x14000c601
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c5e8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c5e4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c4cc
movsxd r14, eax
test eax, eax
jne 0x14000c63f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x14000c5d5
mov rcx, r14
call fcn.14000d488
mov rdi, rax
test rax, rax
jne 0x14000c658
xor ecx, ecx
call fcn.14000ab2c
jmp 0x14000c634
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c4cc
test eax, eax
jne 0x14000c689
mov rcx, rdi
call fcn.14000ab2c
jmp 0x14000c693
xor ecx, ecx
call fcn.14000ab2c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000fb90
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b59c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000fc1a
cmp byte [rbp - 0x21], r15b
je 0x14000fc15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000fc50
call fcn.14000dc98
test eax, eax
jne 0x14000fc3c
cmp byte [rbp - 0x21], r15b
je 0x14000fc34
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000fc50
cmp byte [rbp - 0x21], r15b
je 0x14000fc4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000ab7c
test eax, eax
jne 0x14000fcf0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b59c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000fc8f
cmp byte [rbp - 0x21], r15b
je 0x14000fcc4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000fcc4
call fcn.14000dc98
test eax, eax
jne 0x14000fcb0
cmp byte [rbp - 0x21], r15b
je 0x14000fca9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000fcc4
cmp byte [rbp - 0x21], r15b
je 0x14000fcc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000ab7c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000fcf0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000fcf3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000fd01
mov rcx, rdi
call fcn.14000ab2c
cmp byte [rbp + 0x3f], r15b
je 0x14000fd10
mov rcx, qword [rbp + 0x27]
call fcn.14000ab2c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140004640
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x140004733
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x20]
mov rdi, rsi
jmp 0x1400046d1
add rdi, 8
mov rax, qword [rbp - 0x20]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc qword [rbp - 0x10]
cmp rdi, r13
je 0x140004716
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.1400100c0
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 0x18]
jne 0x1400046b0
mov rcx, r15
call fcn.14000fcc0
mov rdx, qword [rbp - 0x10]
jmp 0x1400046b0
mov rcx, rsi
call sub.kernel32.dll_LocalFree
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x140004741
mov qword [rdi], 8
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140007f50
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 qword [rdx + 0x10], 0
je 0x14000804b
mov qword [rbp - 0x10], rdx
lea rcx, [0x140044c1a]
call sub.oleaut32.dll_SysAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
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_SysFreeString
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x14000804b
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x14000800f
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14000800f
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
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], 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 0x14000805a
mov qword [rsi], 2
mov rcx, rdx
call fcn.140006f80
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14000e7a0
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 0x14000e7e2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14000e7ea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000e7fb
jmp 0x14000e812
xor r10d, r10d
jmp 0x14000e89d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000e812
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000e829
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 0x14000e849
add r11, r8
jmp 0x14000e97a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000e912
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000e8c0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14000e930
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000e942
jmp 0x14000e95c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000e95c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000e976
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 0x140012c70
Capabilities:
Get disk information

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rsi, rcx
call sub.kernel32.dll_GetLogicalDrives
mov dword [rbp + 0x14], eax
test eax, eax
je 0x140012d3c
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea rax, [rbp + 0x14]
mov qword [rbp - 0x20], rax
movabs rax, 0x2000000000
mov qword [rbp - 0x18], rax
mov qword [rbp + 0xc], rax
lea rcx, [rbp + 0xc]
call fcn.140018be0
mov rdi, rax
mov ebx, dword [rbp + 0xc]
mov r14d, dword [rbp + 0x10]
call fcn.14001cd60
xor ecx, ecx
cmp rdi, 0xffffffffffffffff
sete cl
cmp rcx, rax
cmova rax, rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], 1
lea rcx, [rbp - 0x38]
mov rdx, rdi
xor r8d, r8d
mov r9, rax
call fcn.1400110b0
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x38]
call fcn.1400139e0
mov rax, qword [rbp]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
jmp 0x140012d4a
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14001c860
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdx + 0x10]
movzx r14d, byte [rdx + 0x18]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], r14b
movzx eax, byte [0x14005b151]
mov ecx, 0x5f0
mov edx, 8
call fcn.140003360
test rax, rax
mov qword [rbp - 8], rbx
je 0x14001cad6
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x10], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word cs:[rax + rax]
mov eax, 1
lock xadd qword [0x14005b168], rax
mov r13, rax
xor r13, rcx
lea r15, [rdx + r13]
mov rbx, r13
rol rbx, 0x10
xor rbx, r15
lea r12, [rbx + r8]
rol rbx, 0x15
add r13, r9
mov r15, r13
xor r15, r10
rol r13, 0x20
xor rax, r12
add rax, r15
rol r15, 0xd
xor r12, r11
xor r15, rax
rol rax, 0x20
xor r12, rbx
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r12, rax
xor r15, r13
rol r13, 0x20
xor rax, r11
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r15, rax
add r13, r15
rol r15, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r15
xor rax, r12
xor rax, r13
je 0x14001c930
mov rdx, qword [rbp - 8]
mov rcx, qword [rdx + 0x40]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov r8, qword [rbp - 0x18]
mov qword [rsi + 0x138], r8
mov byte [rsi + 0x140], r14b
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov r8, qword [rbp - 0x10]
mov qword [rsi + 0x100], r8
mov qword [rsi + 0x108], rax
mov qword [rsi + 0x110], rcx
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x14001cac2
mov rdx, qword [rdx + 0x50]
test rdx, rdx
je 0x14001cac2
mov r8d, 1
call fcn.140003370
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400431c0
ud2
Function at 0x140024ff0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x140025026
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140025036
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140025050
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400250e0
jmp 0x1400250cf
jae 0x1400251a0
cmp r8, 0x201
jae 0x1400250e0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140025138
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14002510f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140042780
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140025161
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140025208
mov r8d, r14d
cmp r15, r8
jne 0x1400250c0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002522b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400250cf
jmp 0x1400250e0
cmp rsi, r8
jb 0x140025245
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140027aa0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400251f1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140003370
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400251d9
jmp 0x1400251f1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400432d0
jmp 0x14002525a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400436c0
ud2