joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e4670
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 [0x14041da10]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov rbx, rcx
mov r8d, 1
lea rdx, [0x140355194]
call fcn.140205020
movzx eax, al
mov r8d, 1
mov rcx, rbx
test eax, eax
jle 0x1401e46ea
lea rdx, [0x140355194]
call fcn.140203160
test eax, eax
jle 0x1401e470a
mov r8d, dword [rbx + 0xc]
sub r8d, eax
mov edx, eax
mov rcx, rbx
call fcn.140203cb0
mov r8d, 1
jmp 0x1401e4700
lea rdx, [0x14035a510]
call fcn.140205020
test al, al
je 0x1401e470a
mov r8d, 4
xor edx, edx
mov rcx, rbx
call fcn.140203cb0
cmp dword [rbx + 0xc], 0
je 0x1401e47dd
xor r8d, r8d
lea rdx, str.system32_
mov rcx, rbx
call fcn.140205020
test al, al
je 0x1401e475f
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1401e47dd
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rbx
call fcn.140203cb0
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140203770
jmp 0x1401e47dd
xor r8d, r8d
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.140205020
test al, al
je 0x1401e47a6
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401e47dd
xor edx, edx
lea r8d, [rdx + 0xb]
mov rcx, rbx
call fcn.140203cb0
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140203770
jmp 0x1401e47dd
xor edx, edx
mov rcx, rbx
call fcn.140200d70
cmp ax, 0x25
jne 0x1401e47dd
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.140200d00
mov rcx, rbx
cmp dword [rbx + 0xc], 3
jge 0x1401e47f2
mov rdx, qword [0x14041eee8]
jmp 0x1401e4877
mov r9d, 2
lea r8d, [r9 - 1]
lea rdx, [rsp + 0x20]
call fcn.140204ad0
nop
mov r8d, 1
lea rdx, [0x1403674e8]
mov rcx, rax
call fcn.140202b80
test al, al
sete dil
cmp dword [rsp + 0x28], 0
jle 0x1401e4833
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov rcx, rbx
test dil, dil
jne 0x1401e47e6
mov r8d, 1
lea rdx, [0x140365654]
call fcn.140202610
test al, al
je 0x1401e487c
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1401e487c
lea rdx, [rsp + 0x250]
mov rcx, rbx
call fcn.140200d00
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0xa78]
add rsp, 0xa60
pop rdi
ret
Function at 0x1401e7340
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 [0x14041da10]
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, [0x14034d1a0]
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, [0x140306a10]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x140306a60]
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.1402c5760
test ebx, ebx
js 0x1401e74a2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140306a80]
call qword [rax]
test eax, eax
js 0x1401e7497
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x28]
test eax, eax
js 0x1401e748c
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 0x1401e748c
test byte [rsp + 0x60], 0x10
jne 0x1401e748c
lea rdx, [rsp + 0x2b0]
mov rcx, rdi
call fcn.140200d00
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x400
lea rdx, [rsp + 0x2b0]
call qword [rax + 0x50]
lea rdx, [0x140352e88]
mov rcx, rdi
call fcn.140200ef0
lea rdx, [rsp + 0x2b0]
mov rcx, rdi
call fcn.140200ef0
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.1402bcad0
mov rbx, qword [rsp + 0xae0]
add rsp, 0xac0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401f3890
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0xa60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xa70], rbx
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov rdi, rdx
mov r8d, 1
lea rdx, [0x14035a510]
mov rcx, rdi
call fcn.140205020
test al, al
je 0x1401f392d
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140204810
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rsp + 0x28], 0
jle 0x1401f392d
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov r8d, 1
lea rdx, [0x140365654]
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401f39b5
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1401f39b5
lea rax, [rsp + 0x250]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f3970
test ebx, ebx
jle 0x1401f39a5
mov edx, ebx
mov rcx, rdi
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x250]
mov rcx, qword [rdi]
call fcn.1402c06dc
jmp 0x1401f39ab
cmp dword [rdi + 0xc], 0
jle 0x1401f39b5
mov edx, ebx
mov rcx, rdi
call fcn.140203bb0
mov eax, dword [rdi + 0xc]
cmp eax, 2
jge 0x1401f39d1
mov rdx, qword [0x14041eee8]
mov rcx, rdi
call fcn.140200d00
jmp 0x1401f3a8d
cmp eax, 1
jg 0x1401f3a3e
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x20], rax
mov edx, 0x2a
lea rcx, [rsp + 0x28]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x2a
lea rcx, [rsp + 0x28]
call fcn.140203bb0
nop
lea rdx, [0x140415de0]
lea rcx, [rsp + 0x20]
call fcn.1402c4a18
int3
mov rax, qword [rdi]
cmp word [rax + 2], 0x3a
je 0x1401f3a8d
xor r8d, r8d
lea rdx, str.SystemRoot_
mov rcx, rdi
call fcn.140205020
test al, al
je 0x1401f3a8d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401f3a8d
xor edx, edx
lea r8d, [rdx + 0xb]
mov rcx, rdi
call fcn.140203cb0
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140203770
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0xa70]
add rsp, 0xa60
pop rdi
ret
Function at 0x1401f3ab0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rbx, rcx
lea rcx, [0x140353ae8]
call fcn.140100af0
call fcn.140100e80
cmp qword [rbx + 0x18], 0
mov qword [rbx + 0x10], rax
jne 0x1401f3b19
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.1401f3db0
mov rcx, rbx
call fcn.1401f4880
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401f3b3d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x48
ret
Function at 0x1401f4950
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rdx
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 6]
xor r8d, r8d
call fcn.1400ce2e0
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, rbx
test al, al
je 0x1401f49a9
mov dword [rsp + 0x20], 3
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
jmp 0x1401f49af
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1401f49cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.EnumProcessModules_error__d_r_n
mov edx, eax
call fcn.1402bd818
jmp 0x1401f4a8a
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 0x1401f4a02
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetModuleInformation_error__d_r_n
mov edx, eax
call fcn.1402bd818
jmp 0x1401f4a8a
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 0x1401f4a38
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetModuleFileNameEx_error__d_r_n
mov edx, eax
call fcn.1402bd818
jmp 0x1401f4a8a
xor eax, eax
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], ax
call fcn.1402c5760
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 0x1401f4a8a
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x270]
lea rcx, str.Hollow_Process____p_:__ls_r_n
call fcn.1402bd818
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.1402bcad0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop rdi
ret
Function at 0x1401f5290
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rdx
mov esi, r8d
mov rdi, rcx
lea r8, [0x14034c088]
mov edx, 0x104
mov rcx, rbx
call fcn.1402bf098
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.140205020
test al, al
je 0x1401f530a
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jle 0x1401f530a
mov r8d, esi
xor edx, edx
mov rcx, rdi
call fcn.140203cb0
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.140203770
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401f6f30
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.1402cec90
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 [0x14041da10]
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 0x1401f7165
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 0x1401f715a
lea r15, [0x14034d1a0]
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 0x1401f7149
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x790]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f7150
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, [0x140353fe0]
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 0x1401f713d
lea edx, [rax + 0x5c]
lea rcx, [rbp - 0x70]
call fcn.1402c00ac
test rax, rax
je 0x1401f713d
mov word [rax + 2], r14w
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f70d0
mov qword [rsp + 0x78], r14
test ebx, ebx
jne 0x1401f70ea
mov qword [rsp + 0x70], r15
jmp 0x1401f7110
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f7410
nop
cmp dword [rsp + 0x78], 0
jle 0x1401f713d
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401f7150
cmp eax, 0x103
je 0x1401f715a
cmp edi, dword [rsp + 0x60]
jb 0x1401f7000
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1402bcad0
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 0x1401f8990
Capabilities:
Find taskbar

Disassembly:
push r15
sub rsp, 0xa0
mov rax, qword [0x14041da10]
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 0x1401f8be1
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f8be1
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1401f8be1
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 0x1401f8a48
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 0x1401f8bd9
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 0x1401f8bd1
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 0x1401f8bc0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1401f8bab
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 0x1401f8b87
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.1400fea30
test rax, rax
je 0x1401f8b87
mov rcx, rax
call fcn.1401f7e40
inc rbx
dec rsi
jne 0x1401f8af0
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.1402bcad0
add rsp, 0xa0
pop r15
ret
Function at 0x1401f9160
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 0x1401f91ae
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rdi]
test eax, eax
je 0x1401f91a1
add dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x1401f9a50
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 [0x14041da10]
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 0x1401f9b02
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rsp + 0x40], rax
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x2a
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
lea rdx, [0x140415de0]
lea rcx, [rsp + 0x40]
call fcn.1402c4a18
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 0x1401f9bff
lea rbp, vtable.HitmanPro35::FileSystemBase.0
cmp dword [rbx + 0x14], 1
je 0x1401f9bcc
xor ecx, ecx
lea rdx, [rsp + 0x70]
lea r8, [0x14035a910]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1401f9be7
cmp rcx, 5
jne 0x1401f9b70
movzx edi, word [rsp + 0x68]
xor r8d, r8d
movzx ecx, di
call fcn.140187e60
mov rsi, rax
test rax, rax
je 0x1401f9bc4
mov ecx, 0x20
call fcn.1402bcb4c
test rax, rax
je 0x1401f9bc4
mov qword [rax + 8], rbx
lea rcx, vtable.HitmanPro35::FileSystemNtfs.0
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], di
jmp 0x1401f9bc6
xor eax, eax
cmp dword [rbx + 0x14], 1
jne 0x1401f9be2
mov ecx, 0x10
call fcn.1402bcb4c
test rax, rax
je 0x1401f9be2
mov qword [rax + 8], rbx
mov qword [rax], rbp
test rax, rax
jne 0x1401f9c01
mov ecx, 0x10
call fcn.1402bcb4c
test rax, rax
je 0x1401f9bff
mov qword [rax], rbp
mov qword [rax + 8], rbx
jmp 0x1401f9c01
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402bcad0
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 0x1401fb0d0
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.140202d40
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 0x1401fb144
or rbx, rax
jmp 0x1401fb1ae
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 0x1401fb187
or rbx, 0xffffffffffffffff
jmp 0x1401fb1a4
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 0x1401fb1bf
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1401fb3d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rbx, rcx
xor r14b, r14b
mov eax, dword [0x140431ac0]
lea r15, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401fb426
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], r15
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
xor esi, esi
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, qword [0x140431ad0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401fb5ac
lea ecx, [rsi + 0x10]
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x1401fb474
mov rax, qword [rbp + 0x50]
mov qword [rdi], r15
mov qword [rdi + 8], rax
jmp 0x1401fb477
mov rdi, rsi
test rdi, rdi
je 0x1401fb5ac
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.EnableDHCP
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15d, 1
test ebx, ebx
jne 0x1401fb5a0
lea rax, [0x14034d1a0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
cmp dword [rbp + 0x38], ebx
je 0x1401fb524
mov rsi, qword [0x14041eee8]
test rsi, rsi
je 0x1401fb55e
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401fb4f0
test ebx, ebx
jle 0x1401fb55e
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x20]
call fcn.1402c06dc
mov edx, ebx
jmp 0x1401fb555
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1402028a0
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r9d, 0x1d
lea r8, str.208.67.222.222_208.67.220.220
mov rcx, qword [rbp - 0x20]
call fcn.1402c06dc
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.140203bb0
mov eax, dword [rbp - 0x14]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.NameServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmove r14d, r15d
cmp dword [rbp - 0x18], 0
jle 0x1401fb5a0
mov rcx, qword [rbp - 0x20]
call fcn.1402bd0e0
mov r8, qword [rdi]
mov edx, r15d
mov rcx, rdi
call qword [r8]
movzx eax, r14b
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret