joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009c3a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x79], rcx
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x79], rsi
xor edi, edi
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x69], rdi
lea rax, vtable.CWString.0
mov qword [rbp - 0x79], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rdi
lea r15, vtable.CVolMem.0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], 0x40
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x29], 0xfe
lea rcx, [rbp - 0x19]
call fcn.14008c840
mov rbx, rax
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx + 0x88]
lea r14, [fcn.140008770]
cmp rax, r14
je 0x14009c457
lea rcx, [rbp - 0x79]
call rax
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x71], rcx
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x61], rax
mov rax, qword [rbp - 0x59]
mov rdx, qword [rax + 0x88]
cmp rdx, r14
je 0x14009c485
lea rcx, [rbp - 0x59]
call rdx
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x59]
call fcn.14000b740
nop
lea rcx, [rbp + 7]
call fcn.14000bbb0
nop
mov qword [rbp - 0x19], rsi
mov r8, qword [rbp - 0x61]
test r8, r8
jne 0x14009c4bb
lea r8, [0x1402ac8c0]
cmp qword [rbp - 0x31], 0
cmovne r8, qword [rbp - 0x41]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [0x1402b2320]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rax, [rbp - 0x59]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x59], r15
mov rdx, qword [rbp - 0x41]
test rdx, rdx
je 0x14009c519
mov rax, qword [rbp - 0x59]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14009c512
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x14009c519
lea rcx, [rbp - 0x59]
call r8
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x79], rsi
lea r11, [rsp + 0xf0]
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 0x1400a6360
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x50
mov rbx, qword [0x140489938]
lea rax, [r11 + 0x10]
mov rdi, r8
mov qword [r11 - 0x38], rax
xor esi, esi
lea rdx, str.SoftwarePoliciesMicrosoftWindowsDeviceGuard
mov rcx, rbx
mov qword [r11 + 0x10], rsi
mov r9d, 0x20006
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a63fa
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsDeviceGuard
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rcx, [0x1404879c0]
test eax, eax
jne 0x1400a6443
lea rdx, [0x1402b5aa8]
call fcn.14009f7e0
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rdx, [0x1402b5ab8]
call fcn.14009f7e0
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400a6470
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rcx, qword [0x140489938]
lea rax, [rsp + 0x48]
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x48], 0
mov r9d, 0x20006
lea rdx, str.SoftwarePoliciesMicrosoftWindowsDeviceGuard
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a64c5
lea rdx, [0x1402b5a80]
call fcn.1400a8470
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400a64f9
lea rdx, [0x1402b5c20]
call fcn.1400a8470
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret
lea rdx, [0x1402b5c38]
call fcn.1400a8470
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400a6640
Capabilities:
Disable device guard features via registry on windows
Set registry value

Disassembly:
sub rsp, 0x28
lea r8, str.del.EnableVirtualizationBasedSecurity
call fcn.1400a6470
lea r8, str.EnableVirtualizationBasedSecurity
call fcn.1400a6470
mov r9d, 1
lea r8, str.EnableVirtualizationBasedSecurity
call fcn.1400a6360
lea r8, str.del.RequirePlatformSecurityFeatures
call fcn.1400a6470
lea r8, str.RequirePlatformSecurityFeatures
call fcn.1400a6470
mov r9d, 1
lea r8, str.RequirePlatformSecurityFeatures
call fcn.1400a6360
lea r8, str.del.HypervisorEnforcedCodeIntegrity
call fcn.1400a6470
lea r8, str.HypervisorEnforcedCodeIntegrity
call fcn.1400a6470
xor r9d, r9d
lea r8, str.HypervisorEnforcedCodeIntegrity
call fcn.1400a6360
lea r8, str.del.HVCIMATRequired
call fcn.1400a6470
lea r8, str.HVCIMATRequired
call fcn.1400a6470
xor r9d, r9d
lea r8, str.HVCIMATRequired
call fcn.1400a6360
lea r8, str.del.LsaCfgFlags
call fcn.1400a6470
lea r8, str.LsaCfgFlags
call fcn.1400a6470
xor r9d, r9d
lea r8, str.LsaCfgFlags
call fcn.1400a6360
lea r8, str.del.ConfigureSystemGuardLaunch
call fcn.1400a6470
lea r8, str.ConfigureSystemGuardLaunch
call fcn.1400a6470
mov r9d, 2
lea r8, str.ConfigureSystemGuardLaunch
call fcn.1400a6360
lea r8, str.del.ConfigureKernelShadowStacksLaunch
call fcn.1400a6470
lea r8, str.ConfigureKernelShadowStacksLaunch
call fcn.1400a6470
mov r9d, 3
lea r8, str.ConfigureKernelShadowStacksLaunch
add rsp, 0x28
jmp fcn.1400a6360
Function at 0x1400f9d10
Capabilities:
Check if file exists
Create thread

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, 0x80
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov dword [rcx + 0xf038], 1
xor edi, edi
mov qword [rcx + 0xef48], rdi
lea rbx, [rcx + 0xef50]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400f9d62
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rdi
lea rdx, [0x1402c1264]
mov rcx, rbx
call fcn.140195c20
lea rbx, [rbp + 0xef88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
mov rax, qword [r14 + 8]
mov qword [rbx + 8], rax
mov rax, qword [r14 + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [r14 + 0x18]
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x20]
lea rcx, [rbx + 0x20]
call qword [rax + 0x88]
lea rdx, [r14 + 0x20]
lea rcx, [rbx + 0x20]
call fcn.14000b740
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14005bc70
mov rdi, rax
lea rbx, [rbp + 0xeed8]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x88]
mov rcx, qword [rdi + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rbx + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov qword [rbx + 0x18], rcx
mov rdx, qword [rbx + 0x20]
lea rcx, [rbx + 0x20]
call qword [rdx + 0x88]
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.14000b740
nop
lea rcx, [rsp + 0x40]
call fcn.14000bbb0
nop
lea rax, vtable.CVolObject.0
mov qword [rsp + 0x20], rax
lea rbx, [rbp + 0xf040]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
mov rax, qword [rsi + 8]
mov qword [rbx + 8], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [rsi + 0x18]
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x20]
lea rcx, [rbx + 0x20]
call qword [rax + 0x88]
lea rdx, [rsi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.14000b740
mov rdx, qword [rsi + 0x18]
test rdx, rdx
jne 0x1400f9e94
cmp qword [rsi + 0x48], rdx
lea rdx, [0x1402ac8c0]
je 0x1400f9e94
mov rdx, qword [rsi + 0x38]
mov rcx, rsi
mov eax, 0x48
lea rbx, [rax + rcx]
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400f9ee5
mov rdx, qword [rsi + 0x18]
test rdx, rdx
jne 0x1400f9ec6
cmp qword [rbx], rdx
lea rdx, [0x1402ac8c0]
je 0x1400f9ec6
mov rdx, qword [rsi + 0x38]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
jne 0x1400f9ee0
cmp qword [r14 + 0x48], rcx
lea rcx, [0x1402ac8c0]
je 0x1400f9ee0
mov rcx, qword [r14 + 0x38]
call fcn.14009cf70
lea rcx, [rbp + 0xf098]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.140088570

Function at 0x14013ee00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
mov r9d, 0x80000000
shr eax, 0xf
lea rcx, [rbx + 0x6998]
mov dword [rbx + 0x7010], eax
mov r8d, r9d
mov rdx, qword [0x1404899c8]
add rdx, 0xada0
call fcn.140041cb0
add rsp, 0x30
pop rbx
ret
Function at 0x14018d620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14018d7f0
mov rax, qword [rcx]
call qword [rax]
mov rbp, rax
test edi, edi
je 0x14018d690
cmp edi, 3
je 0x14018d690
sub edi, 1
je 0x14018d67f
cmp edi, 1
jne 0x14018d7f0
movzx edx, bx
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x14018d7f2
movzx edx, bx
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x14018d7f2
movzx edx, bx
mov r8d, 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14018d7f0
xor ebx, ebx
mov esi, ebx
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x14018d7f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14018d756
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14018b190
test rax, rax
je 0x14018d72f
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14018d756
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x14018d7f0
cmp edi, 3
jne 0x14018d7eb
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1d]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x14018d7dd
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x14018d7dd
lea ecx, [rdx + 1]
and ecx, 0xfffffffe
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [rdi + 0x1e]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rdi, rax
test rax, rax
je 0x14018d7dd
mov r8d, 0xff00ff
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test eax, eax
jns 0x14018d7da
mov rcx, rdi
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14018d7f2
mov rbx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14018d7f2
mov rax, rsi
jmp 0x14018d7f2
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14018d8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
xor esi, esi
mov r14, r9
mov qword [r8 + 0x28], rsi
mov rbx, r8
mov rbp, rdx
test rdx, rdx
jne 0x14018d8e2
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
call qword [rax]
movzx edx, bp
mov r8, r14
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14018d9d7
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x14018d9d7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14018d9ce
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov qword [rbx + 0x28], rsi
cmp qword [rbx + 0x20], rdi
jl 0x14018d9ac
cmp rdi, 1
jne 0x14018d96a
movzx ecx, byte [r14]
mov rax, qword [rbx + 0x18]
mov byte [rax], cl
inc qword [rbx + 0x28]
jmp 0x14018d9c9
cmp rdi, 2
jne 0x14018d981
movzx ecx, word [r14]
mov rax, qword [rbx + 0x18]
mov word [rax], cx
add qword [rbx + 0x28], rdi
jmp 0x14018d9c9
cmp rdi, 4
jne 0x14018d996
mov ecx, dword [r14]
mov rax, qword [rbx + 0x18]
mov dword [rax], ecx
add qword [rbx + 0x28], rdi
jmp 0x14018d9c9
cmp rdi, 8
jne 0x14018d9ac
mov rcx, qword [r14]
mov rax, qword [rbx + 0x18]
mov qword [rax], rcx
add qword [rbx + 0x28], rdi
jmp 0x14018d9c9
test eax, eax
je 0x14018d9c9
mov rdx, rdi
mov rcx, rbx
call fcn.140195ad0
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.14023df70
mov esi, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x48]
mov rax, rsi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x140192530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
test rcx, rcx
je 0x14019268c
cmp word [rcx], 0
je 0x14019268c
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x60], rdx
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x60], rsi
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rax, vtable.CWString.0
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
lea r14, vtable.CVolMem.0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x10], 0xfe
cmp word [rcx], di
je 0x140192626
cmp word [rcx + 2], di
je 0x140192626
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1401925e0
cmp word [rcx + r8*2 - 2], 0x5c
jne 0x140192626
cmp word [rcx + r8*2 - 4], 0x3a
je 0x140192626
dec r8
mov rdx, rcx
lea rcx, [rbp - 0x60]
call fcn.140198150
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x140192626
lea rcx, [0x1402ac8c0]
cmp qword [rbp - 0x18], 0
cmovne rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, rdi
cmp eax, 0xffffffff
setne bl
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], r14
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140192673
mov rax, qword [rbp - 0x40]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14019266c
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x140192673
lea rcx, [rbp - 0x40]
call r8
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x60], rsi
mov rax, rbx
jmp 0x14019268e
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140192990
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x30], rdx
lea rdi, vtable.CVolObject.0
mov qword [rsp + 0x30], rdi
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea r8, vtable.CWString.0
mov qword [rsp + 0x30], r8
lea rax, [rsp + 0x50]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea rsi, vtable.CVolMem.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], 0x40
mov qword [rsp + 0x48], rbx
mov qword [rbp - 0x80], 0xfe
mov qword [rsp + 0x30], r8
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140197fb0
nop
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14019a200
nop
lea r8, [0x1402b7820]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14019a090
nop
mov r9, qword [rax + 0x18]
test r9, r9
jne 0x140192a79
cmp qword [rax + 0x48], r9
lea r9, [0x1402ac8c0]
je 0x140192a79
mov r9, qword [rax + 0x38]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
lea r8, str.explorer.exe
lea rdx, [0x1402b2320]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rbp - 0x58]
call fcn.14000bbb0
nop
mov qword [rbp - 0x78], rdi
lea rcx, [rbp]
call fcn.14000bbb0
nop
mov qword [rbp - 0x20], rdi
lea rax, [rsp + 0x50]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140192afc
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x140192af4
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x140192afc
lea rcx, [rsp + 0x50]
call r8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x30], rdi
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140192f80
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14032b320]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
test rcx, rcx
je 0x140193184
cmp word [rcx], 0
je 0x140193184
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x20], r14
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea r15, vtable.CVolMem.0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x70], 0xfe
mov edi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x14019307b
test ax, ax
je 0x1401930ba
cmp word [rbx + 2], 0x3a
jne 0x1401930ba
cmp word [rbx + 4], 0x5c
jne 0x1401930ba
mov edx, 0x5c
mov rcx, rbx
call fcn.14023db50
test rax, rax
je 0x1401930b5
cmp rax, rbx
jbe 0x14019309e
lea rcx, [rax - 2]
cmp word [rcx], 0x3a
cmovne rax, rcx
sub rax, rbx
lea r8, [rax + 2]
sar r8, 1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140198150
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x1401930d0
cmp qword [rsp + 0x68], rdi
je 0x140193117
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140193117
cmp word [rdi], 0
je 0x140193117
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140193117
cmp word [rdi], 0
je 0x1401930f8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
cmp word [rbp - 0x70], 0
je 0x140193123
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x140193123
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], r15
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140193166
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x18]
lea rax, [fcn.14018de50]
cmp r8, rax
jne 0x14019315e
lea rcx, [0x140489958]
call fcn.140196cd0
jmp 0x140193166
lea rcx, [rsp + 0x40]
call r8
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x20], r14
mov rax, rbx
jmp 0x140193186
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14023ba10
lea r11, [rsp + 0x2b0]
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 0x140195560
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
movzx edi, cl
lea rax, [rdi - 0x60]
cmp rax, 9
ja 0x1401955e5
sub rdi, 0x30
mov rbx, rdi
test rdi, rdi
je 0x1401955d7
cmp rdi, 0x11
je 0x1401955a1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401955a1
mov rbx, rdi
bts rbx, 0xd
cmp rbx, 0x10
je 0x1401955bc
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401955bc
bts rbx, 0xf
cmp rbx, 0x12
je 0x1401955d7
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401955d7
bts rbx, 0xe
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rdi, 0x6d
jne 0x1401955f4
mov edi, ILCreateFromPathW
mov ebx, edi
jmp 0x140195589
cmp rdi, 0x6e
jne 0x140195603
mov edi, reloc.SHELL32.dll_ILCreateFromPathW
mov ebx, edi
jmp 0x140195589
cmp rdi, 0x6f
jne 0x140195615
mov edi, 0xbf
mov ebx, edi
jmp 0x140195589
lea rax, [0x1402a8960]
mov rax, qword [rax + rdi*8]
cmp word [rax], 0
jne 0x14019557b
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140196310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rbp, r8
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x140196424
cmp word [rdx], 0
je 0x140196424
lea rdx, [0x1402c735c]
mov qword [rsp + 0x30], rdi
mov rcx, rax
mov rsi, 0xffffffffffffffff
call fcn.140253a60
mov rdi, rax
test rax, rax
je 0x1401963f4
cmp rbp, rsi
jne 0x14019638d
xor edx, edx
lea r8d, [rsi + 3]
mov rcx, rax
call fcn.1402530d4
mov rcx, rdi
call fcn.1402545a4
xor r8d, r8d
movsxd rbp, eax
xor edx, edx
mov rcx, rdi
call fcn.1402530d4
test rbp, rbp
jle 0x1401963ea
mov rdx, rbp
mov rcx, rbx
call fcn.140195a50
mov rcx, rax
mov r9, rdi
mov r8, rbp
mov edx, 1
call fcn.140253eb4
mov rcx, rdi
mov rbp, rax
call fcn.1402548f8
test eax, eax
jne 0x1401963ec
mov rdx, rbp
mov rcx, rbx
call fcn.140195ad0
mov rcx, rdi
call fcn.140252d34
mov rax, rbp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
xor esi, esi
mov rcx, rdi
call fcn.140252d34
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140196407
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 0x18]
mov qword [rbx + 0x18], 0
mov rax, rsi
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x20], 0
jmp 0x1401963d5
mov rbx, qword [rsp + 0x38]
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret