joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x140019e8a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140019e80
cmp r10, r11
jb 0x140019f06
cmp r10, rdx
ja 0x140019f18
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140019e82
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140019e60
jmp 0x140019ee7
ja 0x140019e8a
mov r11, r10
cmp rax, r8
jne 0x140019e27
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140019eeb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140019ec0
mov r8, r10
sub ecx, r9d
jns 0x140019ede
jmp 0x140019eed
cmp r10, rdx
je 0x140019efa
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140019eed
xor al, 1
cmp r8, rdx
jne 0x140019ea0
jmp 0x140019eed
xor eax, eax
jmp 0x140019eed
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14001d000
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001d540
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001d4d0
int3

Function at 0x14001ba44
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
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]
nop
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 0x180002cbc
mov rsi, r10
test r8b, r8b
je 0x180002cd0
nop word cs:[rax + rax]
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002c40
test r9b, r9b
je 0x180002ce0
sub rsi, rcx
je 0x180002cb8
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx edx, word [r15 + rbx*2]
movsx edi, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
cmp edi, 0x41
jl 0x180002c8c
lea r12d, [rdi + 0x20]
cmp dil, 0x5b
cmovge r12d, edi
mov edi, r12d
sub ebp, edi
test dx, dx
je 0x180002cb0
test ebp, ebp
jne 0x180002cb0
add rbx, 1
cmp rsi, rbx
jne 0x180002c60
jmp 0x180002cb8
test ebp, ebp
jne 0x180002c1c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
jmp 0x180002cd0
jmp 0x180002ce0
Function at 0x180002420
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 0x180002452
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002452
nop word cs:[rax + rax]
jmp 0x180002450
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 0x180002528
mov rsi, r10
test r8b, r8b
je 0x180002540
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800024c0
test r9b, r9b
je 0x180002550
sub rsi, rcx
je 0x180002524
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 0x180002520
test ebp, ebp
jne 0x180002520
add rbx, 1
cmp rsi, rbx
jne 0x1800024e0
jmp 0x180002524
test ebp, ebp
jne 0x1800024ac
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002540
jmp 0x180002550
Function at 0x180002b20
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 0x180002b52
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002b52
nop word cs:[rax + rax]
jmp 0x180002b50
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 0x180002c28
mov rsi, r10
test r8b, r8b
je 0x180002c40
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002bc0
test r9b, r9b
je 0x180002c50
sub rsi, rcx
je 0x180002c24
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 0x180002c20
test ebp, ebp
jne 0x180002c20
add rbx, 1
cmp rsi, rbx
jne 0x180002be0
jmp 0x180002c24
test ebp, ebp
jne 0x180002bac
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002c40
jmp 0x180002c50
Function at 0x1401322e1
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
cmp r8d, 0x3a692056
je 0x140132545
test r9d, r9d
jne 0x1401322ba
mov rax, qword [rax]
jmp 0x14013224e
cmp rbx, r10
je 0x1401321d2
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1401321d2
mov r11d, dword [rbx + 0x20]
je 0x140132218
jne 0x140132218
push rsi
cpuid
movabs rdx, 0x1dc58300000092e9
call fcn.140132c8c
jmp 0x1401322af
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
jmp 0x1401321f5
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1401322d8
jmp 0x1401321bc
nop word [rax + rax]
dec r9d
mov r8d, 0x1c50c293
lea rdx, [r10 + r9*4]
mov ecx, dword [rdx + r11]
add rcx, r10
movzx edx, byte [rcx]
jmp 0x14013210e
movsx edx, dl
lea rcx, [rcx + 1]
je 0x14013230d
jne 0x14013230d
jmp rcx
jmp 0x140132279
mov eax, dword [rbx + 0x24]
mov ecx, dword [rbx + 0x1c]
add rax, r10
je 0x140132580
jne 0x140132580
popfq
xor r12d, 0x8a95890a
lea r9d, [rdx - 0x9be5]
jg 0x14013338e
and edx, 0xc5ba239c
cmp r13d, 0xe63c1187
int3
jmp 0x1401325bd
add rcx, r10
movzx edx, word [rax + r9*2]
mov rax, qword gs:[0x60]
mov edi, dword [rcx + rdx*4]
mov rax, qword [rax + 0x18]
add rdi, r10
xchg rdi, r11
je 0x14013260e
jne 0x14013260e
mov r9d, 0x1793b4bb
rcl r14d, 0xc4
rcr r12d, 0xe
popfq
ror r15d, 0xfe
bswap r12
pushf
push r13
jmp 0x1401330e7
jmp 0x1401326a2
mov qword [rsp + 0x30], r11
xchg r11, rdi
mov rax, qword [rax + 0x10]
nop dword [rax]
jne 0x14013312a
xor eax, 0x6f1ec717
add byte [rax], 0
add byte [rcx + 0x2a], bh
jae 0x1401331aa
std
add eax, 0xffed820f
invalid
xchg ebp, eax
cmc
invalid
Function at 0x1401333d0
Capabilities:
Contain obfuscated stackstrings
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
xchg r9, r8
mov qword [rsp + 0x18], r9
xchg r9, r8
mov dword [rsp + 0x10], edx
jmp 0x1401333fa
mov r12, qword [rsp + 0x30]
xchg r12, rax
mov qword [rsp + 0x10], rax
jmp 0x14013344f
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, [0x140133620]
mov qword [rsp + 0x18], rax
mov dword [rsp + 8], 0
xchg r12, rax
je 0x140133421
jne 0x140133421
jmp rax
jmp 0x1401333e9
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Allocate user process rwx memory
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140001075
lfence
lea rcx, [0x140002670]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x30]
jmp 0x140001105
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [rsp + 0x30], 0
jge 0x1400010e8
lfence
lea rcx, [0x140002690]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
jmp 0x140001105
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002290
add rsp, 0x88
ret

Function at 0x14000111c
Capabilities:
Allocate or change rwx memory
Allocate user process rwx memory
Attach user process memory
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000117e
lfence
mov eax, dword [rsp + 0x30]
jmp 0x1400011fb
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x98]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400011e1
cmp qword [rsp + 0xb0], 0
je 0x1400011e1
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140002290
add rsp, 0x88
ret
Function at 0x140001244
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x60], 0
jne 0x14000126b
xor al, al
jmp 0x140001379
lea rdx, [0x1400026c0]
lea rcx, [0x1400026d0]
call fcn.140001604
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001292
xor al, al
jmp 0x140001379
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140002700]
call sub.ntoskrnl.exe_DbgPrint
mov byte [rsp + 0x38], 0x8b
mov byte [rsp + 0x39], 4
mov byte [rsp + 0x3a], 0x24
mov byte [rsp + 0x3b], 0x89
mov byte [rsp + 0x3c], 0x41
mov byte [rsp + 0x3d], 0x44
mov byte [rsp + 0x3e], 0xc7
mov byte [rsp + 0x3f], 0x41
mov byte [rsp + 0x40], 0x30
mov byte [rsp + 0x41], 0xf
mov byte [rsp + 0x42], 0
mov byte [rsp + 0x43], 0x10
mov byte [rsp + 0x20], 0x48
mov byte [rsp + 0x21], 0xb8
mov byte [rsp + 0x24], 0xff
mov byte [rsp + 0x25], 0xe0
mov edx, 0xc
lea rcx, [rsp + 0x38]
call fcn.140001f64
mov r8d, 2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400023c0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3a]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400023c0
lea rax, [rsp + 0x42]
mov r8d, 2
lea rdx, [rsp + 0x24]
mov rcx, rax
call fcn.1400023c0
mov r8d, 0xc
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140001e94
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140002720]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002290
add rsp, 0x58
ret
Function at 0x1400014b8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x20], 0
jne 0x1400014f1
xor eax, eax
jmp 0x1400015ff
mov eax, dword [rsp + 0x20]
mov r8d, 0x4e554c4c
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jge 0x140001535
xor eax, eax
jmp 0x1400015ff
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x24], 0
jmp 0x140001569
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x1400015d9
lfence
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x1400015d7
lfence
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x1400015d9
jmp 0x14000155f
cmp qword [rsp + 0x30], 0
je 0x1400015ee
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp qword [rsp + 0x40], 0
ja 0x1400015fa
xor eax, eax
jmp 0x1400015ff
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140001a54
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x78], 0
je 0x140001a8a
cmp qword [rsp + 0x80], 0
je 0x140001a8a
cmp qword [rsp + 0x88], 0
jne 0x140001a8e
xor al, al
jmp 0x140001afe
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], 0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x80]
mov r8, rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001afc
xor al, al
jmp 0x140001afe
mov al, 1
add rsp, 0x68
ret
Function at 0x1400021a4
Capabilities:
Attach user process memory
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, cr3
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140001f94
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140002256
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
and rax, 1
test rax, rax
je 0x140002256
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400027b0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x20]
movabs rcx, 0x7fffffffffffffff
mov rax, qword [rax]
and rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002290
add rsp, 0x60
pop rdi
ret
Function at 0x18001805c
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp qword [0x1802dd6c0], rbx
je 0x18001810e
cmp qword [0x1802dd958], rbx
je 0x18001810e
cmp qword [0x1802dd960], rbx
je 0x18001810e
lea rcx, [0x1802dd6c0]
call fcn.18003b6fc
cmp byte [0x1802daa8d], bl
movsxd r8, dword [rax]
je 0x1800180e6
mov r9d, ebx
mov r10, r8
lea ecx, [r9*8]
mov rdx, r10
shr rdx, cl
inc r9d
mov al, dl
xor al, 0x3d
shl al, 4
movzx r8d, al
movzx eax, dl
xor eax, 0x30
shr eax, 4
or r8d, eax
xor r8d, 0xd0
shl r8d, cl
or ebx, r8d
cmp r9d, 4
jl 0x1800180a8
mov r8d, ebx
lea rdx, [rsp + 0x20]
lea rcx, [0x1802dd960]
call fcn.18003b604
movups xmm0, xmmword [rax]
movups xmmword [0x1802ddae8], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [0x1802ddaf8], xmm1
add rsp, 0x40
pop rbx
ret
Function at 0x180039c4c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1802a8070]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x180289768]
movss dword [rsp + 0x24], xmm6
mov rdx, qword [rcx]
cmp rdx, 2
jb 0x180039e2e
mov ecx, 0x68
mov dword [rsp + 0x20], ecx
mov eax, dword [0x1802dabc4]
cmp eax, 0x9f3
jl 0x180039cb6
mov ecx, 0x70
jmp 0x180039cc8
add eax, 0xfffff766
mov r8d, 0x40
cmp eax, 0x45
cmovbe ecx, r8d
mov dword [rsp + 0x20], ecx
movsxd rax, ecx
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x180039ce0
movaps xmm0, xmm6
jmp 0x180039e31
mov r14d, dword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x180039cf5
movaps xmm0, xmm6
jmp 0x180039e31
xor ebx, ebx
movabs r15, 0x93259257cdbdd80e
mov dword [rsp + 0x28], ebx
cmp ebx, r14d
jge 0x180039e26
lea eax, [rbx*8]
movsxd rcx, eax
mov rdi, qword [rcx + rsi + 0x20]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x180039d32
jmp 0x180039e1f
lea rcx, [rsp + 0x30]
call fcn.180039a08
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rdi]
cmp byte [rsp + 0x38], 0
je 0x180039e1f
movabs rcx, 0x20be6aed44fdabc7
mov qword [rsp + 0x50], rcx
movabs rcx, 0x10f8e15893c0a498
mov qword [rsp + 0x58], rcx
movabs rcx, 0x196e55e05d5f80c
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r15
movabs rcx, 0x49ca09882e92d997
mov qword [rsp + 0x70], rcx
movabs rcx, 0x7e979139f697c1f4
mov qword [rsp + 0x78], rcx
movabs rcx, 0x196e55e05b19741
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.180195870
test rax, rax
je 0x180039e1f
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [0x18028972c]
jb 0x180039e26
comiss xmm6, xmm0
jb 0x180039e26
mulss xmm6, xmm0
movss dword [rsp + 0x24], xmm6
jmp 0x180039e26
inc ebx
jmp 0x180039d01
jmp 0x180039e2e
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801933d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
Function at 0x180061d68
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1802a8070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0x5a4d
mov r14, r9
mov rbp, r8
cmp word [rdx], ax
jne 0x180061e0d
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180061e0d
movzx esi, word [rcx + 0x14]
xor r11d, r11d
movzx ebx, word [rcx + 6]
add rsi, rcx
test rbx, rbx
je 0x180061e0d
xor r8d, r8d
lea rcx, [rsi + 0x18]
test dword [rcx + 0x24], 0x20000
jne 0x180061dfe
mov rax, qword [rcx]
mov rdi, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
sub rdi, rax
mov byte [rsp + 0x38], 0
movzx r9d, byte [rax]
movzx r10d, byte [rax + rdi]
sub r9d, r10d
jne 0x180061df9
inc rax
test r10d, r10d
jne 0x180061de3
test r9d, r9d
je 0x180061e31
inc r11d
inc r8
add rcx, 0x28
cmp r8, rbx
jl 0x180061dc2
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801933d0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
movsxd rax, r11d
mov r9, r14
lea rcx, [rax + rax*4]
mov ebx, dword [rsi + rcx*8 + 0x24]
mov r8d, dword [rsi + rcx*8 + 0x20]
add rbx, rdx
mov rdx, rbx
call fcn.180061c70
cmp rax, 0xffffffffffffffff
je 0x180061e0d
add rax, rbx
jmp 0x180061e0f
Function at 0x180079678
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x1800796b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x1800796b6
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18007972c
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18007972c
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0xc6dd7b32
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x180079728
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x180079708
cmp r11d, 0x904777b8
je 0x180079731
test edx, edx
jne 0x1800796eb
mov rax, qword [rax]
jmp 0x1800796c7
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax