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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
mov rdi, rdx
lea rax, [rsp + 0x50]
mov rbx, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea rdx, str.SoftwareMicrosoftOffice16.0CommonFilesPaths
mov r9d, 2
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14001dba5
cmp dword [rsp + 0x40], 4
jb 0x14001dba5
test rdi, rdi
lea rcx, [rsp + 0x50]
cmovne rbx, rdi
mov rdx, rbx
call fcn.14001d960
jmp 0x14001dba7
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001f240
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x14001e0bc
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftClickToRunOverRide
mov rcx, 0xffffffff80000002
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e1ba
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e186
cmp dword [rsp + 0x48], 4
jne 0x14001e186
mov eax, dword [rsp + 0x50]
lea rcx, str.Registry_override
test eax, eax
setne bl
test eax, eax
je 0x14001e16a
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._is_enabled.__C2R_JitV_will_run_in_AppV_virtualized_processes._n
jmp 0x14001e1a7
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._is_disabled.__C2R_JitV_will_NOT_run_in_AppV_virtualized_processes._n
jmp 0x14001e1a7
lea rcx, str.Registry_override
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.AllowJitvInAppvVirtualizedProcess
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._not_found_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001e1e1
lea rcx, str.Registry_override_key
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.SoftwareMicrosoftClickToRunOverRide
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._does_not_exist_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x14001fd18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001fd62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001fd62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001fd62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001fd62
cmp dword [rcx + 0x84], 0xe
jbe 0x14001fd62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001fd64
xor al, al
add rsp, 0x28
ret
Function at 0x14002030c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140020384
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140020384
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140020384
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140020378
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140020396
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140020366
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140020386
Function at 0x140001380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x14005baa3], 0
je 0x1400013a8
test cl, cl
je 0x14000151f
lea rax, [rbp - 0x20]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatDCInstaller_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001518
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140001518
mov qword [rsp + 0x60], rbx
xor ebx, ebx
cmp byte [0x14005baa3], bl
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x18], ebx
mov dword [rbp - 0x10], 4
jne 0x140001439
lea rax, [rbp - 0x10]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x14]
lea rax, [rbp - 0x18]
lea rdx, str.bIsSingleClientApp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001439
cmp dword [rbp - 0x14], 4
jne 0x140001439
cmp dword [rbp - 0x18], ebx
setne byte [0x14005baa1]
cmp byte [0x14005baa1], bl
je 0x140001509
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x14]
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.bIsSCAcroAppInstalled
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001486
cmp dword [rbp - 0x14], 4
jne 0x140001486
cmp dword [rbp - 0x18], ebx
setne byte [0x14005baa0]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x14]
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SCAPackageLevel
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400014cb
mov eax, dword [section..data]
cmp dword [rbp - 0x14], 4
cmove eax, dword [rbp - 0x18]
mov dword [section..data], eax
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x14]
lea rax, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.IsAcrInstalledInRdrMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001509
cmp dword [rbp - 0x14], 4
jne 0x140001509
cmp dword [rbp - 0x18], ebx
setne byte [0x14005baa2]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov byte [0x14005baa3], 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140022dc0
add rsp, 0x50
pop rbp
ret
Function at 0x140001820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
lea r10, [0x14005d340]
xor eax, eax
mov r8, r10
mov edx, eax
lea r8, [r8 + 4]
and edx, 1
mov ecx, eax
shr ecx, 1
neg edx
and edx, 0xedb88320
inc eax
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [r8 - 4], ecx
cmp eax, 0x100
jb 0x140001830
cmp eax, 0x800
jae 0x140001907
lea r9, [r10 + rax*4]
nop word [rax + rax]
lea ecx, [rax - 0x100]
inc eax
mov r8d, dword [r10 + rcx*4]
lea r9, [r9 + 4]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [r9 - 4], r8d
cmp eax, 0x800
jb 0x1400018e0
lea rax, [0x140001940]
mov qword [0x14005baa8], rax
call fcn.140006e90
mov rcx, qword [0x14005baa8]
lea rdx, [0x140001a10]
test eax, eax
cmove rcx, rdx
mov qword [0x14005baa8], rcx
add rsp, 0x28
ret

Function at 0x1400026e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [r8]
mov rdi, r8
mov rsi, rdx
mov r14, rcx
test rbx, rbx
je 0x14000275e
xor ebp, ebp
mov r15d, 0x400000
mov qword [r8], rbp
nop dword [rax + rax]
mov rcx, qword [r14]
lea r9, [rsp + 0x30]
mov r8d, ebx
mov dword [rsp + 0x30], ebp
cmp rbx, r15
mov qword [rsp + 0x20], rbp
mov rdx, rsi
cmova r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x30]
add qword [rdi], rdx
add rsi, rdx
sub rbx, rdx
test eax, eax
je 0x140002781
test edx, edx
je 0x14000275e
test rbx, rbx
jne 0x140002720
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140022dc0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140002760
Function at 0x140006cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
push r15
mov r10d, dword [r9]
xor r12d, r12d
and r10d, 7
mov r13, r9
mov edi, r8d
mov r15, rcx
mov r11d, r12d
cmp rdx, 5
jae 0x140006cde
xor eax, eax
pop r15
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x28], rbx
add edi, 5
mov qword [rsp + 0x30], rbp
lea rbx, [rdx - 4]
mov qword [rsp + 0x38], rsi
mov rbp, 0xffffffffffffffff
mov qword [rsp + 0x40], r14
add rbx, r15
mov r14d, dword [rsp + 0x48]
lea r9, [0x140000000]
nop
lea r8, [r11 + r15]
cmp r8, rbx
jae 0x140006d32
nop dword [rax]
movzx eax, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x140006d32
inc r8
cmp r8, rbx
jb 0x140006d20
mov r11, r8
sub r11, r15
mov rax, r11
sub rax, rbp
cmp r8, rbx
jae 0x140006e57
cmp rax, 3
jbe 0x140006d6f
mov r10d, r12d
movzx ecx, byte [r8 + 4]
mov rbp, r11
lea eax, [rcx - 1]
cmp al, 0xfd
ja 0x140006db4
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140006d10
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x140006d50
cmp byte [r10 + r9 + 0x42ab0], r12b
je 0x140006d9e
movzx eax, byte [r10 + r9 + 0x42ab8]
mov rcx, r8
sub rcx, rax
movzx eax, byte [rcx + 4]
inc al
test al, 0xfe
jne 0x140006d50
and r10d, 3
mov rbp, r11
add r10d, r10d
or r10d, 1
inc r11
jmp 0x140006d10
movzx eax, byte [r8 + 3]
lea rsi, [r9 + 0x42ab8]
mov edx, ecx
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 1]
shl edx, 8
or edx, eax
mov eax, r10d
add rsi, rax
test r14d, r14d
je 0x140006dee
lea eax, [r11 + rdx]
add eax, edi
jmp 0x140006df5
mov eax, edx
sub eax, r11d
sub eax, edi
test r10d, r10d
je 0x140006e2a
movzx r9d, byte [rsi]
mov ecx, 0x18
shl r9d, 3
mov edx, eax
sub ecx, r9d
shr edx, cl
inc dl
test dl, 0xfe
jne 0x140006e2a
mov ecx, 0x20
mov edx, 1
sub ecx, r9d
shl edx, cl
dec edx
xor edx, eax
jmp 0x140006de1
mov ecx, eax
mov byte [r8 + 1], al
shr ecx, 0x18
and cl, 1
neg cl
mov byte [r8 + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r8 + 3], cl
mov ecx, eax
shr ecx, 8
mov byte [r8 + 2], cl
add r11, 5
jmp 0x140006d08
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rax, 3
ja 0x140006e7e
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
mov r12d, r10d
mov dword [r13], r12d
mov rax, r11
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x14000bfb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000c025
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c025
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c015
nop
cmp rbx, rcx
jae 0x14000c025
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c000
cmp rbx, rcx
jae 0x14000c025
cmp word [rbx], 0
je 0x14000c025
mov rax, rbx
jmp 0x14000c027
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c0b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000c190
cmp byte [rcx + 0x71], 0
je 0x14000c190
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x1400206aa.0]
cmp eax, 0xffffffff
je 0x14000c18c
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400206aa.0]
test eax, eax
je 0x14000c152
sub eax, 1
je 0x14000c156
cmp eax, 2
jne 0x14000c18c
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140022dc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000c183
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14002a8ac
cmp rdi, rax
jne 0x14000c18c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000c13a
xor al, al
jmp 0x14000c13a
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140022dc0
add rsp, 0x60
pop rbx
ret
Function at 0x14000d480
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000d4b0
xor eax, eax
jmp 0x14000d600
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000d4ea
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000d4ea
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000d600
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x14000d5f3
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000d52d
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000d53c
movsx ecx, dil
jmp 0x14000d59a
lea r8, [rsp + 0x50]
mov byte [rsp + 0x60], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x61]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
call qword [case.0x1400206aa.0]
test eax, eax
je 0x14000d5b4
sub eax, 1
je 0x14000d5b4
cmp eax, 2
jne 0x14000d5f3
movsx ecx, byte [rsp + 0x60]
mov rdx, qword [rbx + 0x80]
call fcn.140029fc0
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000d5f8
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x14000d5e1
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.14002a8ac
cmp rsi, rax
jne 0x14000d5f3
lea rax, [rsp + 0x60]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x58], rax
mov eax, edi
jne 0x14000d5f8
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140022dc0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x14000ddc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000dde2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000de63
mov rdi, r14
mov rcx, rbx
call fcn.14000c500
test rax, rax
jle 0x14000de34
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140024d40
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000de53
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x1400206aa.0]
cmp eax, 0xffffffff
je 0x14000de5b
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000ddf6
sub r14, rdi
jmp 0x14000df58
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000de7a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000de7c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000deb1
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140024d40
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000df55
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14000deec
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14000df30
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002a344
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000df6e
cmp rbp, rax
ja 0x14000df00
mov r8, rdi
test rdi, rdi
je 0x14000df55
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002a344
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14000df58
Function at 0x14000e040
Capabilities:
Write file on windows

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, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14000e0e1
test r8, r8
jle 0x14000e0d9
mov rcx, rdi
call fcn.14000ca90
test rax, rax
jle 0x14000e0b0
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.140024d40
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14000e0d1
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
mov rax, qword [rax + 0x18]
call qword [case.0x1400206aa.0]
cmp eax, 0xffffffff
je 0x14000e0d9
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14000e072
sub r14, rbx
mov rax, r14
jmp 0x14000e155
mov rax, qword [rcx + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x14000e0f5
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000e0f7
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14000e14f
test ecx, ecx
jle 0x14000e130
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.140024d40
mov rax, qword [rdi + 0x58]
sub r14, rsi
add rbp, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14000e14f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000e14f
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14002a8ac
sub r14, rax
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000e4e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov ecx, 0x20a
call fcn.14002316c
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
mov rdi, rax
call fcn.1400253f0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x20a
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e5ad
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.Shell
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000e596
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000e584
cmp rax, 0x208
jb 0x14000e5a2
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.1400229fc
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140022dc0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000e5e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edi, edx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400253f0
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000001
call fcn.14000e4e0
mov ecx, 0x104
lea rax, [rsp + 0x20]
cmp word [rax], 0
je 0x14000e646
add rax, 2
sub rcx, 1
jne 0x14000e636
xor esi, esi
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rsi
je 0x14000e65e
test rax, rax
jne 0x14000e6bb
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call fcn.14000e4e0
mov ecx, 0x104
lea rax, [rsp + 0x20]
nop dword [rax]
cmp word [rax], si
je 0x14000e68f
add rax, 2
sub rcx, 1
jne 0x14000e680
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rsi
je 0x14000e6a5
test rax, rax
jne 0x14000e6bb
lea r8, str.explorer.exe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14002af44
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, eax
lea rdx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], si
jne 0x14000e6e0
inc rax
cmp rax, rcx
mov rcx, rbx
jne 0x14000e6fb
lea r8, [rsp + 0x20]
jmp 0x14000e73e
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
mov rcx, rbx
cmp eax, 0x103
ja 0x14000e737
lea r8, [0x140042f84]
mov rdx, rdi
call fcn.14002aec4
test eax, eax
jne 0x14000e751
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.14002aec4
jmp 0x14000e746
lea r8, str.C:Windowsexplorer.exe
mov rdx, rdi
call fcn.14002af44
test eax, eax
jne 0x14000e751
mov eax, 1
jmp 0x14000e753
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140022dc0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret