joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001294c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000bca0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400129d6
cmp byte [rbp - 0x21], r15b
je 0x1400129d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012a0c
call fcn.1400088c0
test eax, eax
jne 0x1400129f8
cmp byte [rbp - 0x21], r15b
je 0x1400129f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012a0c
cmp byte [rbp - 0x21], r15b
je 0x140012a09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b27c
test eax, eax
jne 0x140012aac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000bca0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012a4b
cmp byte [rbp - 0x21], r15b
je 0x140012a80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012a80
call fcn.1400088c0
test eax, eax
jne 0x140012a6c
cmp byte [rbp - 0x21], r15b
je 0x140012a65
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012a80
cmp byte [rbp - 0x21], r15b
je 0x140012a7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b27c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012aac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012aaf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012abd
mov rcx, rdi
call fcn.14000866c
cmp byte [rbp + 0x3f], r15b
je 0x140012acc
mov rcx, qword [rbp + 0x27]
call fcn.14000866c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400150a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400150c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400150c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003060
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.140004640
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.140004640
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 0x1400030d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140003200
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000311b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400031a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003100
mov rcx, rbx
call fcn.140003b40
mov rdi, rax
test rax, rax
je 0x140003222
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003c80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003207
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000319e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400031b0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000319e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003060
nop dword [rax]
xor esi, esi
jmp 0x140003128
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003060
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003060
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400037b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000380c
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 rsi, rsi
je 0x140003803
test eax, eax
jne 0x140003803
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400037e8
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 0x140003b40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400065d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003b60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003b68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003b60
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003bbd
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]
mov rdx, r8
cmp rcx, r8
jb 0x140003bb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003b60
add rax, 0x28
cmp rax, r9
jne 0x140003ba0
xor eax, eax
ret

Function at 0x140003bc0
Capabilities:
Parse pe header

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

Function at 0x140003c80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400065d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003c9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003ca8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x201208e0
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rax, qword [rcx + 8]
cmp qword [rax + 0x38], 0
je 0x20120997
mov rdi, r8
cmp qword [r8 + 0x18], 0
je 0x2012099e
mov rbx, rdx
mov rax, rdx
shr rax, 0x2f
jne 0x2012099e
test rbx, rbx
je 0x2012099e
mov rsi, r9
mov edx, 0x40
mov rcx, rbx
call fcn.20120b20
test eax, eax
jne 0x2012099e
movzx eax, word [rbx]
cmp eax, 0x5a4d
jne 0x2012099e
movsxd r14, dword [rbx + 0x3c]
add r14, rbx
mov edx, pe_nt_image_headers64
mov rcx, r14
call fcn.20120b20
test eax, eax
jne 0x2012099e
cmp dword [r14], 0x4550
jne 0x2012099e
mov eax, dword [r14 + 0x90]
test rax, rax
je 0x201209a8
lea rcx, [rax + rbx]
mov qword [rbp - 8], rcx
mov eax, dword [rax + rbx + 0xc]
test eax, eax
je 0x20120aa7
lea r14, [0x202f2f78]
lea r15, [rbp - 0x30]
jmp 0x201209ea
cmp qword [rax + 0x48], 0
je 0x201209a8
mov ecx, 0x57
call fcn.201051c0
xor eax, eax
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.20080970
test r13d, r13d
je 0x20120a96
mov rax, qword [rbp - 8]
lea rcx, [rax + 0x14]
mov qword [rbp - 8], rcx
mov eax, dword [rax + 0x20]
test eax, eax
je 0x20120aa7
mov r13d, eax
add r13, rbx
lea rax, [0x202f3868]
cmove r13, rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rcx, r13
call fcn.20082040
mov r12, rax
cmp rax, 0xf
jbe 0x20120a31
lea rcx, [rbp - 0x28]
mov rdx, r12
mov r9, r13
call fcn.2006f780
jmp 0x20120a4a
mov qword [rbp - 0x18], r12
lea rcx, [rbp - 0x28]
mov rdx, r13
mov r8, r12
call fcn.202d5100
mov byte [rbp + r12 - 0x28], 0
mov qword [rbp - 0x30], r14
mov rcx, rdi
mov rdx, r15
call fcn.20120c50
mov r13d, eax
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x201209ca
mov rcx, qword [rbp - 0x28]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x201209c5
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x201209bb
jmp 0x20120ab4
mov rcx, rsi
lea rdx, [rbp - 8]
call fcn.20120f70
jmp 0x201209d3
cmp qword [rsi + 8], 0
setne al
jmp 0x201209aa
call fcn.20080930
int3
Function at 0x2017cf10
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x2017cf4c
test edx, edx
je 0x2017cf7c
movzx eax, byte [0x203c9b7d]
cmp al, 9
je 0x2017cf44
mov cl, 0x32
nop word cs:[rax + rax]
mov al, 0x9b
lock cmpxchg byte [0x203c9b7d], cl
je 0x2017cfdc
cmp al, 9
jne 0x2017cf30
lea rax, [0x203c9b70]
ret
test edx, edx
je 0x2017cfac
movzx eax, byte [0x203c96d5]
cmp al, 0x22
je 0x2017cf74
mov cl, 0x78
nop dword [rax]
mov al, 0xc0
lock cmpxchg byte [0x203c96d5], cl
je 0x2017d011
cmp al, 0x22
jne 0x2017cf60
lea rax, [0x203c96c0]
ret
movzx eax, byte [0x203c99dc]
cmp al, 0xd1
je 0x2017cfa4
mov cl, 0x6a
nop dword [rax]
mov al, 0xc1
lock cmpxchg byte [0x203c99dc], cl
je 0x2017d051
cmp al, 0xd1
jne 0x2017cf90
lea rax, [0x203c99d0]
ret
movzx eax, byte [0x203c9715]
cmp al, 0xb7
je 0x2017cfd4
mov cl, 0x54
nop dword [rax]
mov al, 0x23
lock cmpxchg byte [0x203c9715], cl
je 0x2017d091
cmp al, 0xb7
jne 0x2017cfc0
lea rax, [0x203c9700]
ret
xor eax, eax
lea rcx, [0x203c9b70]
lea rdx, [0x202fb5b0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x2017cff0
mov al, 9
xchg byte [0x203c9b7d], al
lea rax, [0x203c9b70]
ret
xor eax, eax
lea rcx, [0x203c96c0]
lea rdx, [0x202fb120]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x2017d030
mov al, 0x22
xchg byte [0x203c96d5], al
lea rax, [0x203c96c0]
ret
xor eax, eax
lea rcx, [0x203c99d0]
lea rdx, [0x202fb410]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xc
jl 0x2017d070
mov al, 0xd1
xchg byte [0x203c99dc], al
lea rax, [0x203c99d0]
ret
xor eax, eax
lea rcx, [0x203c9700]
lea rdx, [0x202fb150]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x15
jl 0x2017d0b0
mov al, 0xb7
xchg byte [0x203c9715], al
lea rax, [0x203c9700]
ret
Function at 0x2018b510
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
test ecx, ecx
je 0x2018b54c
test edx, edx
je 0x2018b57c
movzx eax, byte [0x203cb5a3]
cmp al, 0x90
je 0x2018b544
mov cl, 0xd8
nop word cs:[rax + rax]
mov al, 0xe0
lock cmpxchg byte [0x203cb5a3], cl
je 0x2018b5dc
cmp al, 0x90
jne 0x2018b530
lea rax, [0x203cb5a0]
ret
test edx, edx
je 0x2018b5ac
movzx eax, byte [0x203cb58c]
cmp al, 7
je 0x2018b574
mov cl, 0xe7
nop dword [rax]
mov al, 0xb4
lock cmpxchg byte [0x203cb58c], cl
je 0x2018b611
cmp al, 7
jne 0x2018b560
lea rax, [0x203cb570]
ret
movzx eax, byte [0x203cb4d8]
cmp al, 0xb7
je 0x2018b5a4
mov cl, 0x90
nop dword [rax]
mov al, 0x53
lock cmpxchg byte [0x203cb4d8], cl
je 0x2018b651
cmp al, 0xb7
jne 0x2018b590
lea rax, [0x203cb4d0]
ret
movzx eax, byte [0x203cb54e]
cmp al, 0xda
je 0x2018b5d4
mov cl, 0xf3
nop dword [rax]
mov al, 0xe
lock cmpxchg byte [0x203cb54e], cl
je 0x2018b691
cmp al, 0xda
jne 0x2018b5c0
lea rax, [0x203cb540]
ret
xor eax, eax
lea rcx, [0x203cb5a0]
lea rdx, [0x202fcbe0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 3
jl 0x2018b5f0
mov al, 0x90
xchg byte [0x203cb5a3], al
lea rax, [0x203cb5a0]
ret
xor eax, eax
lea rcx, [0x203cb570]
lea rdx, [0x202fcbb0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x1c
jl 0x2018b630
mov al, 7
xchg byte [0x203cb58c], al
lea rax, [0x203cb570]
ret
xor eax, eax
lea rcx, [0x203cb4d0]
lea rdx, [0x202fcb10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 8
jl 0x2018b670
mov al, 0xb7
xchg byte [0x203cb4d8], al
lea rax, [0x203cb4d0]
ret
xor eax, eax
lea rcx, [0x203cb540]
lea rdx, [0x202fcb80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xe
jl 0x2018b6b0
mov al, 0xda
xchg byte [0x203cb54e], al
lea rax, [0x203cb540]
ret
Function at 0x201b6140
Capabilities:
Encode data using xor

Disassembly:
jmp 0x201b6140
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x203f23c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
test r8, r8
je 0x201b6301
mov rbx, rcx
test rcx, rcx
je 0x201b6301
mov r14, rdx
test rdx, rdx
je 0x201b6301
mov rdi, r9
test r9, r9
je 0x201b6301
mov rsi, r8
cmp r8, 0xf
ja 0x201b61ca
mov r15d, 0x10
sub r15, rsi
lea rdx, [rbx + rsi]
add rdx, 0x50
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.202d5100
lea rcx, [rsp + r15]
add rcx, 0x30
mov rdx, r14
mov r8, rsi
call fcn.202d5100
jmp 0x201b6242
movups xmm0, xmmword [rsi + r14 - 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r13, rsi
shr r13, 4
lea r15, [rbx + 0x50]
lea r12, [rsp + 0x20]
nop word cs:[rax + rax]
mov rax, qword [rbx + 0x20]
mov rcx, rbx
mov rdx, r15
mov r8, r12
call qword [case.0x200b73a7.0]
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov eax, dword [rsp + 0x20]
xor eax, dword [r14]
mov dword [rdi], eax
mov eax, dword [rsp + 0x24]
xor eax, dword [r14 + 4]
mov dword [rdi + 4], eax
mov eax, dword [rsp + 0x28]
xor eax, dword [r14 + 8]
mov dword [rdi + 8], eax
mov eax, dword [rsp + 0x2c]
xor eax, dword [r14 + 0xc]
mov dword [rdi + 0xc], eax
add rdi, 0x10
add r14, 0x10
dec r13
jne 0x201b61f0
mov r15, rsi
and r15, 0xf
je 0x201b62f5
mov rax, qword [rbx + 0x20]
lea rdx, [rbx + 0x50]
lea r8, [rsp + 0x20]
mov rcx, rbx
call qword [case.0x200b73a7.0]
mov eax, esi
and eax, 3
cmp r15d, 4
jae 0x201b6274
xor ecx, ecx
jmp 0x201b62bf
sub r15, rax
xor ecx, ecx
nop dword [rax]
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [r14 + rcx]
mov byte [rdi + rcx], dl
movzx edx, byte [rsp + rcx + 0x21]
xor dl, byte [r14 + rcx + 1]
mov byte [rdi + rcx + 1], dl
movzx edx, byte [rsp + rcx + 0x22]
xor dl, byte [r14 + rcx + 2]
mov byte [rdi + rcx + 2], dl
movzx edx, byte [rsp + rcx + 0x23]
xor dl, byte [r14 + rcx + 3]
mov byte [rdi + rcx + 3], dl
add rcx, 4
cmp r15, rcx
jne 0x201b6280
test rax, rax
je 0x201b62f5
add rdi, rcx
lea rdx, [rsp + rcx]
add rdx, 0x20
add r14, rcx
xor ecx, ecx
nop word cs:[rax + rax]
movzx r8d, byte [rdx + rcx]
xor r8b, byte [r14 + rcx]
mov byte [rdi + rcx], r8b
inc rcx
cmp rax, rcx
jne 0x201b62e0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x50], xmm0
mov r15, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.202ad260
mov rax, r15
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x202253b0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x202255b8
mov rsi, rcx
mov rax, qword [0x20401900]
add rax, rdx
dec rax
or rax, 1
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov dword [0x203e3cf8], 0x6d2206b1
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.200ddbd0
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
cmp byte [0x2040181d], 0
jne 0x202255ac
mov rax, qword [rsi + 8]
mov r8, qword [rax]
cmp r8, rdi
je 0x202255ac
movabs rax, 0xcbf29ce484222325
movabs rcx, 0x100000001b3
jmp 0x20225471
mov qword [r9 + r10*8], rdx
mov qword [r9 + rbx*8], rdx
cmp r8, rdi
je 0x202255ac
mov rdx, r8
movzx r8d, byte [r8 + 0x10]
xor r8, rax
imul r8, rcx
movzx r9d, byte [rdx + 0x11]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 0x12]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 0x13]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 0x14]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 0x15]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 0x16]
xor r8, r9
imul r8, rcx
movzx r11d, byte [rdx + 0x17]
xor r11, r8
imul r11, rcx
and r11, qword [rsi + 0x30]
mov r8, qword [rdx]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11 + r11]
inc rbx
shl r11, 4
mov r14, qword [r9 + r11]
cmp r14, rdi
je 0x20225460
mov r11, qword [r9 + rbx*8]
mov r15, qword [rdx + 0x10]
cmp r15, qword [r11 + 0x10]
je 0x20225550
nop dword [rax]
cmp r14, r11
je 0x20225582
mov r11, qword [r11 + 8]
cmp r15, qword [r11 + 0x10]
jne 0x20225510
mov r9, qword [r11]
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r11, qword [r8 + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], rdx
mov qword [r9 + 8], r11
mov qword [r8 + 8], r10
mov qword [rdx + 8], rbx
jmp 0x20225468
mov r10, qword [r11]
cmp r10, rdx
je 0x20225464
mov r11, qword [rdx + 8]
mov qword [r11], r8
mov r14, qword [r8 + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], rdx
mov qword [r10 + 8], r14
mov qword [r8 + 8], r11
mov qword [rdx + 8], r15
jmp 0x20225464
mov rbx, qword [rdx + 8]
mov qword [rbx], r8
mov r14, qword [r8 + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], rdx
mov qword [r11 + 8], r14
mov qword [r8 + 8], rbx
mov qword [rdx + 8], r15
mov qword [r9 + r10*8], rdx
jmp 0x20225468
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
movzx eax, byte [0x203e3c8a]
cmp al, 0x77
je 0x2022561e
mov cl, 0x5b
nop word cs:[rax + rax]
mov al, 0x7c
lock cmpxchg byte [0x203e3c8a], cl
je 0x202255e2
cmp al, 0x77
jne 0x202255d0
jmp 0x2022561e
movaps xmm0, xmmword [0x203e3c70]
xorps xmm0, xmmword [0x2030f4b0]
movaps xmmword [0x203e3c70], xmm0
movabs rax, 0x388a691178057144
xor qword [0x203e3c80], rax
xor byte [0x203e3c88], 0x18
xor byte [0x203e3c89], 0x24
mov al, 0x77
xchg byte [0x203e3c8a], al
lea rcx, [0x203e3c70]
call fcn.20081880
int3
Function at 0x20257330
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, qword [0x203f23c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor eax, eax
nop word [rax + rax]
mov r8d, dword [rdx + rax*4]
bswap r8d
mov dword [rsp + rax*4 + 0x50], r8d
inc rax
cmp rax, 0x10
jne 0x20257360
mov edx, dword [rcx]
mov esi, dword [rcx + 4]
mov eax, dword [rcx + 8]
mov r13d, dword [rcx + 0xc]
mov r10d, dword [rcx + 0x10]
mov r14d, dword [rcx + 0x14]
mov ebp, dword [rcx + 0x18]
mov qword [rsp + 0x48], rcx
mov ebx, dword [rcx + 0x1c]
lea r15, [0x20310bd0]
xor r12d, r12d
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x34], r13d
mov ebx, r13d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x28], edx
jmp 0x202574ba
lea eax, [r12 + 0xe]
and eax, 0xf
mov r10d, dword [rsp + rax*4 + 0x50]
mov eax, r10d
rol eax, 0xf
mov edx, r10d
rol edx, 0xd
xor edx, eax
shr r10d, 0xa
xor r10d, edx
lea eax, [r12 + 9]
and eax, 0xf
add r10d, dword [rsp + rax*4 + 0x50]
lea eax, [r12 + 1]
and eax, 0xf
mov eax, dword [rsp + rax*4 + 0x50]
mov edx, eax
rol edx, 0x19
mov r8d, esi
mov esi, eax
rol esi, 0xe
xor esi, edx
shr eax, 3
xor eax, esi
mov esi, r8d
mov edx, r12d
and edx, 0xf
add r10d, dword [rsp + rdx*4 + 0x50]
add r10d, eax
mov dword [rsp + rdx*4 + 0x50], r10d
mov edi, dword [rsp + 0x24]
mov eax, r13d
rol eax, 0x1a
mov edx, r13d
rol edx, 0x15
xor edx, eax
mov eax, r13d
rol eax, 7
xor eax, edx
add eax, r10d
mov ebp, r14d
xor ebp, r9d
and ebp, r13d
xor ebp, r9d
add ebp, edi
add ebp, eax
add ebp, dword [r15]
mov eax, ecx
rol eax, 0x1e
mov edx, ecx
rol edx, 0x13
xor edx, eax
mov eax, ecx
rol eax, 0xa
xor eax, edx
mov r10d, ecx
and r10d, r11d
mov edx, ecx
xor edx, r11d
and edx, esi
or edx, r10d
add edx, eax
mov r10d, ebx
add r10d, ebp
add edx, ebp
inc r12
add r15, 4
mov dword [rsp + 0x24], r9d
mov ebp, r14d
mov r8d, r14d
mov r14d, r13d
mov ebx, esi
mov eax, r11d
mov edi, r9d
mov r9d, esi
mov esi, ecx
cmp r12, 0x40
je 0x202574db
mov ecx, edx
mov r11d, esi
mov esi, eax
mov r13d, r10d
mov r9d, ebp
cmp r12, 0xf
ja 0x202573d0
mov r10d, dword [rsp + r12*4 + 0x50]
jmp 0x20257435
add edx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x48]
mov dword [rax], edx
add ecx, dword [rsp + 0x2c]
mov dword [rax + 4], ecx
add r11d, dword [rsp + 0x30]
mov dword [rax + 8], r11d
add r9d, dword [rsp + 0x34]
mov dword [rax + 0xc], r9d
add r10d, dword [rsp + 0x38]
mov dword [rax + 0x10], r10d
add r13d, dword [rsp + 0x3c]
mov dword [rax + 0x14], r13d
add r8d, dword [rsp + 0x40]
mov dword [rax + 0x18], r8d
add edi, dword [rsp + 0x44]
mov dword [rax + 0x1c], edi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.202ad260
nop
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x20292e00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x20292e1d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x20292e78
test al, 7
jne 0x20292e10
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x20292e31
mov rdx, qword [rax - 8]
test dl, dl
je 0x20292ea2
test dh, dh
je 0x20292e9c
shr rdx, 0x10
test dl, dl
je 0x20292e96
test dh, dh
je 0x20292e90
shr rdx, 0x10
test dl, dl
je 0x20292e8a
test dh, dh
je 0x20292e84
shr edx, 0x10
test dl, dl
je 0x20292e7e
test dh, dh
jne 0x20292e31
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x140002da0
Capabilities:
Parse pe header

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