joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402f9b10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402d3b00
nop
test rbx, rbx
je 0x1402f9b66
add rbx, 0xc
mov rdx, rbx
jmp 0x1402f9b68
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140010a60
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140010ab0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1402f9be5
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402d3b40
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140315520
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
xor r15d, r15d
cmp byte [rbp + 0x30], 0
setne r15b
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rsi
test r14, r14
je 0x14031557d
add r14, 0xc
jmp 0x140315580
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r13, r9
mov qword [rbp - 0x60], r8
mov r12, r8
test rcx, rcx
je 0x1403155a0
add rcx, 0xc
mov rax, rcx
jmp 0x1403155a2
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
mov r8, r12
mov qword [rbp - 0x88], r8
mov r9, r13
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.140010a60
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140315680
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402d3b00
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
lea rcx, [rbp - 0x80]
call fcn.140010a60
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x140315713
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402d3b40
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140315880
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
xor eax, eax
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.140010a60
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140315e80
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov r14d, r9d
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov byte [rbp - 0x5c], 0
lea rcx, [0x14058f5e0]
call fcn.140500bf0
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
lea rcx, [0x14058f5e0]
call fcn.140500bf0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x7c], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x84], rdx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9d, r14d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0xb8]
call fcn.140010a60
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8, qword [rbp - 0x8c]
mov r9d, dword [rbp - 0x74]
call sub.KERNEL32.dll_CreatePipe
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x3c], 1
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x5c], 1
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x48]
mov byte [rbp - 0x60], 1
mov r8, qword [rbp - 0x70]
mov qword [r8 + 8], rcx
test ebx, ebx
setne bl
movzx ebx, bl
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.140010850
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
call fcn.140010850
nop
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140328d70
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x18], rdx
mov rbx, rcx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x44], rcx
mov edx, dword [rbp + 0x18]
mov dword [rbp - 0x3c], edx
lea rcx, [rbp - 0x70]
call fcn.140010a60
mov rcx, qword [rbp - 0x44]
mov edx, dword [rbp - 0x3c]
call sub.KERNEL32.dll_SetConsoleCursorPosition
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140328e80
Capabilities:
Set console window title

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x140328eac
add rcx, 0xc
mov rbx, rcx
jmp 0x140328eae
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140010a60
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_SetConsoleTitleW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140010ab0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.14000a9cb
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1404c6940
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x1404c69dd
xor eax, eax
cmp r8d, 4
jl 0x1404c6991
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x1404c69d8
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x1404c69d1
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x1404c69c9
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x1404c69c1
add rax, 4
test r8d, r8d
jle 0x1404c6bba
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x1404c69d8
inc rax
test r8d, r8d
jg 0x1404c69a0
jmp 0x1404c6bba
add eax, 3
jmp 0x1404c6bb5
add eax, 2
jmp 0x1404c6bb5
inc eax
jmp 0x1404c6bb5
jmp 0x1404c6bb5
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x1404c6af6
add rax, 0x10
cmp rax, r10
jbe 0x1404c6a00
mov eax, r8d
test al, 7
je 0x1404c6bba
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1404c6bba
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x1404c6bac
mov ecx, 0x20
jmp 0x1404c6baf
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x1404c6b9d
mov r8d, 0x20
jmp 0x1404c6ba1
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x1404c6bb5
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1404d6f00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x1404d6f51
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x1404d717b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x1404d6f45
inc edx
cmp edx, r9d
jl 0x1404d6f25
jmp 0x1404d717b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x14081ef30]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x1404d70bb
add rax, 0x10
cmp rax, r8
jb 0x1404d6f98
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1404d717b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1800cf650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
and dword [rax - 0x38], 0
mov rdi, rcx
mov r8d, dword [0x1805c9de4]
mov sil, dl
mov dword [rax - 0x30], 0x3f800000
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x180600850], eax
jg 0x1800cf815
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov rcx, rbx
movabs rbp, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x60]
inc rdx
xor rcx, rax
imul rcx, rbp
cmp rdx, 8
jb 0x1800cf6ba
mov rax, qword [0x180600840]
mov rdx, qword [0x180600828]
and rax, rcx
mov r9, qword [0x180600818]
add rax, rax
mov rcx, qword [rdx + rax*8 + 8]
cmp rcx, r9
je 0x1800cf70b
mov r8, qword [rdx + rax*8]
jmp 0x1800cf703
cmp rcx, r8
je 0x1800cf70b
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x1800cf6fa
jmp 0x1800cf70d
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
jne 0x1800cf78e
and dword [rsp + 0x38], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
call fcn.1800cfb00
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x60]
inc rcx
xor rbx, rax
imul rbx, rbp
cmp rcx, 8
jb 0x1800cf737
and rbx, qword [0x180600840]
mov rdx, qword [0x180600828]
add rbx, rbx
mov rax, qword [0x180600818]
mov rcx, qword [rdx + rbx*8 + 8]
cmp rcx, rax
je 0x1800cf785
mov r8, qword [rdx + rbx*8]
jmp 0x1800cf77d
cmp rcx, r8
je 0x1800cf785
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x1800cf774
jmp 0x1800cf787
xor ecx, ecx
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [0x1805ca8b8]
lea rdx, [rax + 0x18]
movss xmm1, dword [0x1800c42c8]
movss xmm0, dword [rdx]
subss xmm1, dword [rcx + 0x18]
mulss xmm1, dword [rsp + 0x80]
test sil, sil
je 0x1800cf7c7
comiss xmm0, dword [0x1800c42c8]
jae 0x1800cf7d8
addss xmm0, xmm1
jmp 0x1800cf7d4
comiss xmm0, dword [0x1800c416c]
jbe 0x1800cf7d8
subss xmm0, xmm1
movss dword [rdx], xmm0
comiss xmm0, dword [0x1800c416c]
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
mov rbp, qword [rsp + 0x70]
lea rax, [rsp + 0x28]
mov rsi, qword [rsp + 0x78]
cmovae rcx, rdx
comiss xmm0, dword [0x1800c42c8]
cmovbe rax, rcx
movss xmm0, dword [rax]
movss dword [rdx], xmm0
add rsp, 0x50
pop rdi
ret
lea rcx, [0x180600850]
call fcn.180143b4c
cmp dword [0x180600850], 0xffffffff
jne 0x1800cf6a1
mov ecx, 0x20
call fcn.180143a68
xorps xmm0, xmm0
lea rcx, [0x180600828]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x180600828], 0
mov qword [0x180600818], rax
movdqa xmmword [0x180600830], xmm0
mov qword [0x180600840], 7
mov qword [0x180600848], 8
mov dword [0x180600810], 0x3f800000
call fcn.1800cf9c0
lea rcx, [0x1801b0fdc]
call fcn.180143f1c
lea rcx, [0x180600850]
call fcn.180143ae0
jmp 0x1800cf6a1
Function at 0x1800cfb00
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x20
mov r14, r8
mov rsi, rdx
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
movzx eax, byte [r8 + rcx]
movabs rdx, 0x100000001b3
xor rbp, rax
inc rcx
imul rbp, rdx
cmp rcx, 8
jb 0x1800cfb2b
mov rcx, qword [0x180600840]
mov rdx, qword [0x180600828]
and rcx, rbp
mov rdi, qword [0x180600818]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rdi
je 0x1800cfbaf
mov r8, qword [rdx + rcx*8]
mov rcx, qword [r14]
jmp 0x1800cfb81
cmp rax, r8
je 0x1800cfbac
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800cfb78
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdi, rax
movabs rax, 0x7ffffffffffffff
cmp qword [0x180600820], rax
jne 0x1800cfbd0
lea rcx, [0x1800bcd10]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov ecx, 0x20
call fcn.180143a68
movups xmm0, xmmword [r14]
mov rbx, rax
xorps xmm1, xmm1
movdqu xmmword [rax + 0x10], xmm0
mov rdx, qword [0x180600820]
lea rcx, [rdx + 1]
test rcx, rcx
js 0x1800cfc00
cvtsi2ss xmm1, rcx
jmp 0x1800cfc15
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180600848]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800cfc2b
cvtsi2ss xmm0, rcx
jmp 0x1800cfc40
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180600810]
comiss xmm0, xmm1
jae 0x1800cfc9e
call fcn.1800cfd0c
mov rcx, qword [0x180600840]
mov rdx, qword [0x180600828]
and rcx, rbp
mov rdi, qword [0x180600818]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rdi
je 0x1800cfc97
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rbx + 0x10]
jmp 0x1800cfc8e
cmp rax, r8
je 0x1800cfce1
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1800cfc85
mov rdi, qword [rax]
mov rdx, qword [0x180600820]
mov r8, qword [rdi + 8]
inc rdx
mov qword [0x180600820], rdx
mov qword [rbx], rdi
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdi + 8], rbx
mov rax, qword [0x180600840]
mov rcx, qword [0x180600828]
and rax, rbp
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x180600818]
jne 0x1800cfce6
mov qword [rcx + rax*8], rbx
jmp 0x1800cfcf8
mov rdi, rax
jmp 0x1800cfc97
cmp rdx, rdi
jne 0x1800cfcf1
mov qword [rcx + rax*8], rbx
jmp 0x1800cfcfd
cmp qword [rcx + rax*8 + 8], r8
jne 0x1800cfcfd
mov qword [rcx + rax*8 + 8], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
jmp 0x1800cfb8e
Function at 0x1800cfd0c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x180600820]
mov esi, 1
add rcx, rsi
xorps xmm1, xmm1
js 0x1800cfd36
cvtsi2ss xmm1, rcx
jmp 0x1800cfd4b
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180600810]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x1800cfd7e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x1800cfd7e
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1800c457c]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x1800cfda3
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x1800cfda3
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x180600848]
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1800cfdd8
cmp rdx, 0x200
jae 0x1800cfdd5
shl rdx, 3
cmp rdx, rcx
jae 0x1800cfdd8
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
jbe 0x1800cfdff
lea rcx, [0x1800bcd30]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x180600818]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180600828]
lea rdx, [rdi + rdi]
call fcn.1800cf9c0
mov rax, qword [0x180600818]
lea r9, [rdi - 1]
mov qword [0x180600840], r9
mov qword [0x180600848], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800cff4b
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
add r8, rsi
imul r11, r10
cmp r8, 8
jb 0x1800cfe64
mov rdi, qword [0x180600828]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1800cfea2
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800cff11
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x1800cfee6
mov r10, qword [r10]
cmp r10, rax
je 0x1800cfe9b
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800cfe9b
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x1800cff25
cmp qword [rdi + r11*8], r10
jne 0x1800cfedc
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800cff4b
mov r9, qword [0x180600840]
jmp 0x1800cfe54
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800cff11
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret