joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c97d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1401c9815
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401c9860
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401c98c2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401c9880
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401c9903
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401efd40]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401efd41]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401c98d0
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x1401c9920
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.140149170
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1401c9ac6
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401c99b0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401c9a12
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401c99d0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401c9a53
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1401efd40]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401efd41]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401c9a20
mov rcx, qword [rsp + 0x70]
call fcn.140149170
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1401c9a82
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.1401cc8c4]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x1401c9bf0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14020df00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1401c9c3c
mov eax, 0x1b
jmp 0x1401c9d0e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1401c9c80
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1401c9d0e
mov rcx, rbp
call fcn.140149170
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1401c9cea
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401c9cfa
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401c9d0c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401cb450
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401caac0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401cab25
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1401caad0
ret

Function at 0x1401cac6c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401caca6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401cacab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401cacf4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401cacf4
dec r8
sub rdx, 1
jne 0x1401cacda
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401cc500
Capabilities:
Parse pe header

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

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
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140178000
add rsp, 0x28
jmp 0x14000631c
Function at 0x140840058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408401df
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 0x140840089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084006f
add dl, dl
jne 0x140840096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408400f6
xor eax, eax
add dl, dl
jne 0x1408400a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408401ad
add dl, dl
jne 0x1408400b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408400c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408400d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408400dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408400ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084007e
mov eax, 1
add dl, dl
jne 0x140840106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140840113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408400fb
sub eax, ebx
mov ebx, 1
jne 0x14084014c
mov ecx, 1
add dl, dl
jne 0x14084012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140840123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140840168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140840175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084015d
cmp eax, 0x7d00
jae 0x14084019b
cmp eax, 0x500
jb 0x140840196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084007e
cmp eax, 0x7f
ja 0x14084019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408401d2
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 0x14084007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180006bb0
Capabilities:
Access peb ldr_data
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov ebx, edx
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r8, qword [rax + 0x60]
mov r10d, 0x876f1436
movzx r9d, word [rax + 0x58]
shr r9, 1
lea r11, [r8 + r9*2]
cmp r8, r11
je 0x180006c33
nop dword [rax + rax]
movsx ecx, byte [r8]
mov edx, ecx
sub cl, 0x41
mov r9d, edx
or r9d, 0x20
cmp cl, 0x19
cmova r9d, edx
add r8, 2
xor r9d, r10d
imul r10d, r9d, 0x1000193
cmp r8, r11
jne 0x180006c00
cmp r10d, 0xd065f082
je 0x180006c38
mov rax, qword [rax]
jmp 0x180006be0
mov rdi, qword [rax + 0x30]
lea rcx, [rsp + 0x58]
mov edx, dword [r14 + 0x18]
mov eax, ebx
mov esi, ebx
add rdx, 0x10
and eax, 7
sar esi, 3
dec rax
movsxd rbp, esi
xor r15d, r15d
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rbx, [rax + rax*4]
shl rbx, 3
add rdx, rbx
add rdx, rdi
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
cmp rbp, rax
jae 0x180006d64
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, rbx
mov qword [rsp + 0x50], r15
add rdx, rdi
mov r8d, 8
call fcn.1800b8f70
movabs rax, 0x1ffffffffffffffc
mov dword [rsp + 0x58], r15d
mov rdx, rbp
lea rcx, [rsp + 0x58]
shr rdx, 3
mov r8d, 4
and rdx, rax
add rdx, qword [rsp + 0x50]
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
and esi, 0x1f
bt eax, esi
jae 0x180006d64
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, 8
mov qword [rsp + 0x50], r15
add rdx, rbx
mov r8d, 8
add rdx, rdi
call fcn.1800b8f70
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rbp*8]
mov eax, dword [r14 + 0x18]
add rax, rbx
cmp byte [rax + rdi + 0x14], 1
jbe 0x180006d49
mov r8d, 8
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x60]
call fcn.1800b8f70
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rcx, [rsp + 0x58]
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
not eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
push rbx
sub rsp, 0x30
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
add rdx, 0x18
mov r8d, 0x10
movups xmmword [rsp + 0x20], xmm0
call fcn.1800b8f70
mov eax, dword [rsp + 0x20]
mov rcx, rbx
mov r8d, eax
shl eax, 0x10
shr r8d, 0x10
or r8d, eax
mov edx, r8d
xor r8d, 0xefbd7154
not edx
shl r8d, 2
shr edx, 0x1e
or edx, r8d
add edx, 0x4878359f
add rsp, 0x30
pop rbx
jmp 0x180006bb0
Function at 0x180006d80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov ebx, edx
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r8, qword [rax + 0x60]
mov r10d, 0x876f1436
movzx r9d, word [rax + 0x58]
shr r9, 1
lea r11, [r8 + r9*2]
cmp r8, r11
je 0x180006c33
nop dword [rax + rax]
movsx ecx, byte [r8]
mov edx, ecx
sub cl, 0x41
mov r9d, edx
or r9d, 0x20
cmp cl, 0x19
cmova r9d, edx
add r8, 2
xor r9d, r10d
imul r10d, r9d, 0x1000193
cmp r8, r11
jne 0x180006c00
cmp r10d, 0xd065f082
je 0x180006c38
mov rax, qword [rax]
jmp 0x180006be0
mov rdi, qword [rax + 0x30]
lea rcx, [rsp + 0x58]
mov edx, dword [r14 + 0x18]
mov eax, ebx
mov esi, ebx
add rdx, 0x10
and eax, 7
sar esi, 3
dec rax
movsxd rbp, esi
xor r15d, r15d
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rbx, [rax + rax*4]
shl rbx, 3
add rdx, rbx
add rdx, rdi
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
cmp rbp, rax
jae 0x180006d64
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, rbx
mov qword [rsp + 0x50], r15
add rdx, rdi
mov r8d, 8
call fcn.1800b8f70
movabs rax, 0x1ffffffffffffffc
mov dword [rsp + 0x58], r15d
mov rdx, rbp
lea rcx, [rsp + 0x58]
shr rdx, 3
mov r8d, 4
and rdx, rax
add rdx, qword [rsp + 0x50]
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
and esi, 0x1f
bt eax, esi
jae 0x180006d64
mov edx, dword [r14 + 0x18]
lea rcx, [rsp + 0x50]
add rdx, 8
mov qword [rsp + 0x50], r15
add rdx, rbx
mov r8d, 8
add rdx, rdi
call fcn.1800b8f70
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rbp*8]
mov eax, dword [r14 + 0x18]
add rax, rbx
cmp byte [rax + rdi + 0x14], 1
jbe 0x180006d49
mov r8d, 8
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x60]
call fcn.1800b8f70
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r8d, 4
mov dword [rsp + 0x58], r15d
lea rcx, [rsp + 0x58]
call fcn.1800b8f70
mov eax, dword [rsp + 0x58]
not eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
push rbx
sub rsp, 0x30
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
add rdx, 0x18
mov r8d, 0x10
movups xmmword [rsp + 0x20], xmm0
call fcn.1800b8f70
mov eax, dword [rsp + 0x20]
mov rcx, rbx
mov r8d, eax
shl eax, 0x10
shr r8d, 0x10
or r8d, eax
mov edx, r8d
xor r8d, 0xefbd7154
not edx
shl r8d, 2
shr edx, 0x1e
or edx, r8d
add edx, 0x4878359f
add rsp, 0x30
pop rbx
jmp 0x180006bb0
Function at 0x180007e20
Capabilities:
Encode data using xor

Disassembly:
push r14
sub rsp, 0x40
sub rdx, rcx
movabs rax, 0x6666666666666667
imul rdx
mov r10, rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
mov r11, r14
sar r11, 1
test r11, r11
jle 0x180007ff3
mov qword [rsp + 0x50], rbx
lea rax, [r11 + r11*4]
mov qword [rsp + 0x58], rbp
lea rbp, [r14 - 1]
mov qword [rsp + 0x60], rsi
lea rsi, [rcx + rax*8]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], r12
mov r12d, 0x50
mov qword [rsp + 0x30], r15
movsxd rbx, r9d
sar rbp, 1
nop
movups xmm3, xmmword [rsi - 0x28]
lea rsi, [rsi - 0x28]
dec r11
movsd xmm5, qword [rsi + 0x20]
mov r9, r11
movsd qword [rsp + 0x20], xmm5
mov rdi, r11
movups xmm4, xmmword [rsi + 0x10]
movups xmmword [rsp], xmm3
movups xmmword [rsp + 0x10], xmm4
cmp r11, rbp
jge 0x180007f24
nop
lea rdx, [rdi + rdi]
lea rax, [rdx + rdx*4]
lea r8, [r10 + rax*8]
movss xmm0, dword [r8 + rbx + 0x28]
lea rax, [r9 + r9*4]
comiss xmm0, dword [r8 + rbx + 0x50]
seta cl
movzx edi, cl
xor rdi, 1
inc rdi
add rdi, rdx
mov edx, 0x28
test cl, cl
mov r9, rdi
cmove rdx, r12
movups xmm0, xmmword [rdx + r8]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [rdx + r8 + 0x10]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [rdx + r8 + 0x20]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp rdi, rbp
jl 0x180007ec0
cmp r9, rbp
jne 0x180007f60
test r14b, 1
jne 0x180007f60
lea rax, [r9 + r9*4]
lea rcx, [r14 + r14*4]
movups xmm0, xmmword [r10 + rcx*8 - 0x28]
lea r9, [r14 - 1]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [r10 + rcx*8 - 0x18]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [r10 + rcx*8 - 8]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp r11, r9
jge 0x180007fb6
movss xmm2, dword [rsp + rbx]
nop word [rax + rax]
lea rcx, [r9 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*4]
lea rax, [rbx + rdx*8]
comiss xmm2, dword [rax + r10]
jbe 0x180007fb6
lea rax, [r9 + r9*4]
mov r9, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movups xmm1, xmmword [r10 + rdx*8 + 0x10]
movups xmmword [r10 + rax*8 + 0x10], xmm1
movsd xmm0, qword [r10 + rdx*8 + 0x20]
movsd qword [r10 + rax*8 + 0x20], xmm0
cmp r11, rcx
jl 0x180007f70
lea rax, [r9 + r9*4]
movups xmmword [r10 + rax*8], xmm3
movups xmmword [r10 + rax*8 + 0x10], xmm4
movsd qword [r10 + rax*8 + 0x20], xmm5
test r11, r11
jg 0x180007e90
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r14
ret
Function at 0x180008b90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
movsxd rsi, dword [rsp + 0x40]
mov r10, rdx
mov qword [rsp + 0x18], rbx
mov r11, rcx
mov qword [rsp + 0x20], rdi
mov rbx, r8
mov qword [rsp + 0x30], r15
mov rbp, rdx
lea r15, [r8 - 1]
mov rdi, r15
sar rdi, 1
cmp rdx, rdi
jge 0x180008c2f
mov qword [rsp + 0x28], r14
nop word [rax + rax]
add rdx, rdx
mov r8, rdx
shl r8, 5
add r8, r11
movss xmm0, dword [rsi + r8 + 0x20]
comiss xmm0, dword [rsi + r8 + 0x40]
seta cl
shl r10, 5
movzx eax, cl
xor rax, 1
inc rax
add rdx, rax
movzx eax, cl
xor rax, 1
inc rax
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmmword [r10 + r11], xmm0
movups xmm1, xmmword [rax + r8 + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
mov r10, rdx
cmp rdx, rdi
jl 0x180008bd0
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
jne 0x180008c5d
test bl, 1
jne 0x180008c5d
shl rbx, 5
shl r10, 5
movups xmm0, xmmword [rbx + r11 - 0x20]
movups xmmword [r10 + r11], xmm0
movups xmm1, xmmword [rbx + r11 - 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
mov r10, r15
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x18]
cmp rbp, r10
jge 0x180008cc1
movsxd r8, dword [rsp + 0x48]
nop dword [rax]
nop word [rax + rax]
movss xmm0, dword [r8 + r9]
lea rcx, [r10 - 1]
sar rcx, 1
mov rdx, rcx
shl rdx, 5
lea rax, [rdx + rsi]
comiss xmm0, dword [rax + r11]
jbe 0x180008cc1
movups xmm0, xmmword [rdx + r11]
shl r10, 5
movups xmmword [r10 + r11], xmm0
movups xmm1, xmmword [rdx + r11 + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
mov r10, rcx
cmp rbp, rcx
jl 0x180008c80
movups xmm0, xmmword [r9]
shl r10, 5
movups xmmword [r10 + r11], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [r10 + r11 + 0x10], xmm1
pop rsi
pop rbp
ret