joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
xor esi, esi
mov qword [rbp + 0x27], rcx
mov qword [rax - 0x68], rsi
lea r9, [rbp + 7]
mov dword [rax - 0x70], 0x100
lea r8, [rbp + 0x17]
mov qword [rax - 0x78], rsi
lea rcx, [rbp + 0x67]
mov dword [rax - 0x80], esi
xorps xmm0, xmm0
mov dword [rsp + 0x50], esi
mov ebx, 0x110000
mov qword [rsp + 0x48], rsi
mov edx, ebx
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x67], rsi
mov qword [rbp + 0x17], 0x30
mov qword [rbp + 0x2f], 0x240
mov qword [rbp + 0x6f], rsi
mov qword [rbp + 0x1f], rsi
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x140001125
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rax
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x656c6946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov edi, eax
test eax, eax
jns 0x1400010e5
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140001123
mov rax, qword [rbp + 0x6f]
xor edx, edx
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], rsi
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test bl, bl
je 0x140001123
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
js 0x140001125
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400012b0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rax, [0x140001158]
mov qword [rcx + 0x68], rax
mov rcx, qword [rcx + 0x28]
add rcx, 0x48
call section..text
xor ebx, ebx
test eax, eax
jne 0x14000138b
lea rdx, [0x140001f00]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140001ee0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [section..data]
mov edx, 0x1000
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x22]
mov byte [rsp + 0x28], 1
lea r8, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jne 0x14000138b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test eax, eax
je 0x14000135f
mov rcx, qword [section..data]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
jmp 0x14000138b
lea rcx, [rdi + 0x70]
cmp rbx, 0xe
lea rax, [0x140001138]
lea rdx, [0x140001190]
cmove rax, rdx
inc rbx
mov qword [rcx], rax
lea rcx, [rcx + 8]
cmp rbx, 0x1b
jb 0x140001363
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14000139c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
xor edx, edx
xor r8d, r8d
lea ebx, [rdx + 0xb]
mov ecx, ebx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140001400
mov edx, eax
lea ecx, [rbx - 0xa]
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001400
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, ebx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
xor edx, edx
mov rcx, rdi
test eax, eax
jns 0x14000140d
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140001402

Function at 0x14000141c
Capabilities:
Attach user process memory
Resolve function by parsing pe exports

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, 0x50
xor edi, edi
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140001537
xorps xmm0, xmm0
lea rdx, [rax - 0x48]
mov rcx, r8
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14000152c
movsxd rax, dword [rbx + 0x3c]
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x14000148d
mov ecx, dword [rax + rbx + 0x88]
jmp 0x140001491
mov ecx, dword [rax + rbx + 0x78]
mov r8d, ecx
mov edx, edi
mov r14d, dword [r8 + rbx + 0x24]
mov r15d, dword [r8 + rbx + 0x20]
add r14, rbx
mov r10d, dword [r8 + rbx + 0x1c]
add r15, rbx
mov r12d, dword [r8 + rbx + 0x14]
add r10, rbx
test r12d, r12d
je 0x14000151c
cmp rsi, 0xffff
ja 0x1400014d4
movzx ecx, dx
movzx r11d, dx
add ecx, dword [r8 + rbx + 0x10]
movzx eax, si
cmp eax, ecx
jmp 0x140001506
cmp edx, dword [r8 + rbx + 0x18]
jae 0x14000152c
mov eax, edx
mov rbp, rsi
mov ecx, dword [r15 + rax*4]
movzx r11d, word [r14 + rax*2]
add rcx, rbx
sub rbp, rcx
movzx eax, byte [rcx]
movzx r9d, byte [rcx + rbp]
sub eax, r9d
jne 0x140001504
inc rcx
test r9d, r9d
jne 0x1400014ef
test eax, eax
je 0x140001511
inc edx
cmp edx, r12d
jb 0x1400014b8
jmp 0x14000151c
movzx eax, r11w
mov edi, dword [r10 + rax*4]
add rdi, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, rdi
jmp 0x140001539
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140001804
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r9
test ecx, ecx
je 0x140001867
test r8d, r8d
je 0x140001867
mov eax, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
call fcn.140001a0c
mov rbx, rax
test rax, rax
je 0x140001867
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov rcx, rbx
test eax, eax
je 0x140001874
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov al, 1
jmp 0x140001869

Function at 0x140001888
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x350
mov edi, ecx
mov r14, r9
mov rbx, r8
test ecx, ecx
je 0x1400019dd
test rdx, rdx
je 0x1400019dd
test rbx, rbx
je 0x1400019dd
lea r8, [rax - 0x218]
mov eax, 4
lea ebp, [rax + 0x7c]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, rbp
movups xmmword [r8 + 0x60], xmm0
add r8, rbp
movups xmmword [r8 - 0x10], xmm1
sub rax, 1
jne 0x1400018d5
mov rax, qword [rdx]
mov ecx, edi
lea rdx, [rsp + 0x140]
mov qword [r8], rax
call fcn.140001634
mov rsi, rax
test rax, rax
je 0x1400019dd
lea rcx, [rsp + 0x30]
mov eax, 2
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rbx + 0x70]
add rbx, rbp
movups xmmword [rcx + 0x60], xmm0
add rcx, rbp
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001952
mov eax, dword [rbx]
lea rdx, [rsp + 0x20]
and qword [rsp + 0x20], 0
mov dword [rcx], eax
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x1400019dd
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000141c
mov rcx, qword [rsp + 0x20]
mov rbx, rax
test rax, rax
jne 0x1400019fd
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
mov qword [r14], rbx
jmp 0x1400019df
Function at 0x140001a78
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
test ecx, ecx
je 0x140001b0a
test rdx, rdx
je 0x140001b0a
test r8, r8
je 0x140001b0a
test r9d, r9d
je 0x140001b0a
movabs rax, 0x8000000000000000
cmp rdx, rax
jae 0x140001b0a
and qword [r11 - 0x18], 0
lea rdx, [r11 - 0x18]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140001b0a
and qword [rsp + 0x48], 0
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, qword [rsp + 0x40]
mov r9, rsi
mov r8, rax
mov rdx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x140001b1c
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
jmp 0x140001b0c

Function at 0x140001bdc
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
test ecx, ecx
je 0x140001c6e
test rdx, rdx
je 0x140001c6e
test r8, r8
je 0x140001c6e
test r9d, r9d
je 0x140001c6e
movabs rax, 0x8000000000000000
cmp rdx, rax
jae 0x140001c6e
and qword [r11 - 0x18], 0
lea rdx, [r11 - 0x18]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140001c6e
and qword [rsp + 0x48], 0
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r8, qword [rsp + 0x40]
mov r9, rdi
mov rcx, rax
mov rdx, rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x140001c80
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
jmp 0x140001c70
Function at 0x140001c8c
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rdi
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x140001d41
and qword [rax + 0x10], 0
lea rdx, [rax + 0x10]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140001d41
cmp qword [0x140003010], 0
lea ebp, [rax + 1]
mov rdx, qword [rsp + 0x38]
jne 0x140001ced
xor eax, eax
cmp rbx, qword [rax + rdx]
je 0x140001ce6
add rax, rbp
cmp rax, 0x1000
jb 0x140001cd3
jmp 0x140001ced
mov qword [0x140003010], rax
movsx rax, word [0x140003018]
cmp eax, 0xf
je 0x140001d38
mov r8, qword [0x140003010]
test r8, r8
je 0x140001d38
lea r9, [0x140003020]
mov rcx, rax
add rcx, rcx
mov qword [r9 + rcx*8], rdx
mov dword [r9 + rcx*8 + 8], ebx
and qword [r8 + rdx], 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
add word [0x140003018], bp
mov al, bpl
jmp 0x140001d43
mov rcx, rdx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001d54
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x140001dc5
cmp word [0x140003278], 0xf
je 0x140001dc5
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140001dc5
movsx rax, word [0x140003278]
lea r8, [0x140003110]
mov rdx, qword [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [rdx - 0x15]
mov qword [r8 + rcx*8 + 0x10], rax
mov dword [r8 + rcx*8 + 8], ebx
mov qword [r8 + rcx*8], rdx
mov byte [rdx - 0x15], 0x71
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc word [0x140003278]
mov al, 1
jmp 0x140001dc7
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x401000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov r13, rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rbx, qword [rax + 0x20]
mov ecx, dword [rbx + 0x3c]
add rcx, rbx
mov edx, dword [rcx + 0x88]
add rdx, rbx
mov ecx, dword [rdx + 0x18]
mov esi, dword [rdx + 0x1c]
mov r8, rsi
add r8, rbx
mov esi, dword [rdx + 0x20]
mov r9, rsi
add r9, rbx
mov esi, dword [rdx + 0x24]
mov r10, rsi
add r10, rbx
mov esi, ecx
dec esi
add rsi, rsi
add rsi, rsi
mov edi, dword [r9 + rsi]
add rdi, rbx
xor r11, r11
xor r12, r12
xor rdx, rdx
mov dl, byte [rdi + r11]
test dl, dl
je 0x401076
inc r11
add r12, rdx
rol r12, 8
jmp 0x40105f
cmp r12, r13
je 0x401083
dec ecx
test ecx, ecx
jne 0x401048
jmp 0x401014
dec rcx
xor rax, rax
add rcx, rcx
mov ax, word [r10 + rcx]
add rax, rax
add rax, rax
mov eax, dword [r8 + rax]
add rax, rbx
ret

Function at 0x401230
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1307
syscall
ret
Function at 0x140089280
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x1400892a3
mov rcx, qword [rsp + 0x40]
call fcn.140089380
nop
jmp 0x1400892bb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x1400892bb
mov rcx, qword [rsp + 0x40]
call fcn.140089450
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140089380
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp], 0x138
jmp 0x14008939e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x270
jae 0x14008943c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 - 0x9b8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 - 0x9b0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x140089402
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x14008940b
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140089393
add rsp, 0x28
ret
Function at 0x140089450
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0x137
mov qword [rsp + 0x48], 0x9c
mov qword [rsp], 0
jmp 0x140089480
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x14008951e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
and rax, 1
test rax, rax
je 0x1400894e4
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x18], rax
jmp 0x1400894ed
mov qword [rsp + 0x18], 0
mov rax, qword [rsp + 0x10]
shr rax, 1
xor rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140089475
mov qword [rsp + 8], 0x9c
jmp 0x140089536
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x137
jae 0x1400895d9
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 8]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 1
test rax, rax
je 0x14008959d
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x28], rax
jmp 0x1400895a6
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
shr rax, 1
xor rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140089529
mov qword [rsp + 0x50], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 1
test rax, rax
je 0x14008963f
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x38], rax
jmp 0x140089648
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x30]
shr rax, 1
xor rax, qword [rsp + 0x38]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x70]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
add rsp, 0x68
ret
Function at 0x1400df4c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.14034ad14
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400df4f8
mov eax, 0xfffffffd
jmp 0x1400df64a
mov rcx, qword [rsp + 0x88]
call fcn.140352924
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400df51a
mov eax, 0xfffffffd
jmp 0x1400df64a
cmp dword [rsp + 0x20], 0
jne 0x1400df528
xor eax, eax
jmp 0x1400df64a
mov eax, dword [rsp + 0x20]
inc eax
cdqe
lea rdx, [0x14041eb5c]
mov rcx, rax
call fcn.14033adfc
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400df560
mov eax, 0xfffffffe
jmp 0x1400df64a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov byte [rcx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.14034ad14
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x88]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.14034a944
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x40], rax
je 0x1400df5f1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14033a760
cmp qword [rsp + 0x38], 0
jne 0x1400df5d7
mov qword [rsp + 0x58], 0
jmp 0x1400df5ea
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov eax, 0xfffffffd
jmp 0x1400df64a
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1400ea1d0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14033a760
cmp qword [rsp + 0x48], 0
jne 0x1400df633
mov qword [rsp + 0x60], 0
jmp 0x1400df646
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
add rsp, 0x78
ret

Function at 0x140102350
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140446a30]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1401023d6
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x140102382
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x1401023e0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140446a30]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1401024db
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1401024d6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1401024ab
cmp qword [rsp + 0x38], 2
jb 0x1401024ab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401024ab
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401024ab
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140102427
jmp 0x140102564
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp]
test eax, eax
je 0x140102564
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14010253a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14010253a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14010253a
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1401024db
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret

Function at 0x1401027a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14034a944
add rsp, 0x28
ret