joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001858
Capabilities:
Create device object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
xor edi, edi
mov dword [rbp - 0x20], 0x260024
lea rax, [0x140008380]
mov dword [rbp - 0x10], 0x2e002c
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [0x1400083b0]
mov qword [rbp + 0x18], rdi
mov qword [rbp - 8], rax
lea r9d, [rdi + 0x22]
lea rax, [rbp + 0x18]
xor edx, edx
mov qword [r11 - 0x38], rax
mov rbx, rcx
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov esi, eax
test eax, eax
jns 0x1400018ff
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x1400083e0]
xor edx, edx
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rdi
movzx r9d, bl
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400019b6
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test eax, eax
jns 0x140001939
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x140008450]
jmp 0x1400018dd
lea rax, [0x1400019d0]
mov qword [rbx + 0x70], rax
lea rax, [0x1400019d0]
mov qword [rbx + 0x80], rax
lea rax, [0x1400019d0]
mov qword [rbx + 0x100], rax
lea rax, [0x1400019f0]
mov qword [rbx + 0xe0], rax
mov rax, qword [rbp + 0x18]
mov qword [0x14000e030], rax
mov byte [0x14000e028], 1
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x1400084d0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003018
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edx, edx
lea rcx, [0x14000e488]
call fcn.1400072dc
mov esi, eax
test eax, eax
jns 0x14000307a
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x140008aa0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400031fd
xor r8d, r8d
lea rdx, [0x140003230]
xor ecx, ecx
call section..text
mov edi, 1
lea rcx, [0x14000e480]
mov edx, edi
call fcn.1400072dc
mov esi, eax
test eax, eax
jns 0x1400030e7
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x140008aa0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e488]
jmp 0x1400031f8
xor r8d, r8d
lea rdx, [0x140003210]
mov ecx, edi
call section..text
lea r8, [0x14000e040]
mov rcx, rbx
lea rdx, [0x14000c310]
call sub.FLTMGR.SYS_FltRegisterFilter
mov esi, eax
test eax, eax
js 0x1400031ae
mov rcx, qword [0x14000e040]
call sub.FLTMGR.SYS_FltStartFiltering
mov esi, eax
test eax, eax
jns 0x14000316f
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x140008b20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e040]
call sub.FLTMGR.SYS_FltUnregisterFilter
jmp 0x1400031e5
mov byte [0x14000e038], dil
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x140008c00]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400031fd
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x140008b90]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e488]
call fcn.140007214
mov rcx, qword [0x14000e480]
call fcn.140007214
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140003510
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x114
call fcn.140007d00
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov esi, eax
test eax, eax
jns 0x140003591
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 1
mov dword [rsp + 0x30], esi
movzx r9d, bl
lea r8, [0x140009370]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4c]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp dword [rsp + 0x44], 6
jb 0x1400035a5
jne 0x1400035a1
cmp dword [rsp + 0x48], 2
jb 0x1400035a5
mov al, 1
jmp 0x1400035a7
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400078d0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400039ac
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r8
lea r9, [rax + 0x20]
mov r14, rdx
xor ebx, ebx
and dword [rax + 0x20], ebx
xor r8d, r8d
and dword [rax - 0x28], ebx
xor edx, edx
mov ebp, ecx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140003a69
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x140003a0c
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x68]
mov edx, eax
xor ecx, ecx
mov r8d, 0x72706c48
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140003a64
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
je 0x1400039e9
test eax, eax
jns 0x140003a58
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x140003a69
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x140003a54
mov eax, 0xc0000022
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140004e7c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
lea rdx, [rsp + 0x58]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140004edd
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 1
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x1400097f0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4c]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140004f8a
mov rcx, qword [rsi + 0x20]
call fcn.140003af4
mov rcx, qword [rsp + 0x58]
mov rbx, rax
call fcn.140003af4
mov rdi, rax
test rbx, rbx
je 0x140004f36
test rax, rax
je 0x140004f36
lea rcx, [0x14000e360]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx]
cmp qword [rbx + 8], rdx
jne 0x140004f27
mov rax, qword [rdi]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov qword [rdi], rbx
mov qword [rax + 8], rbx
lea rcx, [0x14000e360]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
jmp 0x140004f7f
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, qword [rsp + 0x58]
lea r8, [0x140009870]
mov qword [rsp + 0x38], rcx
mov edx, 1
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
lea ecx, [rdx + 0x4c]
movzx r9d, bl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400012c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001302
xor eax, eax
jmp 0x140001361
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001356
nop dword [rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001344
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140001344
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001320
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140004310
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140003920
Capabilities:
Create thread
Execute command

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xe1
mov r9d, 0x152
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.USER32.dll_MoveWindow]
mov ecx, 8
call fcn.140004330
lea rcx, [0x140001880]
mov qword [rax], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400042d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140003a66
mov dword [rsp + 0x30], 0xffffffff
nop dword [rax]
call fcn.140001a50
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rcx, [0x140006754]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x140003a29
sub ecx, 1
je 0x140003a22
sub ecx, 1
je 0x140003a1b
cmp ecx, 1
je 0x140003a14
lea rdx, str.Opcion_no_valida._Intente_nuevamente._n
jmp 0x140003a30
call fcn.1400035c0
jmp 0x140003a3c
call fcn.140002740
jmp 0x140003a3c
call fcn.140001cb0
jmp 0x140003a3c
lea rdx, str.Saliendo..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003f40
cmp dword [rsp + 0x30], 0
jne 0x1400039d0
cmp dword [rsp + 0x50], 0
je 0x140003a51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004310
add rsp, 0x60
pop rbx
ret
mov dword [rsp + 0x50], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140004c90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004cda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004cda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004cda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004cda
cmp dword [rcx + 0x84], 0xe
jbe 0x140004cda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004cdc
xor al, al
add rsp, 0x28
ret
Function at 0x140014010
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140005f30
sub rsp, rax
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140012bf0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001405f
mov rax, rbp
jmp 0x140014167
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1696d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140015130
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1696d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140014163
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014163
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140015130
test rax, rax
js 0x140014163
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140014163
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140014155
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140014155
cmp byte [rcx], 0xd
jne 0x14001413b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001414a
cmp byte [rcx + 1], 0xa
jne 0x14001414a
inc rcx
jmp 0x14001414a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2e480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001411d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140014167
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140005b40
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140014388
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001439e
mov al, 1
jmp 0x1400143fe
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400143af
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400143fc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140018ae4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400143fc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400143fc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400143fc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400143fe
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400144d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401696d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140014527
cmp word [rdx], r13w
jne 0x140014527
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001452c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140014651
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140014672
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140014565
mov rdx, r9
mov word [rbx], cx
jmp 0x14001458c
cmp r9, r8
jae 0x14001459c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140014546
jmp 0x140014651
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014646
cmp dword [rsp + 0x80], esi
je 0x140014646
lea r8, [0x1401696d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001461e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400145ee
mov word [rbx], r13w
jmp 0x14001464e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400145fb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001464e
cmp word [rsp + 0x70], r13w
jne 0x14001462b
cmp rbx, r14
je 0x1400145e8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140015138
cmp word [rsp + 0x70], r13w
je 0x140014651
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401696d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001464b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140014651
Function at 0x140029644
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001cf54
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cf54
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029794
cmp rax, 0xffffffffffffffff
je 0x140029794
xor edi, edi
test rbp, rbp
jle 0x14002973f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f868
mov rbx, rax
test rax, rax
jne 0x1400296cc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029735
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a8b8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dc30
cmp eax, 0xffffffff
je 0x140029715
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400296dc
mov edx, r15d
mov ecx, r14d
call fcn.14001a8b8
jmp 0x140029735
cmp byte [rsi + 0x38], dil
je 0x14002972c
cmp dword [rsi + 0x34], 5
jne 0x14002972c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029735
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b618
jmp 0x1400297a8
jns 0x1400297a8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cf54
cmp rax, 0xffffffffffffffff
jne 0x140029760
cmp byte [rsi + 0x30], dil
je 0x1400297a8
mov edi, dword [rsi + 0x2c]
jmp 0x1400297a8
mov ecx, r14d
call fcn.1400193ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400297a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400297a8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400297a1
mov eax, dword [rsi + 0x2c]
jmp 0x1400297a6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cf54
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002a8a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002a8c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002a8c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140f601b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f601be
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f601e7
pop rbp
sub rbp, 0x33
sub rbp, 0xf601b4
sub rsp, 0x20
jmp 0x140f60206
mov rax, 0xf601b4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x71ca717
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f60225
jmp 0x140f6023c
pop rdi
sahf
invalid
Function at 0x140002570
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor r12d, r12d
mov rsi, rcx
mov dword [rsp + 0x4c], r12d
mov qword [rsp + 0x50], r12
test rdx, rdx
jne 0x1400025cd
mov rcx, qword [rcx + 0x28]
lea r9, [rsp + 0x40]
lea r8d, [r12 + 4]
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400027e0
mov qword [rsp + 0x6c0], rbx
call fcn.140002420
mov rbx, rax
test rax, rax
jne 0x140002604
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
lea r8d, [rax + 4]
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400027d8
mov rax, qword [rax]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x6c8], rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x688], r14
xor r9d, r9d
mov qword [rsp + 0x680], r15
call qword [rax + 0x30]
mov rax, qword [rbx]
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
mov rcx, rbx
lea rdx, [rsp + 0x50]
mov r9d, 0x100
call qword [rax + 0x30]
mov r14d, r12d
mov r15d, eax
cmp dword [rsp + 0x48], r12d
jbe 0x1400027a9
nop dword [rax]
nop dword [rax + rax]
mov ecx, r14d
lea rdi, [rsp + 0x70]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov r8d, 4
lea rdi, [rdi + rcx*4]
mov rcx, qword [rsi + 0x28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [rdi]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
lea r8, [rbp + 0x370]
lea rcx, [rsp + 0x5c]
mov dword [rsp + 0x44], r12d
mov rax, qword [rbx]
mov r9d, 0xff
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [rax + 0x60]
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
mov rcx, qword [rsi + 0x28]
lea rdx, [rsp + 0x44]
add eax, eax
mov qword [rsp + 0x20], r12
mov r8d, 4
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
mov rcx, qword [rsi + 0x28]
lea rdx, [rbp + 0x370]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc r14d
cmp r14d, dword [rsp + 0x48]
jb 0x1400026b0
test r15d, r15d
je 0x140002670
mov rax, qword [rbx]
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x18]
mov r15, qword [rsp + 0x680]
mov r14, qword [rsp + 0x688]
mov rdi, qword [rsp + 0x6c8]
mov rbx, qword [rsp + 0x6c0]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140005550
add rsp, 0x690
pop r12
pop rsi
pop rbp
ret