joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov qword [rbp - 8], rcx
mov dword [rbp - 0x4c], 0
movdqa xmm0, xmmword [str.abcdefghijklmnop_]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], 0x74737271
mov dword [rbp - 0x34], 0x78777675
mov word [rbp - 0x30], 0x7a79
mov qword [rcx], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
xor r8d, r8d
lea rdx, [0x18004230b]
call fcn.18000d3c0
mov dword [rbp - 0x4c], 1
xor r12d, r12d
call fcn.180019a54
mov ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rbp + rax - 0x48]
mov byte [rbp - 0x50], al
mov r13, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
cmp r13, rax
je 0x180005d3a
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180005bad
mov r15, qword [rbx]
mov qword [rbp - 0x28], 0
lea r14, [r13 + 1]
mov esi, 0xf
lea rdi, [rbp - 0x28]
cmp r14, rsi
jbe 0x180005c41
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x180005bd8
mov rsi, rax
jmp 0x180005be5
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
mov rcx, rsi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x180005c2c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005d40
mov rcx, rax
call fcn.1800115e4
test rax, rax
je 0x180005d34
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180005c3d
test rcx, rcx
je 0x180005c3b
call fcn.1800115e4
mov rdi, rax
jmp 0x180005c3d
xor edi, edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rsi
mov r8, r13
mov rdx, r15
mov rcx, rdi
call fcn.180013540
movzx eax, byte [rbp - 0x50]
mov byte [rdi + r13], al
mov byte [rdi + r14], 0
or dword [rbp - 0x4c], 2
lea rax, [rbp - 0x28]
cmp rbx, rax
je 0x180005ccf
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180005cab
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005ca6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005d34
mov rcx, r8
call fcn.1800115b0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180005d06
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180005d06
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005d34
call fcn.1800115b0
inc r12d
cmp r12d, 4
jl 0x180005b61
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800193ac
int3
call fcn.180001290
int3
call fcn.1800011f0
int3
Function at 0x180005d50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x18004b058]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x180005d8c
mov rsi, qword [rcx]
mov rbx, rsi
add rsi, qword [rcx + 0x10]
jmp 0x180005d96
mov rsi, qword [rcx + 0x10]
add rsi, rdi
mov rbx, rdi
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8d, 7
mov qword [rsp + 0x48], r8
mov rdx, rsi
sub rdx, rbx
cmp rdx, 8
jb 0x180005dd4
lea rcx, [rsp + 0x30]
call fcn.18000e180
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov ebp, 1
cmp rbx, rsi
je 0x180005e42
nop dword [rax + rax]
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x180005e1e
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x180005e2e
xor r8d, r8d
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18000e2f0
inc rbx
mov r8, qword [rsp + 0x48]
cmp rbx, rsi
je 0x180005e42
mov rcx, qword [rsp + 0x40]
jmp 0x180005df0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180005e60
test al, 0x10
jne 0x180005e63
mov ebp, r14d
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180005ea5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ea0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005f22
call fcn.1800115b0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180005eef
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180005eea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005f28
mov rcx, r8
call fcn.1800115b0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180011590
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1800193ac
nop
call fcn.1800193ac
int3
Function at 0x18000b4e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000b508
xor eax, eax
lea r8, [0x1800046c0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000b930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x18000b9c8
test r8, r8
jle 0x18000b9c0
nop word [rax + rax]
mov rcx, rdi
call fcn.18000d1e0
test rax, rax
jle 0x18000b99e
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.180013540
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 0x18000b9b8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000b9c0
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x18000b960
sub r14, rbx
mov rax, r14
jmp 0x18000ba46
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x18000b9e1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000b9e3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x18000ba3b
test ecx, ecx
jle 0x18000ba1c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.180013540
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x18000ba3b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000ba3b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.18001aaf4
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x18000ba60
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 0x18000ba82
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 0x18000bafc
mov rdi, r14
mov rcx, rbx
call fcn.18000d200
test rax, rax
jle 0x18000bad4
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.180013540
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 0x18000baec
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18000baf4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18000ba96
sub r14, rdi
jmp 0x18000bbdf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18000bb13
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000bb15
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000bb47
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180013540
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000bbdc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000bb82
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
cmp rbp, 0xfff
jbe 0x18000bbbd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.18001add8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18000bbdc
cmp rbp, rax
ja 0x18000bb90
test rbp, rbp
je 0x18000bbdc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.18001add8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18000c010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18004b058]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000c03d
xor eax, eax
jmp 0x18000c183
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000c077
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000c077
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 0x18000c183
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000c176
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000c0ba
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 0x18000c0c9
movsx ecx, dil
jmp 0x18000c11d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x18000c137
sub eax, 1
je 0x18000c137
cmp eax, 2
jne 0x18000c176
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1800195f8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000c17b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000c164
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.18001aaf4
cmp rsi, rax
jne 0x18000c176
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18000c17b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180011590
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14122e493
Capabilities:
Encode data using xor

Disassembly:
mov ebp, dword [rbp + 0x3ea14b29]
shl dword [rbx + 0x2218a156], 1
jmp 0x14122e4ac
and ch, bl
push rax
movabs eax, dword [0xbde124475ebb6850]
push rax
pop rsi
retf 0xb8ee
mov qword [rsp], 0xffffffffbe81edb8
call fcn.1416101e3
mov al, 0xd6
push rbp
mov eax, 0x79273bcb
out dx, al
fld qword [rdi]
cmpsb byte [rsi], byte [rdi]
leave
cmpsd dword [rsi], dword [rdi]
lahf
and bh, byte [rdi]
sub ebp, dword [rax + rbx*2 + 0x3e]
jbe 0x14122e4c0
invalid
mov cl, 0xe1
out 0x60, al
jge 0x14122e459
cmpsb byte [rsi], byte [rdi]
xchg edi, eax
xchg ebp, eax
rcr dword [rsp + rcx*8], 1
stc
jl 0x14122e44e
rol dl, 1
xor dword [rax + riz*2], eax
adc al, 0x4a
invalid

Function at 0x14155c542
Capabilities:
Execute anti-debugging instructions
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
lea rsp, [rsp + 0x10]
and rsp, 0xfffffffffffffff0
add rsp, rcx
test ebx, ebx
jmp 0x1415c43a8
push 0xffffffffebbfe71c
lea rsp, [rsp + 8]
je 0x14158bc71

Function at 0x1415726cc
Capabilities:
Encode data using xor

Disassembly:
shr bpl, 0x83
ror r9d, 2
mov ecx, ebp
mov qword [rsp + rbp*4 - 0x42b6d400], 0xffffffffd99d3dbd
inc r9d
lea rbp, [rax*8 + 0x3124b108]
mov qword [rsp + rcx - 0x10adb502], 0x443b9b03
rol r9d, 3
lea r9d, [r9 + rcx - 0x36489d91]
xor qword [rsp + rcx*4 - 0x42b6d404], rax
rol r9d, 1
mov qword [rsp + rcx*2 - 0x215b69fc], rsi
xadd bp, ax
xor rbp, rcx
movabs r13, 0x44cb48948c1d141
xchg esi, eax
movsb byte [rdi], byte [rsi]
fisub word [rsi + 0xf]
rol ebp, 0x48
xor ebp, ecx
xor dword [rsp + rcx - 0x10adb4fa], r9d
mov rsi, qword [rsp + rcx*4 - 0x42b6d400]
movsxd r9, r9d
mov qword [rsp + rcx*2 - 0x215b69fc], r10
rol rbp, 0x90
adc r8, r9
call fcn.141614ceb
add byte [rax], al
sbb eax, 0x8b35bbd1
loope 0x14157270b
xor dword [rax - 0x7f58244b], esi
mov dl, 0xac
add al, 0x15
invalid
Function at 0x1415d26a5
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + rdx - 0x3acc852b], rdx
mov qword [rsp + rdx*2 - 0x75990a4e], rbx
call fcn.141550816

Function at 0x1415d26db
Capabilities:
Authenticate hmac

Disassembly:
mov edx, 0x619ab986
mov edx, ebx
call fcn.1415d0b59
mov qword [rsp + rbx - 0x6714192b], rsi
push rbx
push rbx
mov qword [rsp + rbx - 0x67141923], rbp
neg bx
xadd word [rsp + rbx - 0x6714e6d2], bx
mov ebp, dword [rsp + rbx - 0x67140065]
mov qword [rsp + rbx - 0x67140067], r8
mov rbp, rdi
jle 0x1415c789a
jne 0x1415fde16
call fcn.141613a8f
add r8, rax
mov rdi, qword [r10 + r11 - 0x34c88]
mov r9, qword [r11 + r10*4 - 0xd3200]
mov rdx, qword [rsp + 0x10]
add rdx, 0xae210
jmp rdx
mov ebx, 0x6714192b
lea rsi, [rsi + rbx - 0x6714192c]
mov qword [rsp + rbx - 0x6714192b], rbx
movzx eax, byte [rbx + rsi - 0x6714192b]
xor al, r8b
rol al, 1
add al, 6
sub dword [rsp + rbx - 0x67141928], ebx
ror al, 1
sub al, 0x2c
ror al, 1
xor r8b, al
jmp 0x1415a08e3
mov ebx, eax
jl 0x14156f174

Function at 0x141626d06
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec r11d
movsx ebx, r9w
mov qword [rsp], rdx
neg r11d
mov eax, 0x32eb715
lea r11d, [r11 + rax*8 + 0x459af511]
pop rdx
neg r11d
push rdx
and dl, ah
neg r9d
dec r11d
rol r11d, 1
bswap r9d
mov qword [rsp + rax - 0x32eb715], r8
xor dword [rsp + rax*2 - 0x65d6e2a], r11d
pop r8
call fcn.1415d793a
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013770
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 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ac0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ae0
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014af3
xor al, al
jmp 0x140014b61
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 0x140014b1d
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b31
xor al, al
jmp 0x140014b61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b43
xor al, al
jmp 0x140014b61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b5f
xor al, al
jmp 0x140014b61
mov al, 1
add rsp, 0x38
ret
Function at 0x140001058
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x9af2b37
mov rdi, rcx
jne 0x1400010ba
movsxd rax, dword [rcx + 4]
xor ebx, ebx
test eax, eax
je 0x1400010ba
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x1400010ba
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
jne 0x1400010a4
mov ebx, 0xc0000001
jmp 0x1400010ab
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x1400010bf
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400010cc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x9af2b37
mov rsi, rcx
je 0x1400010f0
mov eax, 0xc0000001
jmp 0x1400011a8
xor edi, edi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
mov ebx, edi
lea ecx, [rdi + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400011a6
test rbx, rbx
je 0x140001128
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
mov rbx, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x140001118
test rbx, rbx
je 0x1400011a6
mov r8d, dword [rbx]
test r8d, r8d
je 0x14000119b
mov edx, edi
shl rdx, 5
test byte [rdx + rbx + 0x10], 1
je 0x140001194
cmp qword [rdx + rbx + 0x18], 0x200000
jne 0x140001194
mov ecx, dword [0x140001ee0]
mov r9b, byte [0x140001ee4]
cmp dword [rdx + rbx + 0x20], ecx
jne 0x140001194
cmp byte [rdx + rbx + 0x24], r9b
je 0x1400011b8
inc edi
cmp edi, r8d
jb 0x140001162
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + rbx + 8]
mov qword [rcx], rax
jmp 0x1400011a6
Function at 0x1400011c8
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x9af2b37
mov rbx, rcx
jne 0x140001297
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001297
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001297
mov rdi, qword [0x140003060]
test rdi, rdi
je 0x140001297
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov rsi, qword [rbx + 0x18]
call fcn.140001930
mov r10, rax
test rax, rax
jne 0x140001244
mov eax, 0xc0000141
jmp 0x14000129c
and eax, 0xfff
mov ecx, 0x1000
sub ecx, eax
cmp ecx, esi
cmovl esi, ecx
and qword [rsp + 0x48], 0
cmp byte [rbx + 0x20], 0
mov rcx, qword [rbx + 0x10]
movsxd r8, esi
je 0x14000127a
mov rdx, rcx
lea r9, [rsp + 0x48]
mov rcx, r10
call fcn.140001ae0
jmp 0x140001293
lea rax, [rsp + 0x48]
mov r9d, 1
mov rdx, r10
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x14000129c
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140001348
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [0x140003068], 0
mov r13, rcx
jne 0x140001376
call fcn.1400015ac
cmp qword [0x140003090], 0
jne 0x1400013ab
call fcn.1400012ac
mov rcx, rax
lea r8, [0x140001ea0]
lea rdx, [0x140001ed0]
call fcn.1400017c8
movsxd rcx, dword [rax + 8]
mov rax, qword [rcx + rax + 0xc]
mov qword [0x140003090], rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov rdx, qword [0x140003088]
xor r15d, r15d
mov rcx, qword [0x140003080]
lea rsi, [rax + 8]
lea r12, [rcx + rdx*8]
mov rbx, qword [rsi - 8]
test rbx, rbx
jne 0x1400013dc
cmp qword [rsi], rbx
je 0x14000148a
mov rbp, qword [rsi]
sar rbp, 0xc
sar rbx, 0xc
add rbp, rbx
cmp rbx, rbp
jge 0x14000146b
lea rdi, [rbx + rbx*2]
shl rdi, 4
mov rax, qword [0x140003090]
mov r14, qword [rdi + rax]
cmp r14, 2
jb 0x140001451
cmp qword [rdi + rax + 8], r12
jne 0x140001451
movabs rax, 0xffff800000000000
shr r14, 0xd
or r14, rax
lea rdx, [rsp + 0x58]
mov rax, rbx
shl rax, 0xc
mov qword [0x140003060], rax
mov ecx, dword [r13]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001451
cmp r14, qword [rsp + 0x58]
je 0x14000145f
inc rbx
add rdi, 0x30
cmp rbx, rbp
jl 0x1400013f7
jmp 0x14000146b
mov rcx, qword [0x140003060]
test rcx, rcx
jne 0x140001481
inc r15d
add rsi, 0x10
cmp r15d, 0xc8
jl 0x1400013ca
jmp 0x14000148a
mov rax, qword [r13 + 8]
mov qword [rax], rcx
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b660
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000b68e
xor eax, eax
jmp 0x14000b774
cmp qword [rcx + 0x68], 0
je 0x14000b69f
call fcn.14000addc
jmp 0x14000b774
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b6b6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b6b8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b6ea
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400277c0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000b76e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000b721
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000b74a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140013c70
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000b76e
cmp rsi, rbx
ja 0x14000b728
test rsi, rsi
je 0x14000b76e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140013c70
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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 0x14000c498
Capabilities:
Parse pe header

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

Function at 0x14000fdb0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000fef8