joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005dcd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800ade60], ebp
je 0x18005dd27
cmp rbx, 0x20
jae 0x18005dd10
xor ecx, ecx
jmp 0x18005dd12
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800ade60], ebp
jne 0x18005dd06
cmp qword [0x1800ade68], r15
je 0x18005de23
test rdi, rdi
jne 0x18005dd47
mov ecx, esi
call fcn.18005d5d0
mov ebp, eax
jmp 0x18005de28
mov ecx, dword [0x1800ae42c]
mov ebx, r15d
test ecx, ecx
je 0x18005dd6f
mov r8, qword [0x1800ae420]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x18005dd79
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18005dd60
mov ebp, 4
jmp 0x18005de28
cmp ebx, 0xffffffff
je 0x18005dd6f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18005de1a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18005d330
mov edx, esi
mov ecx, ebx
call fcn.18005d4c0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18005de28
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005de04
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18005ddfa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18005ddd0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800ade68]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18005de28
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x18005de28
mov ebp, 2
xchg dword [0x1800ade60], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800616c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1800ae400]
test rax, rax
jne 0x1800618cc
movups xmm0, xmmword [str.r___PNC]
movzx eax, byte [0x18009ff38]
xor ecx, ecx
cmp dword [0x1800ab090], 2
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x58], al
movsd xmm0, qword [0x18009ff30]
movsd qword [rsp + 0x50], xmm0
jl 0x180061843
movdqa xmm0, xmmword [0x1800a02c0]
lea rdx, [rsp + 0x44]
movdqa xmm4, xmmword [0x1800a0170]
movdqa xmm3, xmmword [0x1800a03a0]
movdqa xmm5, xmmword [0x1800a01c0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1800a0280]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x180061750
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x19
jge 0x18006187f
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x180061850
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800618a0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180012cd0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180025530
mov rax, qword [0x1800ae400]
add rsp, 0x78
ret
Function at 0x1800704cc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18007053b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18007053b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007053b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18007053b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18007053b
cmp dword [rcx + 0x84], 0xe
jbe 0x18007053b
cmp dword [rcx + 0xf8], 0
je 0x18007053b
mov ecx, ebx
call fcn.1800705ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800703c8
nop
cmp dword [rbp + 0x20], 0
je 0x180070589
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180070594
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800704cc

Function at 0x180070688
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18007053b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18007053b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007053b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18007053b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18007053b
cmp dword [rcx + 0x84], 0xe
jbe 0x18007053b
cmp dword [rcx + 0xf8], 0
je 0x18007053b
mov ecx, ebx
call fcn.1800705ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800703c8
nop
cmp dword [rbp + 0x20], 0
je 0x180070589
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180070594
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800704cc
Function at 0x1800813bc
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800813ec
xor eax, eax
jmp 0x1800814af
mov rbp, rbx
cmp word [rax], si
je 0x180081411
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800813f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800813f4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18007fb08
movsxd r14, eax
test eax, eax
jne 0x18008144f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800813e5
mov rcx, r14
call fcn.18007ba6c
mov rdi, rax
test rax, rax
jne 0x180081468
xor ecx, ecx
call fcn.18007ba30
jmp 0x180081444
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18007fb08
test eax, eax
jne 0x180081499
mov rcx, rdi
call fcn.18007ba30
jmp 0x1800814a3
xor ecx, ecx
call fcn.18007ba30
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180084048
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180079b88
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800840e9
cmp ebx, dword [rsp + 0x30]
je 0x1800840e2
test esi, esi
je 0x1800840e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800840bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800840ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800840a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800840ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800840eb
mov eax, 1
jmp 0x1800840eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180089b50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180089b78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180089b78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100401080
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [str.clear]
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea rdx, str.Usage:__s__options__n
mov r8, rbx
call sub.cygwin1.dll_fprintf
call sub.cygwin1.dll___getreent
mov r9, qword [rax + 0x18]
lea rcx, str._nOptions:_n___T_TERM_____use_this_instead_of__TERM_n___V__________print_curses_version_n___x__________do_not_try_to_clear_scrollback_n
mov r8d, 0x82
mov edx, 1
call sub.cygwin1.dll_fwrite
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop
jmp 0x1004014a0
jmp qword [sym.imp.cygwin1.dll_putchar]

Function at 0x100401190
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov dword [0x10040704c], 2
mov rbx, rcx
mov esi, edx
mov rdx, rcx
mov ecx, 2
call sub.cygwin1.dll_tcgetattr
test eax, eax
js 0x100401210
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov byte [section..bss], 1
mov qword [0x100407020], rax
mov qword [0x100407028], rdx
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov qword [0x100407030], rax
mov qword [0x100407038], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x100407040], rax
mov eax, dword [rbx + 0x28]
mov dword [0x100407048], eax
mov eax, dword [0x10040704c]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rdx, rbx
mov ecx, 1
mov dword [0x10040704c], 1
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
xor ecx, ecx
mov rdx, rbx
mov dword [0x10040704c], 0
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
lea rcx, str._dev_tty
mov edx, 2
call sub.cygwin1.dll_open
test eax, eax
mov dword [0x10040704c], eax
jns 0x100401280
test sil, sil
jne 0x100401294
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x10]
call sub.cygwin1.dll_fileno
mov dword [0x10040704c], eax
jmp 0x100401203
mov rdx, rbx
mov ecx, eax
call sub.cygwin1.dll_tcgetattr
test eax, eax
jns 0x1004011b7
jmp 0x100401262
call sub.cygwin1.dll___errno
mov ebx, dword [rax]
mov ecx, ebx
call sub.cygwin1.dll_strerror
mov rdi, rax
mov rax, qword [0x100403120]
mov rsi, qword [rax]
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str.terminal_attributes
lea rdx, str._s:__s:__s_n
mov qword [rsp + 0x20], rdi
mov r8, rsi
call sub.cygwin1.dll_fprintf
cmp byte [section..bss], 0
je 0x1004012f3
mov ecx, dword [0x10040704c]
lea r8, [0x100407020]
mov edx, 3
call sub.cygwin1.dll_tcsetattr
call sub.cygwin1.dll___getreent
mov rdx, qword [rax + 0x18]
mov ecx, 0xa
call sub.cygwin1.dll_fputc
lea ecx, [rbx + 4]
call sub.cygwin1.dll_exit
nop
nop
cmp byte [section..bss], 0
jne 0x100401320
ret
mov ecx, dword [0x10040704c]
lea r8, [0x100407020]
mov edx, 3
jmp sub.cygwin1.dll_tcsetattr
Function at 0x141c62058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141c621df
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 0x141c62089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c6206f
add dl, dl
jne 0x141c62096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c620f6
xor eax, eax
add dl, dl
jne 0x141c620a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c621ad
add dl, dl
jne 0x141c620b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c620c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c620d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c620dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c620ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c6207e
mov eax, 1
add dl, dl
jne 0x141c62106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c62113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c620fb
sub eax, ebx
mov ebx, 1
jne 0x141c6214c
mov ecx, 1
add dl, dl
jne 0x141c6212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c6213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c62123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c6207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c62168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c62175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c6215d
cmp eax, 0x7d00
jae 0x141c6219b
cmp eax, 0x500
jb 0x141c62196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c6207e
cmp eax, 0x7f
ja 0x141c6219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c6207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c621d2
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 0x141c6207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14002c9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14002ca14
cmp ecx, r10d
jge 0x14002ca02
mov rcx, rbx
call fcn.14002c1f0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14002ca4e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14002ca30
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14002ca76
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14002caa5
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14002ca8f
xor dl, dl
jmp 0x14002ca98
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14002ca86
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14002ca52
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14002cb0f
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14002cb29
mov rcx, rbx
call fcn.14002c330
test eax, eax
je 0x14002cb02
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1402872aa
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14003a120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14003a1a7
mov rbx, r15
mov rbp, r15
jmp 0x14003a1ea
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14003a1c1
cmp rbx, rcx
je 0x14003a1e4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14003a1b3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
jne 0x14003a208
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.14028654c
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r13]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14003a245
cvtsi2ss xmm0, rcx
jmp 0x14003a25a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14003a26d
cvtsi2ss xmm1, rcx
jmp 0x14003a282
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14003a2f1
mov rcx, rsi
call fcn.14003a380
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14003a2bf
mov qword [rsp + 0x28], 0
jmp 0x14003a2e4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14003a2e1
nop dword [rax + rax]
mov rbx, rax
cmp rax, rdx
je 0x14003a325
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14003a2d0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14003a335
mov qword [rcx + rax*8], rdi
jmp 0x14003a347
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14003a2e9
cmp r8, rbp
jne 0x14003a340
mov qword [rcx + rax*8], rdi
jmp 0x14003a34c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14003a34c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14003a1c9
Function at 0x14003a430
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003a465
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140021290
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003a5a6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003a520
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003a595
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003a55d
mov r10, qword [rdx]
cmp r10, rax
je 0x14003a557
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 [r11 + 8], rax
jmp 0x14003a595
cmp r9, rdx
je 0x14003a571
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003a5b7
cmp r9, rdx
jne 0x14003a562
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14003a4d0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
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 0x14003a595

Function at 0x14003aab0
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x14003ab35
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x14003ab37
nop word [rax + rax]
cmp rax, rdx
je 0x14003ab35
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14003ab20
test rax, rax
setne al
ret
xor eax, eax
test rax, rax
setne al
ret