joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141e7d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141e7d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141e7d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e7d06f
add dl, dl
jne 0x141e7d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e7d0f6
xor eax, eax
add dl, dl
jne 0x141e7d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e7d1ad
add dl, dl
jne 0x141e7d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e7d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e7d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e7d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141e7d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141e7d07e
mov eax, 1
add dl, dl
jne 0x141e7d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e7d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e7d0fb
sub eax, ebx
mov ebx, 1
jne 0x141e7d14c
mov ecx, 1
add dl, dl
jne 0x141e7d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e7d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e7d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e7d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141e7d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e7d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e7d15d
cmp eax, 0x7d00
jae 0x141e7d19b
cmp eax, 0x500
jb 0x141e7d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e7d07e
cmp eax, 0x7f
ja 0x141e7d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e7d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141e7d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141e7d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001730
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
lea rcx, [0x1400018b0]
mov qword [rax + 0x68], rcx
mov rcx, qword [rsp + 0x30]
call fcn.140001770
lea rcx, [0x140003b70]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001770
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x80]
lea rdx, [0x140001050]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
lea rdx, section..text
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
lea rdx, [0x1400016b0]
mov qword [rcx + rax + 0x70], rdx
lea rdx, [0x140003b00]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140003b30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001848
mov eax, dword [rsp + 0x40]
jmp 0x14000189e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
or eax, 0x10
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
or eax, 4
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x30], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14000189a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x40]
jmp 0x14000189e
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x140001be0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
lea rcx, [0x140003360]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140003390]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x48]
lea rcx, [0x1400033d0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
jmp 0x140001c3b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x64
jge 0x140001c70
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
cmp eax, 0xe8
jne 0x140001c6e
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140001c70
jmp 0x140001c31
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
lea eax, [rax + rcx + 5]
mov dword [rsp + 0x38], eax
movabs rax, 0xffffffff00000000
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140003410]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x20], 0
jmp 0x140001cf0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jge 0x140001d4d
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x48
jne 0x140001d4b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 1]
cmp eax, 0x8b
jne 0x140001d4b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 2]
cmp eax, 5
jne 0x140001d4b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x140001d4d
jmp 0x140001ce6
mov rax, qword [rsp + 0x40]
add rax, 3
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
lea eax, [rax + rcx + 7]
mov dword [rsp + 0x38], eax
movabs rax, 0xffffffff00000000
mov rcx, qword [rsp + 0x40]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x140003450]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x140001fe0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x50
call fcn.140001be0
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.140001930
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jbe 0x1400020ac
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [0x140005028], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
call fcn.140002df0
mov eax, eax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [0x140003580]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [0x1400035b0]
call sub.ntoskrnl.exe_DbgPrint
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x20]
add rax, 8
movsxd rcx, dword [rsp + 0x38]
mov rdi, rax
mov rax, rcx
mov ecx, 8
rep stosb byte [rdi], al
mov edx, dword [rsp + 0x60]
lea rcx, [0x1400035e0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x50
pop rdi
ret
Function at 0x1400020c0
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400020f2
jmp 0x1400022c9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rsp + 0x38]
lea rcx, [0x140003700]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140003720]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140003740]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002d00
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [0x140005030], rax
mov rdx, qword [0x140005030]
lea rcx, [0x140003760]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x140005030]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140003790]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1400037b0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002d00
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [0x1400037e0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
je 0x1400022c7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140003740]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140003720]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x60], 0
je 0x1400022a5
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x40], rax
jne 0x1400022a5
lea rcx, [0x140003800]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x1400022a3
mov rcx, qword [rsp + 0x28]
call fcn.1400026e0
mov rax, qword [rsp + 0x28]
mov qword [0x140005018], rax
lea rcx, [0x140003820]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400030c0
mov rcx, qword [rsp + 0x30]
call fcn.140003080
mov ecx, dword [rsp + 0x60]
call fcn.140001fe0
mov rcx, qword [rsp + 0x30]
call fcn.140002c70
jmp 0x1400022c7
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0x448
mov qword [rsp + 0x30], rax
jmp 0x1400021d1
xor eax, eax
add rsp, 0x58
ret
Function at 0x140002780
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
cmp qword [0x140005028], 0
je 0x1400027ee
call fcn.140001be0
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.140001930
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jbe 0x1400027ee
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x140005028]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov edx, dword [rsp + 0x40]
lea rcx, [0x140003600]
call sub.ntoskrnl.exe_DbgPrint
mov qword [0x140005028], 0
add rsp, 0x38
ret

Function at 0x140002800
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
call fcn.140002f30
mov eax, eax
mov qword [rsp + 0x30], rax
call fcn.140002e00
mov eax, eax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
add rax, qword [rcx + rdx]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140003620]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x28], 0
call fcn.140002f30
mov eax, eax
mov qword [rsp + 0x38], rax
call fcn.140002e00
mov eax, eax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
add rax, qword [rcx + rdx]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140003690]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.1400022d0
lea rcx, [0x1400036d0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x48
ret
Function at 0x1400028b0
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x60]
cmp qword [0x140005010], rax
je 0x1400028cb
jmp 0x140002a4e
lea rcx, [0x140003840]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140002900
jmp 0x140002a4e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140003700]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140003720]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140003740]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002d00
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [0x140005030], rax
mov rax, qword [0x140005018]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140002a3e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x140002a3e
mov rcx, qword [0x140005030]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x140002a3e
lea rcx, [0x140003880]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002d00
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, qword [0x140005010]
mov rcx, qword [rsp + 0x38]
call fcn.140003040
mov ecx, dword [0x140005010]
call fcn.140002780
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x140005030]
call fcn.1400022d0
call fcn.140002d00
mov rcx, qword [0x140005030]
sub rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140002800
mov qword [0x140005018], 0
mov qword [0x140005010], 0
mov edx, dword [rsp + 0x60]
lea rcx, [0x1400038b0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x58
ret

Function at 0x140002c70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
call fcn.140002f30
mov eax, eax
mov qword [rsp + 0x28], rax
call fcn.140002e00
mov eax, eax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rax, qword [rcx + rdx]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140003620]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
lea rcx, [0x140003660]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x38
ret
Function at 0x140002d00
Capabilities:
Check os version
Print debug messages

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140002d6e
lea rcx, [0x1400032a0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x28]
jmp 0x140002dcf
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
lea rcx, [0x1400032d0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x34], 0xa
jne 0x140002dca
mov qword [rsp + 0x28], 0x2e8
cmp dword [rsp + 0x3c], 0x42ee
jne 0x140002dad
mov qword [rsp + 0x28], 0x2e8
jmp 0x140002dca
cmp dword [rsp + 0x3c], 0x4f7c
je 0x140002dc1
cmp dword [rsp + 0x3c], 0x4a64
jne 0x140002dca
mov qword [rsp + 0x28], 0x448
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003110
add rsp, 0x160
pop rdi
ret

Function at 0x140002e10
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140002e6a
xor eax, eax
jmp 0x140002f09
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x140002e8f
mov dword [rsp + 0x28], 1
jmp 0x140002e97
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movzx r8d, byte [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140001dc0
mov qword [rsp + 0x38], rax
jmp 0x140002ef9
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140003110
add rsp, 0x90
pop rdi
ret
Function at 0x140002f30
Capabilities:
Check os version
Print debug messages

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], 0x570
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140002f9d
lea rcx, [0x1400032a0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x28]
jmp 0x140002ffd
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
lea rcx, [0x1400032d0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x34], 0xa
jne 0x140002ff9
mov qword [rsp + 0x28], 0x2e8
cmp dword [rsp + 0x3c], 0x42ee
jne 0x140002fdc
mov qword [rsp + 0x28], 0x2e8
jmp 0x140002ff9
cmp dword [rsp + 0x3c], 0x4f7c
je 0x140002ff0
cmp dword [rsp + 0x3c], 0x4a64
jne 0x140002ff9
mov qword [rsp + 0x28], 0x570
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003110
add rsp, 0x160
pop rdi
ret

Function at 0x140003040
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call fcn.140003020
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov qword [rcx + rax], rdx
lea rcx, [0x140003340]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x28
ret

Function at 0x140003080
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax - 0x15]
mov byte [0x140005020], al
mov rax, qword [rsp + 0x30]
mov byte [rax - 0x15], 4
lea rcx, [0x140003300]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x28
ret

Function at 0x1400030c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [0x140005010], rax
call fcn.140003020
mov rcx, qword [rsp + 0x38]
mov qword [rcx + rax], 0
lea rcx, [0x140003320]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x28
ret
Function at 0x140011230
Capabilities:
Terminate process

Disassembly:
jmp 0x140013ae0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112b2
Capabilities:
Execute command

Disassembly:
jmp 0x1400122b0
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x140024017]
call fcn.1400113c0
lea rdx, [0x14001b24c]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_setlocale]
lea rcx, str.chcp_1251__cls
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001b268]
call fcn.1400111cc
lea rdx, [rbp + 4]
lea rcx, [0x14001b0e8]
call fcn.1400110a5
call qword [sym.imp.ucrtbased.dll_getchar]
movsxd rax, dword [rbp + 4]
mov qword [rbp + 0x118], rax
mov eax, 0x188
mov rcx, qword [rbp + 0x118]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call fcn.140011172
lea rcx, str.______________________________________n
call fcn.1400111cc
lea rcx, [0x14001b2d8]
call fcn.1400111cc
lea rcx, str.______________________________________n
call fcn.1400111cc
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call fcn.1400113a2
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
xor eax, eax
cmp eax, 1
je 0x14001245e
mov dword [rbp + 0x44], 0
lea rcx, str.Select_sort_algorithm__1_2__100_exit_:
call fcn.1400111cc
lea rdx, [rbp + 0x44]
lea rcx, [0x14001b0e8]
call fcn.1400110a5
cmp dword [rbp + 0x44], 1
je 0x1400123e6
cmp dword [rbp + 0x44], 2
je 0x1400123e6
cmp dword [rbp + 0x44], 0x64
jne 0x1400123b8
cmp dword [rbp + 0x44], 0x64
jne 0x1400123ee
jmp 0x14001245e
cmp dword [rbp + 0x44], 1
jne 0x140012409
lea r8, [0x1400110ff]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call fcn.140011005
jmp 0x14001241c
lea r8, [0x14001113b]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call fcn.140011005
lea rcx, str._n_n_n_n______________________________________n
call fcn.1400111cc
lea rcx, [0x14001b378]
call fcn.1400111cc
lea rcx, str.______________________________________n
call fcn.1400111cc
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call fcn.1400113a2
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x1400123a6
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001b050]
call fcn.140011352
mov eax, edi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400111e5
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400112bc
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014e20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e40
xor al, al
jmp 0x140014ec1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e53
xor al, al
jmp 0x140014ec1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014e7d
xor al, al
jmp 0x140014ec1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e91
xor al, al
jmp 0x140014ec1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ea3
xor al, al
jmp 0x140014ec1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ebf
xor al, al
jmp 0x140014ec1
mov al, 1
add rsp, 0x38
ret