joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800896c4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18007eb14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007eb14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180089814
cmp rax, 0xffffffffffffffff
je 0x180089814
xor edi, edi
test rbp, rbp
jle 0x1800897bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180079a24
mov rbx, rax
test rax, rax
jne 0x18008974c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800897b5
mov edx, 0x8000
mov ecx, r14d
call fcn.180089548
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18007bb08
cmp eax, 0xffffffff
je 0x180089795
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18008975c
mov edx, r15d
mov ecx, r14d
call fcn.180089548
jmp 0x1800897b5
cmp byte [rsi + 0x38], dil
je 0x1800897ac
cmp dword [rsi + 0x34], 5
jne 0x1800897ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800897b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180079a9c
jmp 0x180089828
jns 0x180089828
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007eb14
cmp rax, 0xffffffffffffffff
jne 0x1800897e0
cmp byte [rsi + 0x30], dil
je 0x180089828
mov edi, dword [rsi + 0x2c]
jmp 0x180089828
mov ecx, r14d
call fcn.1800825e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180089828
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180089828
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180089821
mov eax, dword [rsi + 0x2c]
jmp 0x180089826
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007eb14
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18008a050
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18008a078
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18008a078
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140ddc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ddc1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ddc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ddc06f
add dl, dl
jne 0x140ddc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ddc0f6
xor eax, eax
add dl, dl
jne 0x140ddc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ddc1ad
add dl, dl
jne 0x140ddc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ddc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ddc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ddc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ddc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ddc07e
mov eax, 1
add dl, dl
jne 0x140ddc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ddc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ddc0fb
sub eax, ebx
mov ebx, 1
jne 0x140ddc14c
mov ecx, 1
add dl, dl
jne 0x140ddc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ddc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ddc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ddc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ddc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ddc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ddc15d
cmp eax, 0x7d00
jae 0x140ddc19b
cmp eax, 0x500
jb 0x140ddc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ddc07e
cmp eax, 0x7f
ja 0x140ddc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ddc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ddc1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ddc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2879e1420
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rbx, rdx
mov rax, qword [rax + 0x20]
mov rsi, qword [rax]
mov r11, qword [rsi - 0x10]
lea r10, [rsi - 0x10]
cmp r11, rsi
je 0x2879e149c
nop dword [rax]
mov rax, qword [r10 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x2879e1491
mov edx, 0xe0e
nop dword [rax]
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x2879e1470
cmp edx, 0x18cf5f14
je 0x2879e14ae
mov r10, r11
mov r11, qword [r10]
cmp r11, rsi
jne 0x2879e1458
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, dword [r10 + 0x40]
mov r12, qword [r10 + 0x30]
mov r13d, eax
sub r13d, r8d
cmp eax, r8d
je 0x2879e149c
mov ebp, r8d
xor esi, esi
nop word cs:[rax + rax]
lea rdi, [r12 + rsi]
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x2879e149e
add rsi, 1
cmp esi, r13d
jb 0x2879e14d0
jmp 0x2879e149c
Function at 0x2879e1680
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x2879e1764
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
mov r10d, 8
movzx r9d, byte [rax + 0x1e]
lea r11, [0x287a9b120]
movzx r8d, byte [rax + 0x1d]
lea rbx, section..rdata
movzx edx, byte [rax + 0x1c]
jmp 0x2879e1729
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
shr edx, 3
movzx r8d, byte [r11 + r8]
xor cl, byte [rbx + rdx]
movzx r9d, byte [r11 + r9]
mov edx, ecx
xor dl, byte [rax]
add r10d, 1
add rax, 4
xor r8b, byte [rax - 3]
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x2879e1760
mov ecx, r10d
and ecx, 7
je 0x2879e16d0
cmp ecx, 4
jne 0x2879e16fe
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x2879e16fe
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x2879e16a7
Function at 0x287a0de40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.287a1a6a0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.287a1a6a0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x287a0deb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x287abe614]
test esi, esi
mov rbx, rcx
jle 0x287a0dfe0
mov rax, qword [0x287abe618]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x287a0defb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x287a0df85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x287a0dee0
mov rcx, rbx
call fcn.287a0e710
test rax, rax
mov rdi, rax
je 0x287a0e002
mov rax, qword [0x287abe618]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.287a0e850
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x287abe618]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x287a0dfe7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x287a0df7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x287a0df90
add dword [0x287abe614], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x287abe618]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x287a0df7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.287a0de40
nop dword [rax]
xor esi, esi
jmp 0x287a0df08
mov rax, qword [0x287abe618]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.287a0de40
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.287a0de40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x287a0e380
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x287abe640]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x287abe620]
test rbx, rbx
je 0x287a0e3dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x287a0e3d3
test rsi, rsi
je 0x287a0e3d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x287a0e3b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x287a0e710
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x287aa06b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x287a0e730
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x287a0e738
ret
cmp word [r8 + 0x18], 0x20b
jne 0x287a0e730
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x287a0e78d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x287a0e784
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x287a0e730
add rax, 0x28
cmp rax, r9
jne 0x287a0e770
xor eax, eax
ret

Function at 0x287a0e790
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x287aa06b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x287a0e7af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x287a0e7b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x287a0e7af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x287a0e850
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x287aa06b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x287a0e86f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x287a0e878
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x287a7b850
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
test rax, rax
mov rdi, rcx
je 0x287a7b878
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
lea rsi, [rsp + 0x2c]
mov ebx, 4
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
test eax, eax
jle 0x287a7b8c0
cdqe
add rsi, rax
sub rbx, rax
jne 0x287a7b890
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x287a7b8cc
call rbp
cmp dword [rax], 4
je 0x287a7b890
lea rcx, str.random_device_could_not_be_read
call fcn.287a981d0
nop
nop
nop
nop
nop
nop
nop
nop
mov rax, qword [0x287aa03a0]
add rax, 0x10
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov rdx, qword [0x287a9fc90]
mov qword [rcx + 8], rax
mov r8d, dword [rdx]
test r8d, r8d
jne 0x287a7b918
mov edx, dword [rax - 8]
test edx, edx
jle 0x287a7b923
add edx, 1
mov dword [rax - 8], edx
ret
mov eax, dword [rax - 8]
test eax, eax
jg 0x287a7b930
mov rax, qword [rcx + 8]
mov dword [rax - 8], 1
ret
mov edx, dword [rdx]
mov rax, qword [rcx + 8]
test edx, edx
je 0x287a7b940
lock add dword [rax - 8], 1
ret
mov edx, dword [rax - 8]
jmp 0x287a7b90c
Function at 0x287a82400
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqa xmm3, xmmword [0x287a9b4a0]
pxor xmm7, xmm7
movdqa xmm4, xmmword [0x287a9b4b0]
movdqa xmm5, xmmword [0x287a9b4c0]
movdqa xmm6, xmmword [0x287a9b4d0]
mov rdx, rcx
lea rcx, [rcx + 0x380]
mov rax, rdx
nop
movdqu xmm0, xmmword [rax]
add rax, 0x10
movdqu xmm1, xmmword [rax - 0xc]
movdqu xmm2, xmmword [rax + 0x624]
pand xmm0, xmm3
pand xmm1, xmm4
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm2
movdqa xmm2, xmm7
psubd xmm2, xmm0
pand xmm2, xmm6
movdqa xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x287a82440
mov eax, dword [rdx + 0x388]
mov ecx, dword [rdx + 0x38c]
movq xmm0, qword [rdx + 0x380]
movq xmm1, qword [0x287a9b4a0]
movq xmm2, qword [0x287a9b4b0]
and eax, 0x80000000
pand xmm0, xmm1
and ecx, 0x7fffffff
movq xmm1, qword [rdx + 0x384]
or eax, ecx
pand xmm1, xmm2
por xmm0, xmm1
movdqa xmm2, xmm0
mov ecx, eax
movq xmm1, qword [rdx + 0x9b4]
psrld xmm2, 1
shr ecx, 1
and eax, 1
xor ecx, dword [rdx + 0x9bc]
neg eax
pxor xmm1, xmm2
and eax, 0x9908b0df
movq xmm2, qword [0x287a9b4c0]
pand xmm0, xmm2
pxor xmm2, xmm2
psubd xmm2, xmm0
movq xmm0, qword [0x287a9b4d0]
xor eax, ecx
mov dword [rdx + 0x388], eax
lea rcx, [rdx + 0x9bc]
pand xmm0, xmm2
lea rax, [rdx + 0x38c]
pxor xmm1, xmm0
pxor xmm2, xmm2
movq qword [rdx + 0x380], xmm1
movdqu xmm0, xmmword [rax]
add rax, 0x10
movdqu xmm1, xmmword [rax - 0xc]
movdqu xmm7, xmmword [rax - 0x39c]
pand xmm0, xmm3
pand xmm1, xmm4
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm7
movdqa xmm7, xmm2
psubd xmm7, xmm0
pand xmm7, xmm6
movdqa xmm0, xmm7
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x287a82543
mov eax, dword [rdx + 0x9bc]
mov qword [rdx + 0x9c0], 0
mov ecx, dword [rdx]
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
and eax, 0x80000000
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
and eax, 1
shr ecx, 1
xor ecx, dword [rdx + 0x630]
neg eax
and eax, 0x9908b0df
xor eax, ecx
mov dword [rdx + 0x9bc], eax
add rsp, 0x28
ret
Function at 0x287a97650
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x287a9af40]
jmp 0x287a0f580
Function at 0x11120
Capabilities:
Map section object

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov ebx, r9d
mov esi, r8d
mov rdi, rdx
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x88], r12
lea r8, [rdi + 0xc]
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.00011060
test al, al
je 0x1128f
cmp esi, 0x20
jb 0x1135a
cmp ebx, 8
jb 0x1135a
mov rbx, qword [rdi]
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], r12d
mov esi, dword [rdi + 8]
lea rdx, [0x00011370]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], r12
mov dword [rsp + 0xa8], 0x240
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r12
lea r8, [rsp + 0x90]
mov r13d, 0xf001f
mov edx, r13d
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
test eax, eax
jl 0x1135f
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9b, r9b
xor r8d, r8d
mov edx, r13d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jl 0x1135f
mov eax, esi
add rax, rbx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
mov r8, rbx
xor edx, edx
mov esi, 1
mov ecx, esi
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
movzx ebx, al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov ecx, esi
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
test bl, bl
je 0x1128f
test al, al
je 0x1128f
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
sub rcx, rax
mov qword [rsp + 0x58], rcx
test ecx, ecx
jne 0x112a3
mov eax, 0xc0000001
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r12
mov eax, ecx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x48], 0x204
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], esi
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
movabs rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov ebx, eax
test ebx, ebx
jge 0x11323
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x78]
sub rcx, rax
mov rax, qword [rsp + 0x68]
add rax, rcx
mov qword [rsp + 0x68], rax
mov qword [rdi], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov eax, 0xc000009a
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x11ac0
Capabilities:
Create device object

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
lea rdx, str.DeviceRTCore64
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, str.DosDevicesRTCore64
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11b57
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
jl 0x11b57
lea rax, [0x00011450]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x80], rax
mov qword [rbx + 0xe0], rax
lea rax, section..text
mov qword [rbx + 0x68], rax
xor eax, eax
add rsp, 0x70
pop rbx
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], 0x2000
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, section..data
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
sub rcx, 1
mov qword [rsp + 0x28], rcx
test rax, rax
je 0x401086
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
jmp 0x401041
call qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14001121c
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140012bd0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250ac]
call fcn.1400113b1
nop
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x68], rax
je 0x140012c9c
mov rdx, qword [rbp + 0x68]
lea rcx, str.___Current_Position:__p_n
call fcn.1400111b8
nop
mov rax, qword [rbp + 0x68]
sub rax, 0x10
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x140012c8d
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x50]
call fcn.140011145
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140012c8b
mov rax, qword [rbp + 0x88]
mov rax, qword [rax + 0x30]
jmp 0x140012c9e
jmp 0x140012c8f
jmp 0x140012c9c
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
jmp 0x140012c20
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140013d60
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]
nop
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016500
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016513
xor al, al
jmp 0x140016581
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 0x14001653d
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016551
xor al, al
jmp 0x140016581
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016563
xor al, al
jmp 0x140016581
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001657f
xor al, al
jmp 0x140016581
mov al, 1
add rsp, 0x38
ret