joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a5d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x40
call fcn.18004b4b0
sub rsp, rax
mov rsi, qword [rdx]
lea r14, [rcx + 0x60]
mov rbx, rdx
mov edx, dword [r14]
mov rdi, rcx
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.1800045a0
test rax, rax
je 0x18000a653
mov rax, qword [rax]
test rax, rax
je 0x18000a653
mov rax, qword [rax + 0x10]
cmp byte [rax + 4], 0
je 0x18000a641
cmp byte [rbx + 0x1c], 0
je 0x18000a641
mov edx, 1
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [rdi + 0xe8]
mov rcx, qword [rdi + 0xf8]
lea r8, [rsp + 0x28]
xor r9d, r9d
call fcn.1800045a0
test rax, rax
je 0x18000a675
mov rax, qword [rax]
mov rdi, qword [rax + 0x10]
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x38]
mov rdx, qword [rdi + 8]
call qword [0x1800b2b78]
cmp eax, 0x1f4
je 0x18000a7ee
test eax, eax
je 0x18000a6ad
mov ecx, eax
call fcn.1800041b0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x18
call fcn.18000ce80
test rax, rax
je 0x18000a7fb
mov edx, dword [rbx + 0x18]
mov r9, qword [rsp + 0x38]
movzx r8d, byte [rbx + 0x1c]
mov dword [rax], edx
lea rdx, [rsp + 0x28]
mov rcx, r14
mov byte [rax + 4], r8b
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
call fcn.18000afb0
mov ecx, dword [rdi + 0x60]
test ecx, ecx
jne 0x18000a710
lea edx, [rcx + 1]
lea rcx, [rdi + 0x60]
call fcn.18000ba60
mov ecx, dword [rdi + 0x60]
test ecx, ecx
je 0x18000a7fb
mov r8, qword [rdi + 0x70]
test ecx, ecx
jne 0x18000a723
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
jmp 0x18000a7b2
movzx eax, byte [rsp + 0x21]
movzx ebp, sil
xor edx, edx
xor ebp, 0x811c9dc5
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x22]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x23]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x24]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x25]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x26]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x27]
imul ebp, ebp, 0x1000193
xor ebp, eax
imul ebp, ebp, 0x1000193
mov eax, ebp
div ecx
mov rax, qword [r8 + rdx*8]
lea rbx, [r8 + rdx*8]
test rax, rax
je 0x18000a7b2
cmp qword [rax + 8], rsi
je 0x18000a7b2
mov rbx, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000a7a1
cmp qword [rbx], 0
jne 0x18000a7ee
mov ecx, 0x18
call fcn.18000ce80
test rax, rax
je 0x18000a7d5
mov qword [rax], 0
mov qword [rax + 8], rsi
mov dword [rax + 0x10], ebp
mov qword [rbx], rax
test rax, rax
je 0x18000a7fb
inc qword [rdi + 0x68]
mov rdx, qword [rdi + 0x68]
lea rcx, [rdi + 0x60]
call fcn.18000ba60
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 2
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000da50
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x68
call fcn.18004b4b0
sub rsp, rax
lea rax, [rcx + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov qword [rsp + 0x48], rax
call fcn.18000cdb0
mov r14, qword [rbx + 0x10]
mov eax, dword [rbx]
lea rax, [r14 + rax*8]
mov r12d, edi
mov qword [rsp + 0x50], rax
cmp r14, rax
je 0x18000dab9
cmp qword [r14], rdi
jne 0x18000dab6
add r14, 8
cmp r14, rax
jne 0x18000daa3
jmp 0x18000dc90
mov r12, qword [r14]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0x20]
nop dword [rax + rax]
test r12, r12
je 0x18000dc83
mov rbx, qword [r12 + 8]
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x18000dc50
nop dword [rax + rax]
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
call fcn.18000ae60
test eax, eax
jne 0x18000dc81
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x18000dc3e
mov ecx, dword [rsi + 0x58]
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x28], rbp
test ecx, ecx
jne 0x18000db40
lea edx, [rax + 1]
lea rcx, [rsi + 0x58]
call fcn.18000e200
mov ecx, dword [rsi + 0x58]
test ecx, ecx
je 0x18000dc7a
mov r8, qword [rsi + 0x68]
test ecx, ecx
je 0x18000dbf1
movzx eax, byte [rsp + 0x29]
movzx r15d, bpl
xor edx, edx
xor r15d, 0x811c9dc5
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2a]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2b]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2c]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2d]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2e]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2f]
imul r15d, r15d, 0x1000193
xor r15d, eax
imul r15d, r15d, 0x1000193
mov eax, r15d
div ecx
mov rax, qword [r8 + rdx*8]
lea rdi, [r8 + rdx*8]
test rax, rax
je 0x18000dbf1
nop dword [rax + rax]
cmp qword [rax + 8], rbp
je 0x18000dbf1
mov rdi, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000dbe0
cmp qword [rdi], 0
jne 0x18000dc32
mov ecx, 0x20
call fcn.18000ce80
test rax, rax
je 0x18000dc19
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], r15d
mov qword [rdi], rax
test rax, rax
je 0x18000dc7a
inc qword [rsi + 0x60]
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x58]
call fcn.18000e200
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
xor edi, edi
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x18000daf0
mov rax, qword [rsp + 0x50]
mov r12, qword [r12]
test r12, r12
jne 0x18000dad9
nop dword [rax]
add r14, 8
cmp r14, rax
je 0x18000dad0
mov r12, qword [r14]
test r12, r12
je 0x18000dc60
jmp 0x18000dad0
mov edi, 2
jmp 0x18000dc83
mov edi, eax
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000ce60
mov eax, edi
add rsp, 0x68
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000f950
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x1800a2078]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.18000fa10
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.18000f6f0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18004a860
add rsp, 0xb0
pop rbx
ret
Function at 0x18002b060
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
test ecx, ecx
jle 0x18002b144
mov qword [rsp + 0x40], rbx
movsxd rbx, ecx
cmp ecx, 0x64
jle 0x18002b0d4
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rcx, [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x18007957c]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x68]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x18002b0f7
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x180055f68
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x180055e3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180055e3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180055e3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180055e3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180055e3f
cmp dword [rcx + 0x84], 0xe
jbe 0x180055e3f
cmp dword [rcx + 0xf8], 0
je 0x180055e3f
mov ecx, ebx
call fcn.180055ee0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.180055cd0
cmp dword [rbp + 0x20], 0
je 0x180055e8c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180055e94
int3
xor r8d, r8d
xor edx, edx
jmp 0x180055dd8
Function at 0x140003030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x20], r14d
cmp qword [r8 + 0x18], 7
jbe 0x14000305f
mov r8, qword [r8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140003090
mov dword [rbx], eax
mov byte [rbx + 0x20], r14b
jmp 0x14000313e
mov r8d, dword [rbp + 0x20]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov edx, 0x20
lea rcx, [rbp - 0x28]
call fcn.140007a10
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 7
jbe 0x1400030cd
mov rdi, qword [rdi]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140003156
mov dword [rbx], eax
mov byte [rbx + 0x20], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000313e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003224
call fcn.140024d64
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, dword [rbp + 0x20]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x18]
cmp rcx, r8
ja 0x140003181
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rcx
mov word [rax + rcx*2], r14w
jmp 0x1400031d1
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x10]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400031c5
mov qword [rbp - 0x18], rcx
lea r9, [rbp - 0x28]
cmp rdi, 7
cmova r9, qword [rbp - 0x28]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400031ba
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1400031d1
mov r9, rdx
lea rcx, [rbp - 0x28]
call fcn.140007ca0
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.1400021f0
mov byte [rbx + 0x20], 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000313e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003139
call fcn.1400360b4
int3
Function at 0x140014720
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
mov rbp, qword [rcx]
lea rax, [rsp + 0x60]
xor r14d, r14d
mov rbx, rdx
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x60], r14d
lea r8d, [r14 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140014849
mov rdx, qword [rbx]
mov qword [rsp + 0x68], rsi
mov rsi, qword [rbx + 8]
mov rcx, rsi
mov qword [rsp + 0x70], rdi
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x14001478b
lea rax, [rdx + rdi]
jmp 0x1400147ba
jbe 0x1400147be
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x1400147a6
mov rdx, rdi
mov rcx, rbx
call fcn.1400153d0
jmp 0x1400147be
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rsi
call fcn.140047180
lea rax, [rdi + rsi]
mov qword [rbx + 8], rax
mov r9, qword [rbx]
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov rcx, rbp
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov esi, eax
test eax, eax
je 0x14001483f
mov rbp, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbp
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x14001480a
lea rcx, [rdx + rdi]
mov qword [rbx + 8], rcx
jmp 0x14001483d
jbe 0x14001483d
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x140014825
mov rdx, rdi
mov rcx, rbx
call fcn.1400153d0
jmp 0x14001483d
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rbp
call fcn.140047180
lea rax, [rdi + rbp]
mov qword [rbx + 8], rax
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
Function at 0x140014d90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rdx + 8]
xor ebx, ebx
sub rbp, qword [rdx]
mov r15, rdx
mov r12, qword [r8 + 8]
mov r13, r8
mov qword [rcx], rbx
mov r14, rcx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov rdx, qword [rdx + 8]
sub rdx, qword [r15]
je 0x140014e14
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
ja 0x140014e57
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
call fcn.140009a50
mov rdx, qword [r15]
mov rdi, qword [r15 + 8]
mov rsi, qword [r14]
sub rdi, rdx
mov r8, rdi
mov rcx, rsi
call fcn.140046ae0
lea rax, [rdi + rsi]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov qword [r14 + 8], rax
test rbp, rbp
je 0x140014e41
mov r8, qword [r13]
nop dword [rax]
xor edx, edx
mov rax, rbx
div r12
mov rax, qword [r15]
movzx ecx, byte [rdx + r8]
xor cl, byte [rax + rbx]
mov rax, qword [r14]
mov byte [rbx + rax], cl
inc rbx
cmp rbx, rbp
jb 0x140014e20
mov rbx, qword [rsp + 0x70]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400062f0
int3
Function at 0x140014e60
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov rax, qword [rdx + 8]
mov rdi, rdx
sub rax, qword [rdx]
mov rbx, rcx
cmp rax, 0x10
jne 0x140014f8c
lea r9d, [rax + 8]
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140014faf
mov rax, qword [rdi]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x90], rbp
xor ebp, ebp
mov dword [rsp + 0x48], 0x208
mov dword [rsp + 0x4c], 0x660e
mov dword [rsp + 0x50], 0x10
movups xmm0, xmmword [rax]
mov qword [rsp + 0x70], rsi
lea r8d, [rbp + 0x1c]
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x140014fd2
mov rcx, qword [rsi]
lea r9, [rsp + 0x98]
lea r8, [rbx + 0x10]
mov dword [rsp + 0x98], 4
lea edx, [rbp + 8]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x140014ff5
mov rcx, qword [rsi]
lea r8, [rsp + 0xa0]
shr dword [rbx + 0x10], 3
lea edx, [rbp + 4]
xor r9d, r9d
mov dword [rsp + 0xa0], 2
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x140014f69
mov rbp, qword [rsp + 0x90]
mov rax, rbx
mov rsi, qword [rsp + 0x70]
add rsp, 0x78
pop rdi
pop rbx
ret
lea rdx, str._Error_setting_the_chaining_mode
lea rcx, [rsp + 0x30]
call fcn.140001700
lea rdx, [0x14005fd48]
lea rcx, [rsp + 0x30]
call fcn.140026b48
int3
lea rdx, str.Bad_key_size.
lea rcx, [rsp + 0x30]
call fcn.140001700
lea rdx, [0x14005fd48]
lea rcx, [rsp + 0x30]
call fcn.140026b48
int3
lea rdx, str.Failed_to_acquire_cryptographic_context.
lea rcx, [rsp + 0x30]
call fcn.140001700
lea rdx, [0x14005fd48]
lea rcx, [rsp + 0x30]
call fcn.140026b48
int3
lea rdx, str.Failed_to_import_key.
lea rcx, [rsp + 0x30]
call fcn.140001700
lea rdx, [0x14005fd48]
lea rcx, [rsp + 0x30]
call fcn.140026b48
int3
lea rdx, str.Failed_to_get_block_size.
lea rcx, [rsp + 0x30]
call fcn.140001700
lea rdx, [0x14005fd48]
lea rcx, [rsp + 0x30]
call fcn.140026b48
int3
Function at 0x140015920
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov dword [rsp + 0x78], 0x105
mov ecx, 0x20a
call fcn.14003720c
mov rbx, rax
test rax, rax
je 0x140015999
nop dword [rax]
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov esi, eax
test eax, eax
jne 0x1400159ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140015b04
mov rcx, rbx
call fcn.1400371f8
mov ecx, dword [rsp + 0x78]
add rcx, rcx
call fcn.14003720c
mov rbx, rax
test rax, rax
jne 0x140015950
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r15d, r15d
mov edi, r15d
movabs r14, 0x5c003a0041
mov qword [rsp + 0x80], r14
lea eax, [rdi + 0x41]
mov word [rsp + 0x80], ax
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x140015a1f
mov rdx, rbp
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov esi, eax
test eax, eax
jne 0x140015a2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x80]
mov rdx, rbp
lea rcx, str.____Not_mounted:__s_____s__error:_0x_X_n
call fcn.140001e00
inc edi
cmp edi, 0x1a
jb 0x1400159c2
jmp 0x140015b04
lea r8, [rsp + 0x80]
mov rdx, rbp
lea rcx, str.___Mounted:__s_____s_n
call fcn.140001e00
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140015a62
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.140001fa0
nop
mov rdx, qword [0x140062d20]
cmp rdx, qword [0x140062d28]
je 0x140015ab5
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x20], r15w
add qword [0x140062d20], 0x20
jmp 0x140015acb
lea r8, [rsp + 0x20]
lea rcx, [0x140062d18]
call fcn.14000c1e0
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140015b04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015aff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015b24
call fcn.140024d64
test rbx, rbx
je 0x140015b11
mov rcx, rbx
call fcn.1400371f8
mov eax, esi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400360b4
int3
Function at 0x140017f00
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x40
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
jbe 0x140017f2b
mov rcx, qword [rcx]
lea rsi, [rbx + 0x18]
jmp 0x140017f2f
lea rsi, [rcx + 0x18]
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001801a
cmp qword [0x140062db8], 0xf
lea rdx, [0x140062da0]
mov dword [rsp + 0x60], r15d
lea rdi, [rbx + 0x18]
jbe 0x140017f89
mov rdx, qword [0x140062da0]
mov rdi, rsi
mov r8d, dword [0x140062db0]
lea r9, [rsp + 0x60]
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x60]
mov rsi, qword [0x140062db0]
test eax, eax
je 0x140017fdf
cmp rcx, rsi
jne 0x140017fdf
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x140017fc8
mov rdx, qword [rbx]
lea rdi, [rbx + 0x18]
lea rcx, str.___Requirements__Created:__s_n
call fcn.140001e00
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001803e
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi], 7
mov rdx, rbx
jbe 0x140017ff8
mov rdx, qword [rbx]
lea rdi, [rbx + 0x18]
mov r9, rbp
mov qword [rsp + 0x20], rsi
mov r8d, eax
lea rcx, str.____Requirements__Can_t_write:__s__error:_0x_X___zu__zu_n
call fcn.140001e00
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001803e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rsi], 7
mov rdx, rbx
jbe 0x14001802c
mov rdx, qword [rbx]
mov r8d, eax
lea rcx, str.____Requirements__Can_t_open:__s__error:_0x_X_n
call fcn.140001e00
mov rdi, rsi
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rdi]
cmp rdx, 7
jbe 0x140018087
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140018082
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400180ab
mov rcx, r8
call fcn.140024d64
mov edx, 0x20
mov qword [rbx + 0x10], r15
mov rcx, rbx
mov qword [rdi], 7
mov word [rbx], r15w
add rsp, 0x40
pop r15
pop rdi
pop rbx
jmp fcn.140024d64
call fcn.1400360b4
int3