joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007db0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007deb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e10
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007e28
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007dde
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3e2]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ef4
test al, 0x10
je 0x140007df4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007df4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007ea0
jmp 0x140007df4

Function at 0x14000e570
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015670
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e610
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e5ac
jmp 0x14000e5c0
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e5c0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5a0
jmp 0x14000e5f7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5d5
cmp word [rsi + 2], 0x3a
je 0x14000e5f7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e660
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e678
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e69a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e591
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e5e4
xor eax, eax
jmp 0x14000e5fc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e5f7
mov rcx, rbx
call fcn.140007cf0
nop
nop word cs:[rax + rax]
nop
Function at 0x140014350
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001b2a0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b2a0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140015022
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140034228]
test eax, eax
je 0x1400150ba
lea rax, [0x140034200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140034230]
mov qword [rbp - 8], rax
jmp 0x14001509e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015092
cmp qword [rbp - 0x10], 0
je 0x140015092
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140015058
lea rax, [0x140034200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400150bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400151c0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400151e8
mov eax, 0
jmp 0x140015236
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140015211
mov eax, 0
jmp 0x140015236
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140015231
mov eax, 0
jmp 0x140015236
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140004510
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 1
mov ecx, 0xff
cpuid
shr edx, 0x1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], ebx
test dl, 1
jne 0x14000455a
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140083c60
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x50]
setg al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140083c60
add rsp, 0x70
pop rbx
ret

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

Disassembly:
sub rsp, 0x168
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r9, rcx
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], 0x104
mov r8d, 0x104
lea rdx, [rsp + 0x40]
call fcn.14008e768
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140006f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140006f78
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140083c60
add rsp, 0x168
ret
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140083c60
add rsp, 0x168
ret

Function at 0x140006ff0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x1250
call fcn.140084960
sub rsp, rax
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r14, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400070ac
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x1400070ac
lea rsi, [rsp + 0x30]
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400070a2
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x140007099
mov rdx, r14
lea rcx, [rsp + 0x1030]
call fcn.14008b2b4
test eax, eax
je 0x1400070d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, ebp
jb 0x140007050
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.140083c60
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400070ae
Function at 0x14000dc80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov dword [rsp + 0x3c], 1
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
call fcn.1400b3310
mov dword [rsp + 0x38], 0x400
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000dd9e
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000dd93
lea rax, [rsp + 0x40]
mov r8, qword [rsp + 0x490]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000dd53
inc rax
test ecx, ecx
jne 0x14000dd40
test edx, edx
jne 0x14000dd93
mov rcx, qword [0x14010bb40]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], dl
jne 0x14000dd7f
cmp qword [rax + 0x20], rdi
jae 0x14000dd73
mov rax, qword [rax + 0x10]
jmp 0x14000dd79
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000dd67
cmp byte [rcx + 0x19], 0
jne 0x14000ddc2
cmp rdi, qword [rcx + 0x20]
jb 0x14000ddc2
inc dword [rcx + 0x28]
mov rax, qword [r14]
inc byte [rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140083c60
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop r14
pop rdi
pop rsi
ret
lea rcx, str.invalid_map_K__T__key
call fcn.14007fb44
int3
Function at 0x14001d9f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001da2d
xor al, al
jmp 0x14001db56
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x2a8], rbp
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001db3b
xor ebp, ebp
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bp
jne 0x14001da80
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14003ca00
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x14001daa6
mov rax, qword [rdi]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rdi + 0x10]
jne 0x14001dae8
test rdx, rdx
je 0x14001dae4
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14001dae8
add rax, 2
sub rdx, 1
jne 0x14001dad0
mov bl, 1
jmp 0x14001daea
xor bl, bl
cmp r10, 7
jbe 0x14001db21
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14001db19
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001db81
mov rcx, r9
call fcn.140083cac
mov rcx, rsi
test bl, bl
jne 0x14001db77
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14001da60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140083c60
mov rsi, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001db46
call fcn.14008b0dc
int3
Function at 0x14001db90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001dd24
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x2a8], rbp
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001dd0b
xor ebp, ebp
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bp
jne 0x14001dc20
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14003ca00
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x14001dc46
mov rax, qword [rdi]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rdi + 0x10]
jne 0x14001dc88
test rdx, rdx
je 0x14001dc84
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14001dc88
add rax, 2
sub rdx, 1
jne 0x14001dc70
mov bl, 1
jmp 0x14001dc8a
xor bl, bl
cmp r10, 7
jbe 0x14001dcc5
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14001dcbd
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dd45
mov rcx, r9
call fcn.140083cac
test bl, bl
je 0x14001dcf5
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001dcf5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14001dc00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140083c60
mov rsi, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
call fcn.14008b0dc
int3

Function at 0x14001dd50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, 4
xor r14d, r14d
mov edi, eax
nop dword [rax]
bt edi, ebx
jae 0x14001ddbb
lea ecx, [rbx + 0x41]
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], r14w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x14001ddec
inc ebx
cmp ebx, 0x1a
jl 0x14001dd90
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140083c60
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov al, 1
jmp 0x14001ddc4
Function at 0x14001ddf0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor esi, esi
mov edi, eax
mov ebx, esi
bt edi, ebx
jae 0x14001de57
lea ecx, [rbx + 0x41]
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], si
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14001de57
cmp word [rsp + 0x20], 0x46
je 0x14001de88
inc ebx
cmp ebx, 0x1a
jl 0x14001de25
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140083c60
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov al, 1
jmp 0x14001de60
Function at 0x14001ecc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
movabs rdi, 0xab245766772661f2
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x79], rax
movabs rsi, 0xef80668b8a425da3
mov qword [rsp + 0x20], rsi
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x71], rax
movabs r14, 0xc7543a07047a5bb1
mov qword [rsp + 0x20], r14
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x17], rax
movabs r15, 0xef8066eef22773c6
mov qword [rsp + 0x20], r15
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rbp - 0x79]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x79], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001ed86
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call fcn.14003dbf0
nop
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x20], rsi
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x20], r14
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x27], rax
mov qword [rsp + 0x20], r15
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x69]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x69], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x69]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001edf7
mov r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.14003dbf0
nop
lea rax, [rbp - 0x49]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.140025060
nop
lea r9, [fcn.14003dd30]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x49]
call fcn.140083cf0
mov rbx, qword [rbp - 9]
mov rdi, qword [rbp - 1]
cmp rbx, rdi
je 0x14001ee76
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001ee62
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001eead
add rbx, 0x20
cmp rbx, rdi
jne 0x14001ee55
xor bl, bl
lea rcx, [rbp - 9]
call fcn.14003d920
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140083c60
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov bl, 1
jmp 0x14001ee78
Function at 0x14001f9e0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ebx, ebp
nop
bt esi, ebx
jae 0x14001fb42
lea eax, [rbx + 0x46]
mov word [rsp + 0x50], ax
mov dword [rsp + 0x52], 0x5c003a
mov word [rsp + 0x56], bp
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14001fb42
mov r8d, 0x104
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14001fb42
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001fab0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14003ca00
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14001faf7
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], bp
add qword [rdi + 8], 0x20
jmp 0x14001fb09
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14002b830
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14001fb42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fb3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fb7d
call fcn.140083cac
inc ebx
cmp ebx, 0x1a
jl 0x14001fa40
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140083c60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14008b0dc
int3
Function at 0x1400246c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x1400246d5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140024719
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x140024700
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140027b30
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140024739
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14007fb44
int3

Function at 0x140027410
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov ecx, 0xe0
call fcn.140083cb4
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], 0xf
mov byte [rax + 0x20], sil
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rsi
mov qword [rax + 0x58], 0xf
mov byte [rax + 0x40], sil
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rsi
mov qword [rax + 0x78], 0xf
mov byte [rax + 0x60], sil
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rsi
mov qword [rax + 0x98], 0xf
mov byte [rax + 0x80], sil
movups xmmword [rax + 0xa0], xmm0
mov qword [rax + 0xb0], rsi
mov qword [rax + 0xb8], 0xf
mov byte [rax + 0xa0], sil
movups xmmword [rax + 0xc0], xmm0
mov qword [rax + 0xd0], rsi
mov qword [rax + 0xd8], 0xf
mov byte [rax + 0xc0], sil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400278c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x1400278d7
mov r10, qword [rdx]
xor ebx, ebx
movabs r9, 0xcbf29ce484222325
mov r8d, ebx
test r11, r11
je 0x140027919
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140027900
mov rdi, qword [rsp + 0x40]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140027b30
cmp qword [rax + 8], rbx
setne bl
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400291a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400291d4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400291c0
ret

Function at 0x140029590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400295d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400295c0
ret