joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005aac4
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov dword [rax - 0x18], 0x11
lea rdx, [rax - 0x18]
mov byte [rax - 0x14], bpl
xor ecx, ecx
mov dword [rax - 0x10], 0x12
mov esi, ebp
mov byte [rax - 0xc], bpl
lea r8d, [rbp + 2]
lea ebx, [rbp + 0x14]
call fcn.14004d620
test eax, eax
jns 0x14005ab2e
mov r9d, eax
mov qword [rsp + 0x20], rbp
mov r8d, 0x3db
lea rdx, str.onecore_base_ntsetupopktoolsosimagewimgapilibcleanup.c
lea rcx, str.CleanupOrphanedStubs
call fcn.140046874
jmp 0x14005ace9
mov edi, ebx
mov eax, 0xffffffff
add rdi, rdi
cmp rdi, rax
ja 0x14005ac8e
test rsi, rsi
je 0x14005ab66
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, edi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14005ac80
shr edi, 1
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14005ac38
cmp eax, edi
ja 0x14005ab2e
mov rbx, rsi
cmp bp, word [rsi]
je 0x14005acb2
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rbx + rax*2], bp
jne 0x14005abcd
cmp rax, 2
jb 0x14005ac09
cmp word [rbx + 2], 0x3a
jne 0x14005ac09
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
jne 0x14005ac09
mov rcx, rbx
call fcn.14005a070
mov rcx, rbx
call fcn.14005a20c
jmp 0x14005ac1d
mov r8, rbx
lea rdx, str.Badly_formatted_drive_string:__s.__This_drive_will_not_be_cleaned.
mov ecx, 0x40000
call fcn.140046708
mov rax, rdi
inc rax
cmp word [rbx + rax*2], bp
jne 0x14005ac20
lea rbx, [rbx + rax*2]
add rbx, 2
cmp bp, word [rbx]
jne 0x14005abca
jmp 0x14005acb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov ebx, 0x80070000
or ecx, ebx
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14005ac72
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx r9d, ax
or r9d, ebx
test eax, eax
cmovle r9d, eax
jmp 0x14005ac78
mov r9d, 0x80004005
mov r8d, 0x3ef
jmp 0x14005ac9a
mov r9d, 0x8007000e
mov r8d, 0x3ea
jmp 0x14005ac9a
mov r9d, 0x80070216
mov r8d, 0x3e5
lea rdx, str.onecore_base_ntsetupopktoolsosimagewimgapilibcleanup.c
mov qword [rsp + 0x20], rbp
lea rcx, str.CleanupOrphanedStubs
call fcn.140046874
mov r8d, 2
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.14004d78c
test rsi, rsi
je 0x14005ace9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14005dcf4
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov r8d, dword [rcx + 8]
mov rbx, rcx
mov eax, 1
test r8d, r8d
je 0x14005dd54
and dword [rsp + 0x40], 0
lea rdx, [rcx + 0x18]
mov rcx, qword [rcx]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x14005dd54
mov ecx, dword [rbx + 8]
cmp dword [rsp + 0x40], ecx
je 0x14005dd50
mov ecx, 0xea
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14005dd54
and dword [rbx + 8], 0
add rsp, 0x30
pop rbx
ret

Function at 0x14005de08
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov eax, dword [rcx + 8]
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
mov r14, r8
mov esi, r9d
sub rcx, rax
add rsi, rdx
mov ebx, r9d
mov rbp, rdx
cmp rdx, qword [rdi + 0x10]
ja 0x14005df23
cmp rsi, qword [rdi + 0x10]
ja 0x14005df23
cmp rcx, rdx
mov rax, rdx
cmova rax, rcx
cmp rax, rsi
jae 0x14005de78
sub esi, eax
mov rdx, rax
sub rax, rcx
mov r8d, esi
sub rdx, rbp
lea rcx, [rdi + 0x18]
add rdx, r14
add rcx, rax
call sub.msvcrt.dll_memcpy
sub ebx, esi
xor esi, esi
test ebx, ebx
je 0x14005df1c
mov rdx, qword [0x1400bac90]
lea r9d, [rsi + 1]
mov rcx, qword [rdi]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x68], esi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
je 0x14005df34
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
je 0x14005df34
mov rcx, qword [rdi]
lea r9, [rsp + 0x68]
mov r8d, ebx
mov qword [rsp + 0x20], rsi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x14005df34
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov rcx, qword [rdi]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
je 0x14005df34
cmp dword [rsp + 0x68], ebx
je 0x14005df1c
mov ecx, 0xea
jmp 0x14005df28
mov eax, 1
jmp 0x14005df36
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005fb7c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
and qword [rax + 0x10], 0
xor ebp, ebp
xor ebx, ebx
xor r14d, r14d
and dword [rax + 0x18], ebx
mov r12, r9
lea r15d, [rbp + 0x20]
test rcx, rcx
jne 0x14005fbbe
lea edi, [rbp + 0x57]
jmp 0x14005fd19
lea rax, [rsp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ControlMUIUILanguages
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14005fbf4
and qword [rsp + 0x78], rbx
jmp 0x14005fd19
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov edi, 8
mov rcx, rax
mov edx, edi
lea r8d, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14005fd19
xor esi, esi
and qword [rsp + 0x38], r14
lea r9, [rsp + 0x80]
and qword [rsp + 0x30], r14
mov r8, rbx
and qword [rsp + 0x28], r14
mov edx, ebp
mov rcx, qword [rsp + 0x78]
and qword [rsp + 0x20], r14
mov dword [rsp + 0x80], r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x14005fccf
sub ecx, 0xea
jne 0x14005fcec
test esi, esi
jne 0x14005fce5
add r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ebx, r15d
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14005fd19
mov esi, 1
jmp 0x14005fc28
mov rdx, r12
mov rcx, rbx
call fcn.140053960
test eax, eax
je 0x14005fd01
inc ebp
jmp 0x14005fc26
mov edi, 0x32
jmp 0x14005fd19
cmp ecx, 0x19
je 0x14005fcf9
mov edi, eax
test eax, eax
je 0x14005fd37
jmp 0x14005fd19
mov r14d, 1
jmp 0x14005fd37
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, 0x32
test eax, eax
cmove eax, edi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14005fd37
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14005fd4d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x14005fd72
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
lea r11, [rsp + 0x40]
mov eax, r14d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14006899c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
cmp dword [0x1400bb570], 0
jne 0x140068a3b
mov edx, 0x13579bdf
lea r8, [0x1400bae70]
mov r9d, 0x87654321
xor r10d, r10d
mov r11d, r9d
mov ebx, edx
lea edi, [r10 + 0x20]
sub r10d, 0x61c88647
mov ecx, r9d
sar ecx, 5
add r11d, r10d
add ebx, r10d
add ecx, ebx
lea eax, [r11 + r9*8]
xor ecx, eax
lea eax, [r10 + r9]
xor ecx, eax
add edx, ecx
mov eax, edx
sar eax, 5
add eax, r11d
lea ecx, [rbx + rdx*8]
xor ecx, eax
lea eax, [r10 + rdx]
xor ecx, eax
add r9d, ecx
sub edi, 1
jne 0x1400689d1
add edx, r9d
mov ecx, 0x7fff
movzx eax, dx
and ax, cx
mov word [r8], ax
add r8, 2
lea rax, [0x1400bb470]
cmp r8, rax
jb 0x1400689c5
mov dword [0x1400bb570], 1
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x140068a50
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
mov r9, qword [rcx - 0x20]
xor esi, esi
mov r10, qword [rcx - 0x28]
mov rbx, rcx
mov r11d, esi
lea rdi, [r9 - 2]
cmp r10, rdi
jae 0x140068ad2
lea rbp, [0x1400bae70]
movzx eax, byte [r10 + 2]
lea r8, [r10 + 1]
movzx edx, word [rbp + rax*2 + 0x400]
movzx eax, byte [r8]
movzx eax, word [rbp + rax*2 + 0x200]
xor rdx, rax
movzx eax, byte [r10]
mov r10, r8
movzx ecx, word [rbp + rax*2]
xor rdx, rcx
movsxd rcx, r11d
movzx eax, word [rbx + rdx*2 - 0x18288]
mov word [rbx + rcx*2], ax
mov word [rbx + rdx*2 - 0x18288], r11w
inc r11d
cmp r8, rdi
jb 0x140068a83
cmp r10, r9
jae 0x140068aea
sub r9, r10
movsxd rax, r11d
inc r11d
mov word [rbx + rax*2], si
sub r9, 1
jne 0x140068ada
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1400710ec
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14007119d
mov r8d, 0x104
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x14007117d
and qword [rsp + 0x30], 0
lea r8d, [rdi + 8]
mov dword [rsp + 0x28], 0x2020000
xor r9d, r9d
mov edx, 0x100080
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140071298
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov dword [rsp + 0x20], 9
mov rsi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x210
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jns 0x140071307
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x14007136e
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], r14w
jne 0x14007130b
mov ebp, dword [rsp + 0x40]
lea edx, [rcx - 1]
cmp word [rsi + rdx*2], 0x5c
cmovne edx, ecx
add edx, edx
lea eax, [rbp + 2]
add eax, edx
and eax, 0xfffffffe
cmp eax, 0x208
jbe 0x14007133c
mov ecx, 0x8007007a
jmp 0x14007136e
mov ebx, edx
mov rcx, rdi
mov r8d, edx
mov rdx, rsi
call sub.msvcrt.dll_memcpy
add rdi, rbx
lea rdx, [rsp + 0x44]
mov rcx, rdi
mov r8, rbp
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x40]
mov ecx, r14d
shr rax, 1
mov word [rdi + rax*2], r14w
mov eax, ecx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140096bd0
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140071aac
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov bpl, dl
mov ebx, r15d
mov r14, rcx
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140071c06
mov r8d, 0x104
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
je 0x140071bc1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140071bc1
mov r8d, 0x104
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x140071bc1
inc rdi
cmp word [rbx + rdi*2], r15w
jne 0x140071b6a
dec edi
cmp word [rbx + rdi*2], 0x5c
jne 0x140071b82
mov word [rbx + rdi*2], r15w
neg bpl
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov rcx, rbx
sbb edx, edx
mov dword [rsp + 0x20], 3
xor r9d, r9d
and edx, 0xc0000000
add edx, 0x80000000
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test rbx, rbx
je 0x140071c06
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140071c94
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor ebx, ebx
mov r12, rdx
mov r14, rcx
mov rsi, rcx
mov edi, ebx
lea r15d, [rbx + 0x5c]
mov edx, r15d
lea rcx, [rsi + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140071e53
inc edi
cmp edi, 2
jb 0x140071cd7
add rsi, 2
lea r8, str._GlobalRoot
mov edi, 0x104
lea rax, [rbp - 0x50]
mov edx, edi
lea rcx, [rbp - 0x50]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140071d3d
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140071d3d
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140071d1a
lea rax, [rcx - 2]
test rdx, rdx
mov r9, rsi
mov r8, r14
cmovne rax, rcx
sub r9, r14
sar r9, 1
lea rcx, [rbp - 0x50]
mov word [rax], bx
call fcn.14001963c
mov r8d, 0x32
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x140071dbc
lea r9, [rsp + 0x30]
mov r8d, edi
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
je 0x140071db5
cmp word [rbp + 0x1c0], bx
je 0x140071db5
lea rdi, [rbp + 0x1c0]
jmp 0x140071dc0
lea rdi, [rsp + 0x40]
jmp 0x140071dc0
lea rdi, [rbp - 0x50]
or rcx, 0xffffffffffffffff
mov rax, rcx
inc rax
cmp word [rdi + rax*2], bx
jne 0x140071dc7
test rax, rax
je 0x140071de2
cmp word [rdi + rax*2 - 2], r15w
jne 0x140071de2
mov word [rdi + rax*2 - 2], bx
mov rax, rcx
inc rax
cmp word [rdi + rax*2], bx
jne 0x140071de5
inc rcx
cmp word [rsi + rcx*2], bx
jne 0x140071dee
add rax, rcx
lea r15, [rax*2 + 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140071e31
mov ebx, 0x8007000e
jmp 0x140071e4f
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, str._ws_ws
mov rdx, r15
mov rcx, r14
call fcn.140071814
mov qword [r12], r14
mov eax, ebx
jmp 0x140071e58
mov eax, 0x80070057
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140096bd0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140072098
Capabilities:
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0xc0
mov rsi, r8
or qword [r11 + 0x20], 0xffffffffffffffff
mov ebx, 0x200
mov dword [rsp + 0x60], ebx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x68], 0x80008
mov dword [r11 - 0x40], 0x30
mov qword [r11 - 0x38], rcx
mov dword [r11 - 0x28], 0x40
lea rax, [r11 - 0x60]
mov qword [r11 - 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [r11 - 0x20], xmm0
and dword [rsp + 0x50], 0
and qword [r11 - 0x80], 0
mov dword [rsp + 0x40], 0x2020
mov dword [rsp + 0x38], 1
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
lea r9, [r11 - 0x50]
lea r8, [r11 - 0x40]
mov edx, 0x100080
lea rcx, [r11 + 0x20]
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x1400721da
mov r8, qword [rsi]
test r8, r8
je 0x140072170
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ebx, dword [rsp + 0x60]
mov r8d, ebx
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsi], rax
test rax, rax
je 0x1400721d5
mov dword [rsp + 0x20], 9
mov ebx, dword [rsp + 0x60]
mov r9d, ebx
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov edi, eax
add ebx, ebx
mov dword [rsp + 0x60], ebx
cmp eax, 0x80000005
jne 0x1400721da
jmp 0x140072149
mov edi, 0xc000009a
mov rcx, qword [rsp + 0xe8]
cmp rcx, 0xffffffffffffffff
je 0x1400721f4
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140078240
Capabilities:
Get number of processors

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rbp + 0x17], rax
and dword [rbp - 0x31], 0
lea r12, [0x1400990c0]
and dword [rbp - 0x2d], 0
xorps xmm0, xmm0
and qword [rbp - 9], 0
mov r14, r9
and qword [rbp - 0x59], 0
mov rsi, r8
cmp dword [rcx + 0x10], 0
mov rdi, rcx
movdqa xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x39], r12
mov byte [rbp], 0
jne 0x1400782a5
mov ebx, 0x80070020
jmp 0x140078347
mov rax, qword [rcx + 8]
lea r9, [rbp - 0x59]
movaps xmm0, xmmword [rdx]
lea rcx, [rbp - 0x39]
and dword [rbp + 3], 0
lea r8, [rbp - 0x49]
and qword [rbp + 0xf], 0
mov rdx, rdi
mov qword [rbp + 7], rax
movdqa xmmword [rbp - 0x49], xmm0
mov byte [rbp - 1], 1
call fcn.140075a10
mov ebx, eax
test eax, eax
js 0x140078303
movaps xmm0, xmmword [r14]
lea rax, [rbp - 0x49]
mov r8, qword [rbp - 0x59]
lea rcx, [rbp - 0x39]
mov r9, rsi
movdqa xmmword [rbp - 0x49], xmm0
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140075598
mov ebx, eax
cmp byte [rbp], 0
mov qword [rbp - 0x39], r12
je 0x140078316
mov rcx, qword [rbp + 7]
call fcn.14007dfb8
cmp qword [rbp - 0x21], 0
lea rax, fcn.1400749d0
mov qword [rbp - 0x39], rax
je 0x140078347
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140096bd0
add rsp, 0xb8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14008dcc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
cmp qword [rcx + 8], rdx
jbe 0x14008dcf7
xor ecx, ecx
mov rax, qword [rbx + 0x10]
lea rcx, [rcx + 0x90]
inc rdx
and qword [rcx + rax - 0x68], 0
and qword [rcx + rax - 0x80], 0
cmp rdx, qword [rbx + 8]
jb 0x14008dcd7
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x10], 0
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x14008dd34
mov rcx, rdi
call fcn.14008dcc0
mov rcx, rdi
call fcn.140097358
and qword [rbx + 0x18], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140093024
Capabilities:
Encode data using xor
Hash data using murmur3

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
xor r9d, r9d
mov esi, edx
mov r10d, edx
mov rbx, rcx
shr r10d, 4
mov r11, r8
mov edi, r9d
movabs rbp, 0x87c37b91114253d5
movabs r14, 0x4cf5ad432745937f
test r10d, r10d
je 0x1400930bd
lea edx, [rdi + rdi]
inc edi
mov rcx, qword [rbx + rdx*8]
lea eax, [rdx + 1]
mov rax, qword [rbx + rax*8]
imul rax, r14
imul rcx, rbp
rol rax, 0x21
imul rax, rbp
rol rcx, 0x1f
xor rax, r11
imul rcx, r14
rol rax, 0x1f
xor rcx, r8
add rax, 0xb41def1
rol rcx, 0x1b
add rcx, r11
lea r8, [rcx*4 + 0x52dce729]
add r8, rcx
add rax, r8
lea r11, [rax + rax*4]
cmp edi, r10d
jb 0x140093067
shl r10d, 4
mov eax, esi
mov ecx, r10d
and eax, 0xf
add rcx, rbx
cmp eax, 8
ja 0x14009311b
je 0x140093198
sub eax, 1
je 0x1400931e3
sub eax, 1
je 0x1400931d8
sub eax, 1
je 0x1400931cd
sub eax, 1
je 0x1400931c2
sub eax, 1
je 0x1400931b7
sub eax, 1
je 0x1400931ac
cmp eax, 1
je 0x1400931a1
jmp 0x1400931f8
sub eax, 9
je 0x140093182
sub eax, 1
je 0x140093177
sub eax, 1
je 0x14009316c
sub eax, 1
je 0x140093161
sub eax, 1
je 0x140093156
sub eax, 1
je 0x14009314b
cmp eax, 1
jne 0x1400931f8
movzx r9d, byte [rcx + 0xe]
shl r9, 0x30
movzx eax, byte [rcx + 0xd]
shl rax, 0x28
xor r9, rax
movzx eax, byte [rcx + 0xc]
shl rax, 0x20
xor r9, rax
movzx eax, byte [rcx + 0xb]
shl rax, 0x18
xor r9, rax
movzx eax, byte [rcx + 0xa]
shl rax, 0x10
xor r9, rax
movzx eax, byte [rcx + 9]
shl rax, 8
xor r9, rax
movzx eax, byte [rcx + 8]
xor rax, r9
imul rax, r14
rol rax, 0x21
imul rax, rbp
xor r11, rax
movzx r9d, byte [rcx + 7]
shl r9, 0x38
movzx eax, byte [rcx + 6]
shl rax, 0x30
xor r9, rax
movzx eax, byte [rcx + 5]
shl rax, 0x28
xor r9, rax
movzx eax, byte [rcx + 4]
shl rax, 0x20
xor r9, rax
movzx eax, byte [rcx + 3]
shl rax, 0x18
xor r9, rax
movzx eax, byte [rcx + 2]
shl rax, 0x10
xor r9, rax
movzx eax, byte [rcx + 1]
shl rax, 8
xor r9, rax
movzx eax, byte [rcx]
xor rax, r9
imul rax, rbp
rol rax, 0x1f
imul rax, r14
xor r8, rax
mov rbx, qword [rsp + 0x10]
xor r11, rsi
mov rbp, qword [rsp + 0x18]
movabs rdx, 0xff51afd7ed558ccd
mov rdi, qword [rsp + 0x28]
mov rax, rsi
mov rsi, qword [rsp + 0x20]
xor rax, r8
add rax, r11
mov rcx, rax
add r11, rax
shr rcx, 0x21
xor rcx, rax
mov rax, r11
imul rcx, rdx
shr rax, 0x21
mov r8, rcx
xor rax, r11
imul rax, rdx
shr r8, 0x21
xor r8, rcx
mov rdx, rax
shr rdx, 0x21
movabs rcx, 0xc4ceb9fe1a85ec53
xor rdx, rax
imul rdx, rcx
imul r8, rcx
mov rax, rdx
shr rax, 0x21
xor rdx, rax
mov rcx, r8
shr rcx, 0x21
xor rcx, r8
add rcx, rdx
lea rax, [rdx + rcx]
xor rax, rcx
pop r14
ret