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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp dword [0x14042b2dc], 0
mov rbx, rcx
lea rsi, [0x14042b380]
jne 0x1401d063b
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d063b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProgramFilesDir
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x58], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d0630
mov eax, dword [rsp + 0x58]
shr eax, 1
dec eax
mov dword [0x14042b2dc], eax
cdqe
cmp word [rsi + rax*2], 0x5c
je 0x1401d0630
lea r8, [0x140345f98]
mov edx, 0x104
mov rcx, rsi
call fcn.1402b9308
inc dword [0x14042b2dc]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14042b2d4], 0
lea rdi, [0x14042b590]
jne 0x1401d06eb
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d06eb
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProgramFilesDir
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x58], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d06e0
mov eax, dword [rsp + 0x58]
shr eax, 1
dec eax
mov dword [0x14042b2d4], eax
cdqe
cmp word [rdi + rax*2], 0x5c
je 0x1401d06e0
lea r8, [0x140345f98]
mov edx, 0x104
mov rcx, rdi
call fcn.1402b9308
inc dword [0x14042b2d4]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rax, dword [0x14042b2dc]
test eax, eax
jle 0x1401d0712
mov rdx, qword [rbx]
mov r8, rax
mov rcx, rsi
call fcn.1402b9158
test eax, eax
jne 0x1401d0712
mov al, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
movsxd rax, dword [0x14042b2d4]
test eax, eax
jle 0x1401d072f
mov rdx, qword [rbx]
mov r8, rax
mov rcx, rdi
call fcn.1402b9158
test eax, eax
je 0x1401d0708
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401e0230
Capabilities:
Get common file path
Query environment variable

Disassembly:
push rdi
sub rsp, 0xa60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa78], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov rbx, rcx
mov r8d, 1
lea rdx, [0x14034f2fc]
call fcn.1401ff2c0
movzx eax, al
mov r8d, 1
mov rcx, rbx
test eax, eax
jle 0x1401e02aa
lea rdx, [0x14034f2fc]
call fcn.1401fd400
test eax, eax
jle 0x1401e02ca
mov r8d, dword [rbx + 0xc]
sub r8d, eax
mov edx, eax
mov rcx, rbx
call fcn.1401fdf50
mov r8d, 1
jmp 0x1401e02c0
lea rdx, [0x140353dd0]
call fcn.1401ff2c0
test al, al
je 0x1401e02ca
mov r8d, 4
xor edx, edx
mov rcx, rbx
call fcn.1401fdf50
cmp dword [rbx + 0xc], 0
je 0x1401e039d
xor r8d, r8d
lea rdx, str.system32_
mov rcx, rbx
call fcn.1401ff2c0
test al, al
je 0x1401e031f
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1401e039d
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rbx
call fcn.1401fdf50
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.1401fda10
jmp 0x1401e039d
xor r8d, r8d
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.1401ff2c0
test al, al
je 0x1401e0366
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401e039d
xor edx, edx
lea r8d, [rdx + 0xb]
mov rcx, rbx
call fcn.1401fdf50
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.1401fda10
jmp 0x1401e039d
xor edx, edx
mov rcx, rbx
call fcn.1401fb010
cmp ax, 0x25
jne 0x1401e039d
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x250]
mov rcx, rbx
call fcn.1401fafa0
mov rcx, rbx
cmp dword [rbx + 0xc], 3
jge 0x1401e03b2
mov rdx, qword [0x140416ee8]
jmp 0x1401e0437
mov r9d, 2
lea r8d, [r9 - 1]
lea rdx, [rsp + 0x20]
call fcn.1401fed70
nop
mov r8d, 1
lea rdx, [0x140360b40]
mov rcx, rax
call fcn.1401fce20
test al, al
sete dil
cmp dword [rsp + 0x28], 0
jle 0x1401e03f3
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
mov rcx, rbx
test dil, dil
jne 0x1401e03a6
mov r8d, 1
lea rdx, [0x14035ec70]
call fcn.1401fc8b0
test al, al
je 0x1401e043c
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1401e043c
lea rdx, [rsp + 0x250]
mov rcx, rbx
call fcn.1401fafa0
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0xa78]
add rsp, 0xa60
pop rdi
ret
Function at 0x1401e2f00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xac0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xae0], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0xab0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x38], ebp
lea rax, [0x140346ce0]
mov qword [rdx], rax
mov qword [rdx + 8], rbp
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1403009f0]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x140300a40]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov word [rsp + 0x2b0], bp
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x2b2]
call fcn.1402bfa30
test ebx, ebx
js 0x1401e3062
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140300a60]
call qword [rax]
test eax, eax
js 0x1401e3057
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x28]
test eax, eax
js 0x1401e304c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rsp + 0x2b0]
call qword [rax + 0x18]
test eax, eax
js 0x1401e304c
test byte [rsp + 0x60], 0x10
jne 0x1401e304c
lea rdx, [rsp + 0x2b0]
mov rcx, rdi
call fcn.1401fafa0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x400
lea rdx, [rsp + 0x2b0]
call qword [rax + 0x50]
lea rdx, [0x14034cfc8]
mov rcx, rdi
call fcn.1401fb190
lea rdx, [rsp + 0x2b0]
mov rcx, rdi
call fcn.1401fb190
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rax, rdi
mov rcx, qword [rsp + 0xab0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0xae0]
add rsp, 0xac0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401edb50
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0xa60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xa70], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov rdi, rdx
mov r8d, 1
lea rdx, [0x140353dd0]
mov rcx, rdi
call fcn.1401ff2c0
test al, al
je 0x1401edbed
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1401feab0
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rdi]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401fde50
nop
cmp dword [rsp + 0x28], 0
jle 0x1401edbed
mov rcx, qword [rsp + 0x20]
call fcn.1402b7350
mov r8d, 1
lea rdx, [0x14035ec70]
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401edc75
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1401edc75
lea rax, [rsp + 0x250]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401edc30
test ebx, ebx
jle 0x1401edc65
mov edx, ebx
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x250]
mov rcx, qword [rdi]
call fcn.1402ba94c
jmp 0x1401edc6b
cmp dword [rdi + 0xc], 0
jle 0x1401edc75
mov edx, ebx
mov rcx, rdi
call fcn.1401fde50
mov eax, dword [rdi + 0xc]
cmp eax, 2
jge 0x1401edc91
mov rdx, qword [0x140416ee8]
mov rcx, rdi
call fcn.1401fafa0
jmp 0x1401edd4d
cmp eax, 1
jg 0x1401edcfe
lea rcx, [rsp + 0x20]
call fcn.1401fa810
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x20], rax
mov edx, 0x2a
lea rcx, [rsp + 0x28]
call fcn.1401fcb40
mov eax, dword [rsp + 0x30]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rsp + 0x28]
call fcn.1402ba94c
mov edx, 0x2a
lea rcx, [rsp + 0x28]
call fcn.1401fde50
nop
lea rdx, [0x14040da50]
lea rcx, [rsp + 0x20]
call fcn.1402bece8
int3
mov rax, qword [rdi]
cmp word [rax + 2], 0x3a
je 0x1401edd4d
xor r8d, r8d
lea rdx, str.SystemRoot_
mov rcx, rdi
call fcn.1401ff2c0
test al, al
je 0x1401edd4d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401edd4d
xor edx, edx
lea r8d, [rdx + 0xb]
mov rcx, rdi
call fcn.1401fdf50
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1401fda10
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0xa70]
add rsp, 0xa60
pop rdi
ret
Function at 0x1401edd70
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rbx, rcx
lea rcx, [0x14034dd08]
call fcn.1400fe3d0
call fcn.1400fe750
cmp qword [rbx + 0x18], 0
mov qword [rbx + 0x10], rax
jne 0x1401eddd9
mov qword [rsp + 0x40], rdi
xor edi, edi
lea rcx, str..hmpkick
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
cmove rax, rdi
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.1401ee070
mov rcx, rbx
call fcn.1401eeb40
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401eddfd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x48
ret
Function at 0x1401eec10
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rdx
mov rdi, rcx
call fcn.1400ce2d0
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, rbx
test al, al
je 0x1401eec61
mov dword [rsp + 0x20], 3
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
jmp 0x1401eec67
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1401eec84
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.EnumProcessModules_error__d_r_n
mov edx, eax
call fcn.1402b7a88
jmp 0x1401eed42
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov r9d, 0x18
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1401eecba
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetModuleInformation_error__d_r_n
mov edx, eax
call fcn.1402b7a88
jmp 0x1401eed42
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x270]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x1401eecf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetModuleFileNameEx_error__d_r_n
mov edx, eax
call fcn.1402b7a88
jmp 0x1401eed42
xor eax, eax
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], ax
call fcn.1402bfa30
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetMappedFileNameW]
test eax, eax
jne 0x1401eed42
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x270]
lea rcx, str.Hollow_Process____p_:__ls_r_n
call fcn.1402b7a88
mov byte [rdi], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop rdi
ret
Function at 0x1401ef540
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
mov esi, r8d
mov rdi, rcx
lea r8, [0x140345f98]
mov edx, 0x104
mov rcx, rbx
call fcn.1402b9308
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1401ff2c0
test al, al
je 0x1401ef5ba
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jle 0x1401ef5ba
mov r8d, esi
xor edx, edx
mov rcx, rdi
call fcn.1401fdf50
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1401fda10
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401f11e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1402c8f60
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x10c8], rbx
mov qword [rsp + 0x10d0], rsi
mov qword [rsp + 0x10d8], rdi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, rcx
lea r8, [rsp + 0x68]
lea rdx, str.SOFTWAREClassesInstallerProducts
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f1415
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rsp + 0x60], r14d
jbe 0x1401f140a
lea r15, [0x140346ce0]
nop dword [rax]
mov r9d, 0x800
lea r8, [rbp + 0x790]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc edi
test eax, eax
jne 0x1401f13f9
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x790]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f1400
mov dword [rsp + 0x64], 0x800
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14034e1e0]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x64], 0x800
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductIcon
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401f13ed
lea edx, [rax + 0x5c]
lea rcx, [rbp - 0x70]
call fcn.1402ba31c
test rax, rax
je 0x1401f13ed
mov word [rax + 2], r14w
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f1380
mov qword [rsp + 0x78], r14
test ebx, ebx
jne 0x1401f139a
mov qword [rsp + 0x70], r15
jmp 0x1401f13c0
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f4e80
nop
cmp dword [rsp + 0x78], 0
jle 0x1401f13ed
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401f1400
cmp eax, 0x103
je 0x1401f140a
cmp edi, dword [rsp + 0x60]
jb 0x1401f12b0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401f2c40
Capabilities:
Find taskbar

Disassembly:
push r15
sub rsp, 0xa0
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rcx
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1401f2e91
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f2e91
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f2e91
lea r9, str.Notification_Area
lea r8, str.ToolbarWindow32
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x90], rdi
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rdi, rax
test rax, rax
jne 0x1401f2cf8
lea r8, str.ToolbarWindow32
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rdi, rax
test rax, rax
je 0x1401f2e89
lea rdx, [rsp + 0x34]
mov rcx, rdi
mov qword [rsp + 0xc0], rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x1401f2e81
xor edx, edx
mov r9d, 0x1000
mov rcx, rax
lea r8d, [rdx + 0x20]
mov qword [rsp + 0x80], r14
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1401f2e70
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1401f2e5b
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x88], r12
xor r12d, r12d
mov esi, eax
mov ebx, r12d
nop dword [rax]
mov r9, r14
mov r8, rbx
mov edx, 0x417
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
jne 0x1401f2e37
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0x20
mov rdx, r14
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov r9d, 0x10
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x30]
mov rcx, qword [r15 + 8]
call fcn.1400fc4a0
test rax, rax
je 0x1401f2e37
mov rcx, rax
call fcn.1401f20f0
inc rbx
dec rsi
jne 0x1401f2da0
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xb8]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0xa0
pop r15
ret
Function at 0x1401f3410
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov rdi, r9
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
mov eax, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x40], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x38], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1401f345e
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rdi]
test eax, eax
je 0x1401f3451
add dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x1401f3d00
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
movabs rax, 0x5c003a003f
mov qword [rsp + 0x68], rax
cmp dword [rcx + 0xc], 0
jg 0x1401f3db2
lea rcx, [rsp + 0x40]
call fcn.1401fa810
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
lea rdx, [0x14040da50]
lea rcx, [rsp + 0x40]
call fcn.1402bece8
int3
mov rax, qword [rcx]
movzx ecx, word [rax]
mov word [rsp + 0x68], cx
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1401f3ea3
lea rbp, vtable.HitmanPro35::FileSystemBase.0
cmp dword [rbx + 0x14], 1
jne 0x1401f3e1e
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
je 0x1401f3e84
mov qword [rax], rbp
jmp 0x1401f3e7e
xor ecx, ecx
lea rdx, [rsp + 0x70]
lea r8, [0x1403541d0]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1401f3e8b
cmp rcx, 5
jne 0x1401f3e30
movzx edi, word [rsp + 0x68]
xor r8d, r8d
movzx ecx, di
call fcn.140184e30
mov rsi, rax
test rax, rax
je 0x1401f3e8b
mov ecx, 0x20
call fcn.1402b6dbc
test rax, rax
je 0x1401f3e84
lea rcx, vtable.HitmanPro35::FileSystemNtfs.0
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], di
mov qword [rax + 8], rbx
jmp 0x1401f3e86
xor eax, eax
test rax, rax
jne 0x1401f3ea5
mov ecx, 0x10
call fcn.1402b6dbc
test rax, rax
je 0x1401f3ea3
mov qword [rax], rbp
mov qword [rax + 8], rbx
jmp 0x1401f3ea5
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401f5370
Capabilities:
Get disk size

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rbx, rcx
mov rax, qword [rcx + 0x10]
mov r8d, dword [rax + 0x654]
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x48]
call fcn.1401fcfe0
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 3]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401f53e4
or rbx, rax
jmp 0x1401f544e
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1401f5427
or rbx, 0xffffffffffffffff
jmp 0x1401f5444
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
movsxd rcx, eax
mov rax, qword [rsp + 0x78]
cqo
idiv rcx
lea rbx, [rax - 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401f545f
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret