joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f290
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rcx], 0x4000400
mov r10, rcx
mov ecx, edx
mov r9d, 0x400
mov qword [rsp + 0x40], rcx
test edx, edx
je 0x14001f30d
lea rax, [r10 + 8]
nop dword [rax]
nop dword [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14001f2c0
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x14001f47c
test edx, edx
je 0x14001f47c
mov qword [rsp + 0x48], rbx
xor ebx, ebx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
lea rsi, [0x140062800]
mov qword [rsp + 0x18], r12
mov qword [rsp + 0x10], r13
lea r13, [r10 + 0x4808]
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15, [r10 + 0x404]
nop word [rax + rax]
mov ebp, dword [r10 + 0x4804]
lea rdi, [0x140062800]
mov dword [r13], ebp
movzx ecx, word [r10]
mov eax, ecx
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
movzx edx, byte [rcx + rdi]
movzx esi, byte [rax + rsi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], esi
shr rax, 4
xor rcx, 0x7f0
shr rcx, 4
movzx r14d, byte [rax + rdi]
xor eax, eax
movzx r12d, byte [rcx + rdi]
add r14d, edx
add r12d, edx
test ebp, ebp
je 0x14001f438
mov r11, r15
cmp eax, 8
jae 0x14001f482
xor r9d, r9d
lea r8d, [rax + 8]
lea rsi, [0x140062800]
nop dword [rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 4]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14001f3f0
mov ecx, dword [rsp + 0x50]
inc eax
add ecx, r9d
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14001f3d2
lea rsi, [0x140062800]
add r13, 4
add r15, 0x440
add rbx, 8
sub qword [rsp + 0x40], 1
jne 0x14001f370
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, ebp
jae 0x14001f438
lea r11, [r15 + rax*4]
lea rsi, [0x140062800]
cmp eax, 0x10
jae 0x14001f4ed
xor r9d, r9d
mov r8d, eax
nop dword [rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 0x104]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14001f4a0
lea ecx, [r9 + r14]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14001f491
jmp 0x14001f43f
lea r9, [r15 + rax*4]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
lea edi, [rax + 0xf0]
nop dword [rax]
mov edx, edi
shr edi, 1
and edx, 1
neg edx
shr rdx, 4
movzx ecx, word [r10 + rdi*2 + 0x204]
and edx, 0x7f
shr rcx, 4
xor rcx, rdx
movzx ecx, byte [rcx + rsi]
add r8d, ecx
cmp edi, 1
jne 0x14001f510
lea ecx, [r8 + r12]
inc eax
mov dword [r9], ecx
add r9, 4
cmp eax, ebp
jb 0x14001f500
jmp 0x14001f43f
Function at 0x14001f560
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x140062800]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x14001f749
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x14001f66f
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x140062800]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x14001f620
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x14001f5f8
jmp 0x14001f73f
cmp r9d, esi
jae 0x14001f73f
lea rdi, [r12 + r9*4]
lea r14, [0x140062800]
cmp r9d, 0x10
jae 0x14001f6ec
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x14001f6a0
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x14001f683
jmp 0x14001f73f
lea rbx, [r12 + r9*4]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr rdx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and edx, 0x7f
shr r8, 4
xor r8, rdx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x14001f700
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x14001f6f0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140027770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
lea rdi, [0x140064a40]
mov r11, rdx
mov r10, rcx
not r8d
cmp rdx, 8
jbe 0x140027874
mov qword [rsp + 0x10], rbx
test cl, 7
je 0x1400277bf
nop word [rax + rax]
movzx eax, byte [r10]
dec r11
movzx ecx, r8b
inc r10
xor rcx, rax
shr r8d, 8
xor r8d, dword [rdi + rcx*4]
test r10b, 7
jne 0x1400277a0
mov rbx, r11
and r11d, 7
and rbx, 0xfffffffffffffff8
add rbx, r10
cmp r10, rbx
jae 0x14002786f
nop word [rax + rax]
xor r8d, dword [r10]
mov r9d, dword [r10 + 4]
add r10, 8
mov edx, r8d
mov eax, r8d
shr rax, 0x10
movzx r8d, al
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, r9d
shr rax, 0x10
mov r8d, dword [rdi + r8*4 + 0x1400]
xor r8d, dword [rdi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r9d
shr rax, 8
xor r8d, dword [rdi + rcx*4 + 0x400]
movzx ecx, al
mov eax, edx
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x800]
xor r8d, dword [rdi + rax*4 + 0x1000]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rax*4]
movzx eax, dl
xor r8d, dword [rdi + rax*4 + 0x1c00]
movzx eax, r9b
xor r8d, dword [rdi + rax*4 + 0xc00]
cmp r10, rbx
jb 0x1400277e0
mov rbx, qword [rsp + 0x10]
test r11, r11
je 0x14002789d
nop dword [rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [rdi + rcx*4]
sub r11, 1
jne 0x140027880
not r8d
mov eax, r8d
pop rdi
ret

Function at 0x1400278b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
lea rsi, [0x140066a40]
mov rbx, rdx
mov r11, rcx
not r8
cmp rdx, 4
jbe 0x14002797f
mov qword [rsp + 0x10], rdi
test cl, 3
je 0x1400278ff
nop word [rax + rax]
movzx eax, byte [r11]
dec rbx
movzx ecx, r8b
inc r11
xor rcx, rax
shr r8, 8
xor r8, qword [rsi + rcx*8]
test r11b, 3
jne 0x1400278e0
mov rdi, rbx
and ebx, 3
and rdi, 0xfffffffffffffffc
add rdi, r11
cmp r11, rdi
jae 0x14002797a
nop dword [rax]
nop word [rax + rax]
mov r10d, dword [r11]
add r11, 4
mov eax, r8d
xor r10, rax
mov rax, r10
shr rax, 0x10
movzx edx, al
mov rax, r10
shr rax, 8
movzx ecx, al
mov rax, r10
shr rax, 0x18
mov r9, qword [rsi + rdx*8 + 0x800]
xor r9, qword [rsi + rcx*8 + 0x1000]
xor r9, qword [rsi + rax*8]
movzx eax, r10b
xor r9, qword [rsi + rax*8 + 0x1800]
mov rax, r8
shr rax, 0x20
mov r8, r9
xor r8, rax
cmp r11, rdi
jb 0x140027920
mov rdi, qword [rsp + 0x10]
test rbx, rbx
je 0x1400279ad
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8, 8
xor r8, qword [rsi + rcx*8]
sub rbx, 1
jne 0x140027990
mov rbx, qword [rsp + 0x18]
not r8
mov rax, r8
pop rsi
ret
Function at 0x14002aad0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r12d, 4
lea rbx, [rcx + 0x10290]
mov ebp, r12d
lea rsi, [rcx + 0x10698]
mov r9, rcx
lea r13, [0x140062800]
xor edi, edi
nop
mov eax, dword [r9 + 0x10e90]
xor r11d, r11d
test eax, eax
je 0x14002ab77
nop
xor r10d, r10d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r9 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r13]
add r10d, ecx
cmp eax, 1
jne 0x14002ab30
mov dword [rbx + r11*4], r10d
inc r11d
mov eax, dword [r9 + 0x10e90]
cmp r11d, eax
jb 0x14002ab20
mov edx, 0xe
cmp eax, edx
jbe 0x14002aba0
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r9 + 0x10e90]
jb 0x14002ab80
nop dword [rax]
mov eax, dword [rbx]
add rdi, 0x40
mov dword [rsi - 8], eax
mov eax, dword [rbx + 4]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 8]
mov dword [rsi], eax
mov eax, dword [rbx + 0xc]
add rbx, 0x100
mov dword [rsi + 4], eax
add rsi, 0x200
sub rbp, 1
jne 0x14002ab10
mov r15, r12
lea r14, [0x140062884]
lea rdi, [r9 + 0x10aa0]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14]
mov ebx, r12d
mov r11d, eax
mov r10d, eax
and eax, 1
shr r11d, 1
dec r11d
or eax, 2
mov ecx, r11d
shl eax, cl
sub ebx, eax
mov ebp, eax
xor r8d, r8d
lea esi, [r8 + 1]
nop dword [rax]
mov eax, esi
mov edx, ebx
sub rax, r10
shr ebx, 1
add rax, rbp
and edx, 1
movzx ecx, word [r9 + rax*2 + 0x70fa]
lea esi, [rdx + rsi*2]
mov eax, edx
shr rcx, 4
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r13]
add r8d, eax
add r11d, 0xffffffff
jne 0x14002ac20
mov ecx, dword [r9 + r10*4 + 0x10290]
inc r12d
add ecx, r8d
inc r15
mov dword [rdi - 0x400], ecx
inc r14
mov ecx, dword [r9 + r10*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 0x200], ecx
mov ecx, dword [r9 + r10*4 + 0x10490]
add ecx, r8d
mov dword [rdi], ecx
mov ecx, dword [r9 + r10*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x200], ecx
add rdi, 4
cmp r12d, 0x80
jb 0x14002abf0
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r9 + 0x10e94], r11d
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14002ace0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
sub ecx, r10d
shr r8d, cl
mov ecx, r10d
mov eax, dword [r11 + 0xb98]
xor r10d, r10d
and eax, edx
shl eax, cl
mov ecx, dword [rsp + 0x30]
add r8d, eax
add ecx, 0x100
lea rbx, [r8 + r8*2]
shl rbx, 9
add rbx, r11
test r9b, r9b
lea r9, [0x140062800]
jne 0x14002ad66
nop
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
shr rdx, 4
movzx r8d, word [rbx + rcx*2 + 0xb9c]
and edx, 0x7f
shr r8, 4
xor r8, rdx
movzx edx, byte [r8 + r9]
add r10d, edx
cmp ecx, 1
jne 0x14002ad30
mov eax, r10d
mov rbx, qword [rsp + 8]
ret
mov r11d, dword [rsp + 0x28]
mov r8d, 0x100
add r11d, r11d
mov eax, r8d
and eax, r11d
mov edx, ecx
add eax, r8d
shr edx, 8
add edx, eax
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
neg eax
movzx edx, word [rbx + rdx*2 + 0xb9c]
shr rax, 4
and eax, 0x7f
shr rdx, 4
xor rdx, rax
movzx eax, byte [rdx + r9]
add r10d, eax
mov eax, r11d
xor eax, ecx
not eax
and r8d, eax
cmp ecx, 0x10000
jb 0x14002ad71
mov rbx, qword [rsp + 8]
mov eax, r10d
ret
Function at 0x14002f250
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001ba5a
mov al, 1
jmp 0x14001baba
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ba6b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001bab8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019b98
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bab8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bab8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bab8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001baba
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001fed0
Capabilities:
Parse pe header

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

Function at 0x1400018e4
Capabilities:
Parse pe header

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

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

Disassembly:
cld
pop r11
jmp 0x35ec43d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x35ec44d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x35ec435
lea eax, [rcx + 1]
jmp 0x35ec45b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x35ec46e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x35ec454
sub eax, 3
jb 0x35ec48e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x35ec4dd
sar eax, 1
movsxd rbp, eax
jb 0x35ec4c4
jmp 0x35ec49c
add ebx, ebx
jne 0x35ec49a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x35ec4c4
inc ecx
add ebx, ebx
jne 0x35ec4aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x35ec4c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x35ec4bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x35ec4ac
add ecx, 2
jmp 0x35ec4c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.035ec3f2
jmp 0x35ec43d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3192000]
mov eax, dword [rdi]
or eax, eax
je 0x35ec539
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x32156c8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x35ec4e9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x35ec533
mov qword [rbx], rax
add rbx, 8
jmp 0x35ec509
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x35ec57d
cmp al, 0xef
ja 0x35ec565
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x35ec545
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x35ec554
mov eax, dword [rdi]
add rdi, 4
jmp 0x35ec554
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x35ec5d1
sub rsp, 0xffffffffffffff80
jmp 0x1445500
Function at 0x140001000
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r15d, r15d
nop word [rax + rax]
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001030
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x34]
mov rcx, rax
mov edx, dword [rsp + 0x30]
add r8d, 2
add edx, 2
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, edi
movzx esi, di
shr ecx, 0x10
movzx ebp, cl
mov ecx, 0xa4
shr esi, 8
movzx r14d, dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001030
nop
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x34]
mov rcx, rax
mov edx, dword [rsp + 0x30]
add r8d, 2
add edx, 2
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, edi
movzx r8d, dil
shr ecx, 0x10
movzx edx, cl
movzx ecx, di
shr ecx, 8
lea eax, [r8 + 0x14]
cmp r14d, eax
ja 0x140001127
lea eax, [r8 - 0x14]
cmp r14d, eax
jl 0x140001127
lea eax, [rcx + 0x14]
cmp esi, eax
ja 0x140001127
add ecx, 0xffffffec
cmp esi, ecx
jl 0x140001127
lea eax, [rdx + 0x14]
cmp ebp, eax
ja 0x140001127
lea eax, [rdx - 0x14]
cmp ebp, eax
jge 0x140001153
xor edx, edx
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400010a0
jmp 0x140001030

Function at 0x140001ac8
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140016a6b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x14009fa78]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034da0
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x140016945
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140016954
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140016973
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140016983
cmp rbx, 0x1000
jae 0x14001694b
jmp 0x1400169ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140016995
xor edx, edx
jmp 0x1400169e4
mov rcx, qword [0x14009fa78]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140034da0
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x140016979
jmp 0x140016968
call fcn.140067a20
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.140038e40
lea rax, [0x1400cafa6]
mov ebx, 0x18
nop dword [rax]
call fcn.1400396c0
mov rax, qword [rsp + 0x38]
call fcn.140039400
lea rax, [0x1400cb2fd]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.1400396c0
mov rax, qword [rsp + 0x30]
call fcn.140039400
call fcn.140039080
call fcn.140038ea0
lea rax, [0x1400cd031]
mov ebx, 0x21
call fcn.1400373a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064300
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400168e0
Function at 0x140016aa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140016cc6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x14009fa70]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034e20
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140016b13
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140016b22
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140016b45
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140016b55
cmp rbx, 0x1000
jae 0x140016b19
nop
jmp 0x140016bd8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x140016b6d
xor esi, esi
jmp 0x140016bca
mov rax, qword [0x14009fa70]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140034e20
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x140016b4b
jmp 0x140016b36
call fcn.140067a20
xorps xmm15, xmm15
mov r14, qword [0x1401fd258]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140016c60
nop dword [rax + rax]
call fcn.140038e40
lea rax, [0x1400cb316]
mov ebx, 0x19
call fcn.1400396c0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.140039400
lea rax, [0x1400cb2fd]
mov ebx, 0x19
call fcn.1400396c0
mov eax, dword [rsp + 0x34]
call fcn.140039400
nop
call fcn.140039080
call fcn.140038ea0
lea rax, [0x1400c8625]
mov ebx, 0xd
call fcn.1400373a0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140016c00
call fcn.140038e40
lea rax, [0x1400cb316]
mov ebx, 0x19
call fcn.1400396c0
mov rax, qword [rsp + 0x38]
call fcn.140039400
lea rax, [0x1400cb2fd]
mov ebx, 0x19
call fcn.1400396c0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.140039400
call fcn.140039080
call fcn.140038ea0
lea rax, [0x1400cc958]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.1400373a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064300
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.140016aa0