joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180154090
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1c8]
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1801ca554]
call fcn.1800780e4
mov eax, dword [rbp + 0x1a0]
imul rax, rax, 0x38
mov rcx, qword [0x1801bd8f0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x48], 5
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180154132
mov rax, qword [rbp + 0x68]
sub rax, 5
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
add rax, 2
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180154158
mov eax, 0xa
jmp 0x180154287
cmp dword [rbp + 0x1a8], 0
je 0x1801541cc
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov byte [rax], 0xe9
mov rax, qword [rbp + 0x68]
add rax, 5
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x88]
mov dword [rcx + 1], eax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1801541ca
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax], 0xeb
mov rax, qword [rbp + 0xa8]
mov byte [rax + 1], 0xf9
jmp 0x180154213
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1801541f9
mov rax, qword [rbp + 8]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call fcn.180076fb9
jmp 0x180154213
mov rax, qword [rbp + 8]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call fcn.180076fb9
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rbp + 0x1a8]
and al, 1
shl al, 1
mov rcx, qword [rbp + 8]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rbp + 8]
mov byte [rcx + 0x20], al
movzx eax, byte [rbp + 0x1a8]
and al, 1
shl al, 2
mov rcx, qword [rbp + 8]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rbp + 8]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18019e1e0]
call fcn.180077bad
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1801543e0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1801ca554]
call fcn.1800780e4
xor edx, edx
mov ecx, 4
call fcn.180076f5a
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x1801545af
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.18007745f
test eax, eax
je 0x1801545a5
mov eax, dword [rbp + 0x28]
cmp rax, 0x10
jb 0x180154589
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp + 0x34], eax
jne 0x180154589
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 0x30], eax
je 0x180154589
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x1801544e4
mov rax, qword [rbp + 0x160]
mov dword [rax + 8], 0x80
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801bcb00]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp + 0x160]
mov qword [rcx], rax
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x1801544e2
jmp 0x1801545a5
jmp 0x180154559
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x160]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x180154559
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rbp + 0x160]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801bcb00]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x180154535
jmp 0x1801545a5
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rbp + 0x160]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
mov qword [rax], rcx
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx]
mov edx, dword [rbp + 0x30]
mov dword [rcx + rax*4], edx
mov rax, qword [rbp + 0x160]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rbp + 0x160]
mov dword [rcx + 0xc], eax
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1800763c0
test eax, eax
jne 0x180154460
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019e160]
call fcn.180077bad
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1801548e0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca554]
call fcn.1800780e4
mov rax, qword [rbp + 0x120]
mov qword [rax], 0
mov rax, qword [rbp + 0x120]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x120]
mov dword [rax + 0xc], 0
mov rcx, qword [rbp + 0x120]
call fcn.1801543e0
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x1801549c0
mov dword [rbp + 4], 0
jmp 0x18015495c
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 4], eax
jae 0x1801549c0
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1801549be
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rbp + 0x130]
mov edx, dword [rbp + 0x128]
mov rcx, qword [rbp + 0x28]
call fcn.180155730
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180154954
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x180155b00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca554]
call fcn.1800780e4
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x180155ba4
mov dword [rbp + 4], 0
jmp 0x180155b3d
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 4], eax
jae 0x180155b8b
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x180155b89
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180155b35
mov rax, qword [rbp + 0x120]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801bcb00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1801565c0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca618]
call fcn.1800780e4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180156635
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180156635
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180156635
xor eax, eax
jmp 0x180156682
mov dword [rbp + 4], 1
jmp 0x180156646
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x108]
cmp dword [rbp + 4], eax
jae 0x18015667d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18015667b
xor eax, eax
jmp 0x180156682
jmp 0x18015663e
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140002d58
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x38], rcx
lea rdi, [rbp - 0x18]
mov edx, 0x104
mov rcx, rdi
mov r8b, 1
call fcn.14000237b
cmp qword [rdi], 0
mov rdi, qword [rdi + 8]
jne 0x140002f79
mov rbx, qword [rbp - 8]
mov ecx, 0x104
mov rdx, rbx
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, 0x208
xor esi, esi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rbx
test rax, rax
je 0x140002dd0
cmp word [rbx + rsi*2], 0
je 0x140002dd5
inc rsi
add rax, 0xfffffffffffffffe
jmp 0x140002dbb
mov esi, 0x104
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 1
and qword [rbp - 8], 0
mov rax, rsi
shr rax, 1
mov r8d, esi
and r8d, 1
add r8, rax
je 0x140002e04
lea rcx, [rbp - 0x18]
xor edx, edx
call fcn.140033a88
mov r13, qword [rbp - 0x20]
lea rbx, [rsi*2]
add rbx, r13
xor esi, esi
lea r15, [rbp - 0x18]
test si, si
je 0x140002e23
mov r14d, edi
jmp 0x140002e35
cmp r13, rbx
je 0x140002f47
movzx r14d, word [r13]
add r13, 2
mov eax, r14d
and eax, 0xf800
cmp ax, 0xd800
jne 0x140002e9e
mov ecx, 0xfffd
cmp r14w, 0xdbff
ja 0x140002ede
cmp r13, rbx
je 0x140002ee2
movzx eax, word [r13]
add r13, 2
mov edx, eax
add edx, 0x2000
cmp dx, 0xfc00
jb 0x140002ee9
movzx eax, ax
mov ecx, 0x3ff
and r14d, ecx
and eax, ecx
shl r14, 0x1a
shl eax, 0x10
or rax, r14
movabs rcx, 0x100000000
add rax, rcx
mov r14, rax
jmp 0x140002ea2
shl r14d, 0x10
shr r14, 0x10
cmp r14d, 0x80
jae 0x140002ed7
mov rsi, qword [rbp - 8]
cmp rsi, qword [rbp - 0x18]
jne 0x140002ec1
mov rcx, r15
call fcn.14000dc92
mov rax, qword [rbp - 0x10]
mov byte [rax + rsi], r14b
inc rsi
mov qword [rbp - 8], rsi
xor esi, esi
jmp 0x140002e19
xor esi, esi
mov ecx, r14d
jmp 0x140002eef
xor esi, esi
jmp 0x140002eef
xor esi, esi
mov r13, rbx
jmp 0x140002eef
mov si, 1
mov edi, eax
and dword [rbp - 0x24], 0
lea rdx, [rbp - 0x24]
call fcn.140001e3c
mov r15, rax
mov r14, rdx
mov rax, qword [rbp - 0x18]
mov r12, qword [rbp - 8]
sub rax, r12
cmp rax, rdx
jae 0x140002f25
lea rcx, [rbp - 0x18]
mov rdx, r12
mov r8, r14
call fcn.140033a88
mov r12, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
add rcx, r12
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r14, r12
mov qword [rbp - 8], r14
lea r15, [rbp - 0x18]
jmp 0x140002e19
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x38]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rcx], xmm0
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
call fcn.140001aab
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdx, qword [rbp - 8]
mov rcx, rdi
call fcn.140033900
int3
Function at 0x14001ed10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14001ed90
cmp r10, r11
jb 0x14001ee07
cmp r10, rdx
ja 0x14001ee19
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14001ed92
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001ed70
jmp 0x14001edf4
ja 0x14001ed9a
mov r11, r10
cmp rax, r8
jne 0x14001ed3e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14001edd0
mov rdi, r8
sub ecx, edx
jns 0x14001edeb
jmp 0x14001edf6
cmp r8, rsi
je 0x14001ee28
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001edf6
xor al, 1
cmp rdi, rsi
jne 0x14001edb0
jmp 0x14001edf6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140034690
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400343b0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140034700
int3

Function at 0x140023ad0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140023af5
cmp rax, rcx
je 0x140023afb
cmp rdx, 4
jae 0x140023b02
xor eax, eax
xor r8d, r8d
jmp 0x140023ba0
pop rbp
jmp fcn.14001c580
xor eax, eax
jmp 0x140023bb7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400365a0]
movdqa xmm3, xmmword [0x1400365b0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140023b30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140023bb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140023ba0
pop rbp
ret
Function at 0x140029b40
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi

Function at 0x14002bf90
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
mov r8d, 0xe
call fcn.14002c3b0
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
movabs rdi, 0x8000000000000000
cmp rax, rdi

Function at 0x14002d060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi

Function at 0x1400319d0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
mov r9, rcx
mov ecx, 0xfffffff4
pop rbp
jmp fcn.1400275b0

Function at 0x140033320
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002442
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002442
nop word cs:[rax + rax]
jmp 0x180002440
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002518
mov rsi, r10
test r8b, r8b
je 0x180002530
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800024b0
test r9b, r9b
je 0x180002540
sub rsi, rcx
je 0x180002514
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002510
test ebp, ebp
jne 0x180002510
add rbx, 1
cmp rsi, rbx
jne 0x1800024d0
jmp 0x180002514
test ebp, ebp
jne 0x18000249c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002530
jmp 0x180002540
Function at 0x180002b90
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002bc2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002bc2
nop word cs:[rax + rax]
jmp 0x180002bc0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002c98
mov rsi, r10
test r8b, r8b
je 0x180002cb0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002c30
test r9b, r9b
je 0x180002cc0
sub rsi, rcx
je 0x180002c94
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002c90
test ebp, ebp
jne 0x180002c90
add rbx, 1
cmp rsi, rbx
jne 0x180002c50
jmp 0x180002c94
test ebp, ebp
jne 0x180002c1c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002cb0
jmp 0x180002cc0
Function at 0x140011032
Capabilities:
Set console window title

Disassembly:
jmp 0x140017bd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140040009]
call fcn.140011933
nop
mov rax, qword [rbp + 0x120]
mov rcx, rax
call fcn.1400115b4
nop
call qword [sym.imp.KERNEL32.dll_AllocConsole]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
nop
mov rcx, qword [rbp + 0x128]
call fcn.1400118de
movzx eax, al
test eax, eax
jne 0x140017c6e
mov rcx, qword [rbp + 0x128]
call fcn.1400116bd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14002f7c4]
lea rdx, [0x14002f7c8]
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_freopen_s]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14002f7d0]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_freopen_s]
nop
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14002f7d0]
lea rdx, str.conout_
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_freopen_s]
nop
mov rax, qword [rbp + 0x120]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002e180]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400111b3
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1400218b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x140040167]
call fcn.140011933
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xc0000004
jne 0x1400219bc
cmp qword [rbp + 0x48], 0
je 0x140021980
mov eax, dword [rbp + 0x24]
shl rax, 1
mov qword [rbp + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x140], rax
mov r9, qword [rbp + 0x138]
mov r8, qword [rbp + 0x48]
mov edx, 8
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbp + 0x48], rax
jmp 0x1400219b7
mov eax, dword [rbp + 0x24]
shl rax, 1
mov qword [rbp + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x140], rax
mov r8, qword [rbp + 0x138]
mov edx, 8
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x48], rax
jmp 0x140021915
cmp dword [rbp + 4], 0
jl 0x140021a1c
mov dword [rbp + 0x64], 0
jmp 0x1400219d3
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
cmp dword [rbp + 0x64], eax
jae 0x140021a1c
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x30]
mov rdx, qword [rbp + 0x178]
mov rcx, rax
call fcn.14001141a
test rax, rax
je 0x140021a1a
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + rax + 0x18]
jmp 0x140021a1e
jmp 0x1400219cb
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140031e30]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret