joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba2d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x50], 0
jmp 0x1400ba313
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x5c], 0x104
mov dword [rsp + 0x58], 0x104
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x103
jne 0x1400ba37e
jmp 0x1400ba453
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x2a0]
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x4d8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400ba3da
xor eax, eax
jmp 0x1400ba458
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140004170
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140004170
nop
lea r9, [rsp + 0x70]
mov r8, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x4d0]
call fcn.1400b82b0
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400031c0
cmp dword [rsp + 0x60], 0
jne 0x1400ba44e
xor eax, eax
jmp 0x1400ba458
jmp 0x1400ba309
mov eax, 1
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x4c8
ret
Function at 0x1400ba480
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x48], 0
jmp 0x1400ba4b7
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x103
jne 0x1400ba51f
jmp 0x1400ba601
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
mov ecx, eax
call fcn.1400d6048
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400ba5e8
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400ba5e8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400d6040
jmp 0x1400ba4ad
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d6040
jmp 0x1400ba4ad
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x2a8
ret

Function at 0x1400bb100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x268
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x278]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.1400bbc00
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea r8, [0x1402f0cc4]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.1402806f8
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x268
ret
Function at 0x1400bc5c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400bc5fe
xor eax, eax
jmp 0x1400bc6a4
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x6c], 0x20
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x58]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bc665
xor eax, eax
jmp 0x1400bc6a4
mov rax, qword [rsp + 0xa0]
movzx ecx, byte [rsp + 0x80]
mov byte [rax + 0x544], cl
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x548], ecx
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 0x54c], ecx
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x98
ret

Function at 0x1400bc6d0
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bc736
xor eax, eax
jmp 0x1400bc74a
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x550], ecx
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x68
ret

Function at 0x1400bc830
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x58], reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x48]
mov edx, 0x2d1400
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bc8b6
xor eax, eax
jmp 0x1400bc8fa
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x1400bc8f5
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x564], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x568], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x55c], 1
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x78
ret
Function at 0x1400c2b00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004410
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f3388]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400c2bd4
lea rdx, [0x1402f3364]
mov rcx, qword [rsp + 0xc0]
call fcn.140004170
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.1400031c0
mov rax, qword [rsp + 0xc0]
jmp 0x1400c2ce1
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.140057cc0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x1402f33a8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.1400118c0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x1400c2c52
cmp dword [rsp + 0x60], 0
jne 0x1400c2c85
lea rdx, [0x1402f3384]
mov rcx, qword [rsp + 0xc0]
call fcn.140004170
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.1400031c0
mov rax, qword [rsp + 0xc0]
jmp 0x1400c2ce1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.140007200
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c2740
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.1400031c0
mov rax, qword [rsp + 0xc0]
add rsp, 0xb8
ret
Function at 0x1400c2f70
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.140004410
nop
lea rcx, [rsp + 0x20]
call fcn.140004410
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c3c50
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c3b40
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400c2feb
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jae 0x1400c3123
cmp dword [rsp + 0x30], 0
je 0x1400c30fe
lea rcx, [rsp + 0x20]
call fcn.140003250
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.140003250
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400c30f0
lea r8, [0x1402f37e0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140011200
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140003250
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x28]
call fcn.140003250
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x70]
call fcn.1400031c0
lea rcx, [rsp + 0x20]
call fcn.140003250
mov qword [rsp + 0x80], rax
lea r8, [0x1402f37f8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.140011200
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140003250
mov qword [rsp + 0x88], rax
mov r8d, 5
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x90]
call fcn.1400031c0
lea rcx, [0x1402f3810]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
nop
lea rcx, [rsp + 0x20]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x28]
call fcn.1400031c0
nop
mov rcx, qword [rsp + 0xc0]
call fcn.1400031c0
jmp 0x1400c319e
cmp dword [rsp + 0x30], 0
je 0x1400c3136
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rax
jae 0x1400c317b
cmp dword [rsp + 0x34], 0
je 0x1400c317b
lea rcx, [rsp + 0x28]
call fcn.140003250
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x20]
call fcn.140003250
mov qword [rsp + 0xa0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x28]
call fcn.1400031c0
nop
mov rcx, qword [rsp + 0xc0]
call fcn.1400031c0
add rsp, 0xb8
ret
Function at 0x1400c3a00
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400c3b26
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.140270fd8
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400c3a58
xor eax, eax
jmp 0x1400c3b2b
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400c3a85
mov rcx, qword [rsp + 0x30]
call fcn.14026f9b4
xor eax, eax
jmp 0x1400c3b2b
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [0x1402f3664]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400c3ab2
mov rcx, qword [rsp + 0x30]
call fcn.14026f9b4
xor eax, eax
jmp 0x1400c3b2b
cmp qword [rsp + 0x38], 0
jne 0x1400c3ac8
mov rcx, qword [rsp + 0x30]
call fcn.14026f9b4
xor eax, eax
jmp 0x1400c3b2b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
shl rax, 0x30
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 8]
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x10
or rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
call fcn.14026f9b4
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1400c3b40
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x20]
call fcn.140004410
nop
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400c3bb1
mov rax, qword [rsp + 0x270]
mov r9, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, [0x1402f37a8]
lea rcx, [rsp + 0x20]
call fcn.140004850
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x278]
call fcn.140007070
lea rcx, [rsp + 0x20]
call fcn.140003250
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400c3bf2
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.1400031c0
mov eax, dword [rsp + 0x28]
jmp 0x1400c3c25
lea rcx, [rsp + 0x20]
call fcn.140003250
mov rcx, rax
call fcn.1400c3a00
mov rcx, qword [rsp + 0x280]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x20]
call fcn.1400031c0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x268
ret
Function at 0x1400c3c50
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
lea rdx, [0x1402f37c8]
lea rcx, [rsp + 0x48]
call fcn.14000aa80
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140003570
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140004170
nop
lea rcx, [rsp + 0x48]
call fcn.1400049b0
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.1400113e0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call fcn.140007070
lea rcx, [rsp + 0x20]
call fcn.140003250
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400c3d1f
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.1400031c0
mov eax, dword [rsp + 0x28]
jmp 0x1400c3d52
lea rcx, [rsp + 0x20]
call fcn.140003250
mov rcx, rax
call fcn.1400c3a00
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x20]
call fcn.1400031c0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x78
ret
Function at 0x1400c9a20
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x4c8
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x50], 0
mov r9d, dword [rsp + 0x4d0]
lea r8, str..PhysicalDrive_d
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.14006fbd0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400c9abd
xor eax, eax
jmp 0x1400c9c18
mov r8d, reloc.WS2_32.dll_inet_ntoa
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140268ee0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x228
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x58]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400c9c09
mov rax, qword [rsp + 0x4f0]
mov ecx, dword [rsp + 0x8c]
mov dword [rax], ecx
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 2
jl 0x1400c9c01
cmp dword [rsp + 0x44], 3
jle 0x1400c9bb3
cmp dword [rsp + 0x44], 7
je 0x1400c9b6f
cmp dword [rsp + 0x44], 0xb
je 0x1400c9bda
jmp 0x1400c9c01
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x4f8]
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x4e0]
mov ecx, dword [rsp + 0x4d0]
call fcn.1400caf40
mov dword [rsp + 0x40], eax
jmp 0x1400c9c09
mov r9, qword [rsp + 0x4e8]
mov r8, qword [rsp + 0x4e0]
mov edx, dword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x48]
call fcn.1400ca100
mov dword [rsp + 0x40], eax
jmp 0x1400c9c09
mov r9, qword [rsp + 0x4e8]
mov r8, qword [rsp + 0x4e0]
mov edx, dword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x48]
call fcn.1400c9f20
mov dword [rsp + 0x40], eax
jmp 0x1400c9c09
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x4c8
ret
Function at 0x1400cdc50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
sub rsp, 0x20
mov eax, dword [rsp + 0x60]
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r15, rcx
test eax, eax
jle 0x1400cdd1a
mov qword [rsp + 0x40], rsi
mov rsi, rdx
mov qword [rsp + 0x48], r14
sub rsi, r8
lea r14d, [rax - 1]
shr r14d, 4
inc r14d
lea rax, [rdi + 0xf]
cmp rbx, rax
ja 0x1400cdca2
lea rax, [rbx + 0xf]
cmp rax, rdi
jae 0x1400cdcb4
lea rax, [rbp + 0xf]
cmp rbx, rax
ja 0x1400cdcd8
lea rax, [rbx + 0xf]
cmp rax, rbp
jb 0x1400cdcd8
mov r8, rbx
mov rax, rdi
sub r8, rdi
mov edx, sendto
movzx ecx, byte [rsi + rax]
xor cl, byte [rax]
mov byte [r8 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400cdcc2
jmp 0x1400cdce9
movdqu xmm1, xmmword [rdi]
movdqu xmm0, xmmword [rbp]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov r8, rbx
mov rdx, rbx
mov rcx, r15
call fcn.1400cdd30
movups xmm0, xmmword [rbx]
add rbx, 0x10
sub rsi, 0x10
add rdi, 0x10
movups xmmword [rbp], xmm0
sub r14, 1
jne 0x1400cdc90
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x1400cecf0
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x200
xor r8d, r8d
lea r9, [rsp + 0x100]
mov dl, 1
mov r10d, 0x100
nop dword [rax]
nop dword [rax + rax]
movzx eax, dl
movzx ecx, dl
sar cl, 7
mov byte [r9], dl
lea r9, [r9 + 1]
and cl, 0x1b
mov byte [rsp + rax], r8b
movzx eax, dl
add al, al
inc r8d
xor cl, al
xor dl, cl
cmp r8d, r10d
jl 0x1400ced30
mov dl, 1
lea r8, [0x1403d2fb0]
mov r9d, 0xa
nop word [rax + rax]
movzx eax, dl
lea r8, [r8 + 4]
shl eax, 0x18
movzx ecx, dl
mov dword [r8 - 4], eax
movzx eax, dl
sar cl, 7
add al, al
and cl, 0x1b
movzx edx, cl
xor dl, al
sub r9, 1
jne 0x1400ced70
mov byte [0x1403d0db0], 0x63
lea r8d, [r9 + 1]
mov byte [0x1403d1f13], r9b
lea r12, [0x140000000]
movzx eax, byte [rsp + r9 + 1]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
lea r9, [r9 + 1]
movzx edx, byte [rcx]
movzx ecx, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
movzx eax, cl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [r9 + r12 + 0x3d0db0], al
movzx eax, al
mov byte [rax + r12 + 0x3d1eb0], r8b
inc r8d
cmp r8d, r10d
jl 0x1400cedb0
mov rsi, qword [rsp + 0xe]
xor edi, edi
mov rbp, qword [rsp + 0xd]
mov r14, qword [rsp + 0xb]
mov r15, qword [rsp + 9]
movzx r8d, byte [rdi + r12 + 0x3d0db0]
movzx ecx, r8b
movzx eax, r8b
sar cl, 7
add al, al
and cl, 0x1b
xor cl, al
mov eax, r8d
movzx eax, byte [rdi + r12 + 0x3d1eb0]
movzx edx, cl
mov ecx, edx
shl ecx, 8
xor ecx, r8d
shl ecx, 8
xor ecx, r8d
shl ecx, 8
xor ecx, edx
xor ecx, r8d
mov dword [r12 + rdi*4 + 0x3d0eb0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x3d12b0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x3d16b0], ecx
ror ecx, 8
mov dword [r12 + rdi*4 + 0x3d1ab0], ecx
test al, al
je 0x1400cef1e
movzx eax, al
movzx ecx, r14b
movzx r8d, byte [rsp + rax]
mov eax, 0x80808081
add ecx, r8d
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, bpl
add ecx, r8d
movzx r9d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, r15b
add ecx, r8d
movzx r11d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, sil
add ecx, r8d
movzx ebx, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rsp + rax + 0x100]
jmp 0x1400cef28
xor r9d, r9d
xor r11d, r11d
xor ebx, ebx
xor eax, eax
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, r11d
shl eax, 8
xor eax, r9d
mov dword [r12 + rdi*4 + 0x3d1fb0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x3d23b0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x3d27b0], eax
ror eax, 8
mov dword [r12 + rdi*4 + 0x3d2bb0], eax
inc rdi
sub r10, 1
jne 0x1400cee11
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret