joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180126440
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
lea ecx, [rbp + 0x28]
call fcn.1802846b0
mov rsi, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
mov rcx, rax
call fcn.180008830
nop
mov qword [rsi + 0x20], rdi
mov qword [rsp + 0x60], rsi
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rdi, [r14 + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov r9, rsi
lea r8, [0x180129710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1801264df
mov qword [rsp + 0x60], rbp
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rdi], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180134310
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180134350
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180357240]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18013438e
cmp rsi, r14
jb 0x180134386
cmp rsi, r15
jae 0x180134386
cmp qword [rsi + 8], 0
jne 0x180134557
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180134371
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180134422
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180134419
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180134419
cmp dword [rsp + 0x70], 0x10000
je 0x18013449b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180134419
sub rbx, rbp
cmp rbx, r14
jae 0x1801343e0
test rsi, rsi
jne 0x180134500
cmp rdi, r15
ja 0x18013453f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18013453f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18013453f
cmp dword [rsp + 0x70], 0x10000
je 0x1801344d1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180134452
jmp 0x18013453f
test rbx, rbx
je 0x180134419
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180134500
cmp rbx, r14
jae 0x1801343c0
jmp 0x180134422
test rdi, rdi
je 0x18013453f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180134500
cmp rdi, r15
jbe 0x180134430
jmp 0x18013453f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180134510
mov rax, qword [0x180357240]
mov qword [rsi], rax
mov qword [0x180357240], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180134f80
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov r14d, edx
xor edx, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
mov ebp, r8d
mov esi, r15d
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180135138
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1801350c9
lea esi, [r15 + 1]
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180135083
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180135083
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180135083
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180135042
mov rcx, qword [0x18034b458]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1801350ac
jmp 0x180135073
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180135073
mov rcx, qword [0x18034b458]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801350ac
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180134ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1801350c9
mov r8, qword [rbx]
mov esi, r15d
test r8, r8
je 0x1801350c9
mov rcx, qword [0x18034b458]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x180135138
cmp qword [rbx], r15
je 0x180135133
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x180135133
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18013512c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180134df0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1801350f0
mov eax, r15d
jmp 0x18013513d
mov eax, 9
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180135160
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801351cf
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801351b8
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801351ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180135180
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18034b458]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1801351e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180357230]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180135244
mov eax, 0xa
jmp 0x1801352d7
test esi, esi
je 0x180135266
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180135289
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180135289
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180135282
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180135289
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801352f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x18035723c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180135337
mov rax, qword [0x180357230]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180135344
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180135320
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180135337
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180134f80
mov edi, eax
test eax, eax
jne 0x18013542d
mov r9d, dword [0x18035723c]
cmp ebx, r9d
jae 0x1801353bc
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180357230]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1801353b5
mov edx, esi
mov ecx, ebx
call fcn.1801351e0
mov edi, eax
test eax, eax
jne 0x1801353bc
mov r9d, dword [0x18035723c]
inc ebx
cmp ebx, r9d
jb 0x180135380
cmp qword [rsp + 0x20], 0
je 0x18013542b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180135417
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180135408
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1801353e0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18034b458]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x18016fe00
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x230
lea rdi, [0x1803522e0]
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movups xmmword [0x1803522e0], xmm0
xor ebx, ebx
mov qword [0x1803522f0], rbx
mov qword [0x1803522f8], 0xf
mov byte [0x1803522e0], bl
lea rcx, [0x180352300]
mov qword [rax + 0x18], rcx
xor edx, edx
call fcn.180173600
nop
lea rax, [0x180352310]
mov qword [rsp + 0x258], rax
mov dword [0x180352310], ebx
mov qword [0x180352318], rbx
mov qword [0x180352320], rbx
lea ecx, [rbx + 0x38]
call fcn.1802846b0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x180352318], rax
mov qword [0x180352328], rbx
xorps xmm0, xmm0
movdqa xmmword [0x180352330], xmm0
mov qword [0x180352340], 7
mov qword [0x180352348], 8
mov dword [0x180352310], 0x3f800000
mov r8, qword [0x180352318]
lea edx, [rbx + 0x10]
lea rcx, [0x180352328]
call fcn.180173c50
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18016ff10
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180008ab0
mov rcx, qword [0x1803522f0]
mov rdx, qword [0x1803522f8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1a
jb 0x18016ff79
lea rax, [rcx + 0x1a]
mov qword [0x1803522f0], rax
mov rbx, rdi
cmp rdx, 0xf
cmova rbx, qword [0x1803522e0]
add rbx, rcx
mov r8d, 0x1a
lea rdx, str.MemoryError_settings.json
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1a], 0
jmp 0x18016ff96
mov qword [rsp + 0x20], 0x1a
lea r9, str.MemoryError_settings.json
mov edx, 0x1a
mov rcx, rdi
call fcn.180009050
call fcn.180170020
test al, al
jne 0x18016ffa5
call fcn.180170e80
nop
mov rax, rdi
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x1801717a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov r8, rdx
mov rbx, qword [0x18034b448]
mov r10, qword [rdx + 0x10]
jbe 0x1801717c2
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1801717f4
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1801717e0
mov r8, rdx
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x20]
call fcn.1801791f0
mov rax, qword [rax + 8]
test rax, rax
jne 0x180171812
mov rax, qword [rbx + 0x38]
cmp rax, qword [rbx + 0x38]
je 0x180171827
movzx eax, byte [rax + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x180183900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
movsxd rdx, dword [rdx]
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.1800d01e0
mov rdx, rax
mov rcx, qword [rdi + 0x10]
test byte [rax + 8], 0xf
jne 0x180183930
mov byte [rcx + 8], 0
jmp 0x18018393d
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rdi + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rdi
call fcn.1800a02b0
mov rbx, rax
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.18009fd40
mov rcx, rbx
shr rcx, 8
movzx r8d, cl
movzx ecx, bl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x18
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x20
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x28
movzx eax, al
xor rax, r8
imul rax, r9
mov rcx, rbx
shr rcx, 0x30
movzx edx, cl
xor rax, rdx
imul rax, r9
shr rbx, 0x38
xor rax, rbx
imul rax, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18018e910
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18018e9b8
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18018e953
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x18018f270
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18018e985
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x38
call fcn.180284a64
mov rcx, rbx
test rbx, rbx
jne 0x18018e970
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.180174910
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rbp, r8
mov r15, rdx
cmp rdx, r8
je 0x18018f40a
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x40], r14
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0xc8], rax
add rdx, 0x10
call fcn.18018f690
add rax, rax
lea r12, [rbx + rax*8]
mov rax, qword [r12]
mov qword [rsp + 0xb8], rax
mov r13, qword [r12 + 8]
nop dword [rax]
nop dword [rax + rax]
cmp rdi, r13
sete bl
mov rcx, rdi
mov rsi, qword [rdi]
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov edx, 0x38
call fcn.180284a64
dec qword [r14 + 8]
test bl, bl
jne 0x18018f342
cmp rsi, rbp
jne 0x18018f300
cmp qword [rsp + 0xb8], r15
jne 0x18018f3fe
mov qword [r12], rsi
jmp 0x18018f3fe
mov r13, qword [rsp + 0xc0]
cmp qword [rsp + 0xb8], r15
jne 0x18018f35d
mov qword [r12], r13
mov rax, r13
jmp 0x18018f365
mov rax, qword [rsp + 0xc8]
mov qword [r12 + 8], rax
cmp rsi, rbp
je 0x18018f3fe
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18018f3b4
mov r9, qword [rsp + 0x30]
movzx ecx, byte [rdx + r9]
xor rax, rcx
imul rax, r10
inc rdx
cmp rdx, r8
jb 0x18018f3a0
mov rcx, qword [rsp + 0xb0]
and rax, qword [rcx + 0x30]
shl rax, 4
mov r15, qword [rsp + 0x20]
add r15, rax
mov r12, qword [r15 + 8]
cmp rdi, r12
sete bl
mov rcx, rdi
mov rsi, qword [rdi]
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov edx, 0x38
call fcn.180284a64
dec qword [r14 + 8]
test bl, bl
jne 0x18018f41e
cmp rsi, rbp
jne 0x18018f3d0
mov qword [r15], rsi
mov rax, qword [rsp + 0x28]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rax, rbp
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
jmp 0x18018f36a
Function at 0x18018f270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18018e9b8
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18018e953
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x18018f270
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18018e985
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x38
call fcn.180284a64
mov rcx, rbx
test rbx, rbx
jne 0x18018e970
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.180174910
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rbp, r8
mov r15, rdx
cmp rdx, r8
je 0x18018f40a
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x40], r14
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x50], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0xc8], rax
add rdx, 0x10
call fcn.18018f690
add rax, rax
lea r12, [rbx + rax*8]
mov rax, qword [r12]
mov qword [rsp + 0xb8], rax
mov r13, qword [r12 + 8]
nop dword [rax]
nop dword [rax + rax]
cmp rdi, r13
sete bl
mov rcx, rdi
mov rsi, qword [rdi]
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov edx, 0x38
call fcn.180284a64
dec qword [r14 + 8]
test bl, bl
jne 0x18018f342
cmp rsi, rbp
jne 0x18018f300
cmp qword [rsp + 0xb8], r15
jne 0x18018f3fe
mov qword [r12], rsi
jmp 0x18018f3fe
mov r13, qword [rsp + 0xc0]
cmp qword [rsp + 0xb8], r15
jne 0x18018f35d
mov qword [r12], r13
mov rax, r13
jmp 0x18018f365
mov rax, qword [rsp + 0xc8]
mov qword [r12 + 8], rax
cmp rsi, rbp
je 0x18018f3fe
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18018f3b4
mov r9, qword [rsp + 0x30]
movzx ecx, byte [rdx + r9]
xor rax, rcx
imul rax, r10
inc rdx
cmp rdx, r8
jb 0x18018f3a0
mov rcx, qword [rsp + 0xb0]
and rax, qword [rcx + 0x30]
shl rax, 4
mov r15, qword [rsp + 0x20]
add r15, rax
mov r12, qword [r15 + 8]
cmp rdi, r12
sete bl
mov rcx, rdi
mov rsi, qword [rdi]
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov edx, 0x38
call fcn.180284a64
dec qword [r14 + 8]
test bl, bl
jne 0x18018f41e
cmp rsi, rbp
jne 0x18018f3d0
mov qword [r15], rsi
mov rax, qword [rsp + 0x28]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rax, rbp
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
jmp 0x18018f36a
Function at 0x18018f690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x18
movups xmm0, xmmword [rdx]
xor edx, edx
mov r10, rcx
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp], xmm0
psrldq xmm0, 8
movq r9, xmm0
test r9, r9
je 0x18018f6e4
mov r8, qword [rsp]
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r8]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r9
jb 0x18018f6d0
and rax, qword [r10 + 0x30]
add rsp, 0x18
ret
Function at 0x1801a3520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1801a3567
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]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rbp, qword [r14 + 8]
lea r15, [r14 + 0x18]
lea rdx, [rbx + rbx]
mov r8, rbp
mov rcx, r15
call fcn.180173c50
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rbx
mov qword [rsp + 0x78], r14
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x1801a3700
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop word [rax + rax]
mov rsi, qword [rsi]
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1801a3604
mov r9, qword [rsp + 0x20]
nop dword [rax]
movzx ecx, byte [rdx + r9]
xor rax, rcx
imul rax, r10
inc rdx
cmp rdx, r8
jb 0x1801a35f0
and rax, qword [r14 + 0x30]
shl rax, 4
mov r12, qword [r15]
add r12, rax
mov r15, qword [r12]
cmp r15, rbp
jne 0x1801a3629
mov qword [r12], rdi
mov qword [r12 + 8], rdi
jmp 0x1801a36e1
mov rbx, qword [r12 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x1801a3676
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801a3676
mov rax, qword [rbx]
cmp rax, rdi
je 0x1801a366f
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
mov qword [r12 + 8], rdi
jmp 0x1801a36d7
cmp r15, rbx
je 0x1801a36b2
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
nop
mov rbx, qword [rbx + 8]
cmp r14, qword [rbx + 0x18]
jne 0x1801a36ad
mov r8, r14
mov rdx, qword [rbx + 0x10]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801a3721
cmp r15, rbx
jne 0x1801a3690
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r12], rdi
movabs r10, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
mov r14, qword [rsp + 0x70]
lea r15, [r14 + 0x18]
movabs rax, 0xcbf29ce484222325
jne 0x1801a35d0
mov qword [rsp + 0x78], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbx]
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
jmp 0x1801a36d7