joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180083bb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x180083bd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180083be8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x180083c32
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x180083ca1
mov rcx, rbp
call fcn.18006a8b0
cmp rbx, 0xfff
jbe 0x180083c81
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x180083cba
cmp rbx, rax
ja 0x180083c50
test rdi, rdi
je 0x180083ca1
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x180083ca4
Function at 0x180083cc0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180083ce8
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x180083d5c
test rax, rax
jle 0x180083d3c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x180083d5c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180083d5c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret

Function at 0x180083d80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180083daf
xor eax, eax
mov qword [0x18029df38], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180083dc0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180090be0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18029b200]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
mov rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.180046d40
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, [0x18029e8c8]
cmp rcx, rax
je 0x180090c3d
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180090c34
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.180040750
lea rcx, [0x18029e3f0]
call fcn.180093930
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180090c80
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180090c7b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180090caa
mov rcx, r8
call fcn.18011e6f0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov ecx, 8
call fcn.18011e6b4
test rax, rax
je 0x180090cb1
lea rcx, [0x18029e500]
mov qword [rax], rcx
jmp 0x180090cb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rbp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x180087940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180090d4a
cmp dword [rsp + 0x38], 0
je 0x180090d3f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x180090d3f
lea rdx, [0x180085ab0]
movabs rcx, 0x8943889324
call qword [0x18029e5e8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18011eca0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x180091bb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
mov ebx, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x180132400]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x18012b970]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x18016f270]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x180132470]
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [str.9999999999999999]
movaps xmmword [rax - 0x68], xmm11
movdqa xmm11, xmmword [str.::::]
mov eax, dword [0x18016d260]
xor ecx, ecx
movsd xmm0, qword [str.ZUUTRMKm7pm__G]
mov dword [rsp + 0x28], eax
movzx eax, word [0x18016d264]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x18016d266]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp ebx, 2
jl 0x180091d1a
movdqa xmm1, xmm7
movdqa xmm0, xmm7
punpckldq xmm1, xmm7
mov ecx, 8
pmuldq xmm1, xmm8
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, dword [str.ZUUTRMKm7pm__G]
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd dword [rsp + 0x20], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm8
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm11
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
xorps xmm1, xmm0
movd dword [rsp + 0x24], xmm1
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x180091d30
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x18029e536], 0
mov rdx, rax
je 0x180091d9a
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov byte [rax + 0x6ede9], cl
mov ecx, 0xa
mov byte [0x18029eb44], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180091c11
cmp byte [0x18029eb44], 0
je 0x180091db7
movzx eax, byte [rax + 0x6ede8]
mov byte [rdx + 0x6ede9], al
mov byte [0x18029eb44], 0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180091c11
Function at 0x180091e20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180091e81
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180091e40
mov ecx, dword [r9]
jmp 0x180091f6b
cmp ecx, 0x4e0
jb 0x180091f6b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180091ea0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180091ef0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800928b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x1801ffc58]
mov rsi, rcx
mov edi, r8d
mov r8d, edx
mov rcx, qword [rax + rdx]
test rcx, rcx
je 0x1800928db
mov rax, qword [0x18029b038]
mov r8d, dword [rax + rcx]
mov rax, qword [0x18029e478]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r14
mov rax, qword [rax + rdx]
mov qword [rsp + 0x30], r15
test rax, rax
je 0x180092a2e
mov rax, qword [rax + 0x68]
lea rdx, [rsp + 0x68]
movsxd r15, r8d
lea rcx, [0x18029e650]
mov qword [rsp + 0x68], r15
mov r14, qword [rax + 0x178]
call fcn.18008fab0
mov r9, rax
movzx r8d, dil
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov ecx, edi
imul r8, r10
shr ecx, 8
mov eax, edi
shr eax, 0x10
movzx edx, cl
xor r8, rdx
movzx ecx, al
mov rdx, qword [r9 + 8]
mov rax, rdi
imul r8, r10
shr rax, 0x18
xor r8, rcx
mov rcx, qword [r9 + 0x18]
imul r8, r10
xor r8, rax
mov rax, qword [r9 + 0x30]
imul r8, r10
and rax, r8
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, rdx
je 0x1800929b0
mov rax, qword [rcx + rax*8]
cmp edi, dword [rbx + 0x10]
je 0x1800929b2
nop word [rax + rax]
cmp rbx, rax
je 0x1800929b0
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x1800929a0
jmp 0x1800929b2
xor ebx, ebx
test rbx, rbx
mov qword [rsp + 0x78], r15
lea rcx, [0x18029e650]
cmove rbx, rdx
lea rdx, [rsp + 0x78]
call fcn.18008fab0
cmp rbx, qword [rax + 8]
jne 0x180092aad
mov r8, qword [r14]
cmp word [r8 + 0x1a], 0
je 0x180092a5f
movzx eax, word [r8 + 0x18]
test ax, ax
je 0x180092a2e
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov rax, qword [r8 + 0x10]
shl edx, 3
mov rdx, qword [rdx + rax]
mov eax, 1
test rdx, rdx
je 0x180092a2e
movabs rcx, 0xcccccccccccccc
cmp rdx, rcx
jge 0x180092a2e
cmp eax, 3
jg 0x180092a2e
cmp edi, dword [rdx]
je 0x180092a5a
mov rdx, qword [rdx + 8]
inc eax
test rdx, rdx
jne 0x180092a15
mov qword [rsi], 0
mov dword [rsi + 8], 0
mov r15, qword [rsp + 0x30]
mov rax, rsi
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop rdi
pop rsi
ret
mov ebx, dword [rdx + 4]
jmp 0x180092a67
cmp rdi, qword [r8 + 0x5e]
jae 0x180092a2e
mov ebx, edi
test ebx, ebx
je 0x180092a2e
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], r15
lea rcx, [0x18029e650]
call fcn.18008fab0
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], edi
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180088160
mov r8d, ebx
mov rdx, r14
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, rsi
call fcn.180092780
jmp 0x180092a3c
mov r8d, dword [rbx + 0x14]
mov rdx, r14
mov rcx, rsi
call fcn.180092780
jmp 0x180092a3c
Function at 0x180098430
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
mov edx, dword [0x18029ef40]
mov rbx, rcx
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x18029eaf8], eax
jg 0x180098492
mov rcx, qword [rbx + 8]
add rsp, 0x60
pop rbx
jmp qword [0x18029eaf0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x17610
lea rcx, [0x18029eaf8]
mov qword [0x18029eaf0], rax
call fcn.18011eaa4
jmp 0x18009845c
lea rcx, [0x18029eaf8]
call fcn.18011eb10
cmp dword [0x18029eaf8], 0xffffffff
jne 0x18009845c
movups xmm0, xmmword [0x18016bb78]
movzx eax, word [0x18016bb90]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x48], ax
movsd xmm0, qword [0x18016bb88]
movzx eax, byte [0x18016bb92]
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x4a], al
jl 0x18009862a
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x18012b970]
movdqa xmm3, xmmword [0x18016f270]
movdqa xmm5, xmmword [str.::::]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x180132470]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 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, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x180098530
movaps xmm6, xmmword [rsp + 0x50]
cmp r8d, 0x1b
jge 0x18009846c
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x180098640
jmp 0x18009846c
Function at 0x180098680
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov r14, rdx
mov rbp, rcx
mov rsi, qword [rcx + 8]
add rsi, 0xc0
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_void___cdecl_fx::SDK::Stop_class_fx::ResourceManager____ptr64____ptr64::_2::_lambda_1___bool___.0
mov qword [r11 - 0x58], rax
lea rax, [r11 - 0x58]
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x58]
mov qword [rsp + 0x20], rax
mov ecx, 0x50
call fcn.18011e6b4
mov rdi, rax
mov qword [rsp + 0x30], rax
xor ebx, ebx
test rax, rax
je 0x18009874d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x180098707
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rdi + 0x38], rbx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180098735
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
mov qword [rdi + 0x38], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180098750
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x180098750
mov rdi, rbx
mov dword [rdi + 0x48], ebx
mov rax, qword [rsi]
test rax, rax
jne 0x180098761
mov qword [rdi + 0x40], rbx
jmp 0x180098782
cmp dword [rax + 0x48], 0
jg 0x180098773
mov rbx, rax
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x180098761
mov qword [rdi + 0x40], rax
lea rax, [rbx + 0x40]
test rbx, rbx
cmovne rsi, rax
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1800987a6
mov rax, qword [rcx]
lea rdx, [rsp + 0x80]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, r14
mov rcx, rbp
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.180097f10
Function at 0x180099000
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
ja 0x1800991ad
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.180053330
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 0x180099176
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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 0x1800990f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180099165
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18009912d
mov r10, qword [rdx]
cmp r10, rax
je 0x180099127
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 0x180099165
cmp r9, rdx
je 0x180099141
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180099187
cmp r9, rdx
jne 0x180099132
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 0x1800990a0
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 0x180099165
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1800aee20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.18011ed00
sub rsp, rax
mov rax, qword [0x18029b200]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 0x3e
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x30]
call fcn.180035540
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1800aeeb0
mov dword [rsp + 0x50], 0x270
mov r15d, dword [rsp + 0x40]
dec r15d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
test r14, r14
je 0x1800aefe0
mov eax, 0x80000000
xor r15d, eax
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
lea rcx, [rsp + 0x50]
cmp r15d, 0x7fffffff
jne 0x1800aef37
call fcn.180091e20
mov ecx, eax
jmp 0x1800aef78
lea esi, [r15 - 0x7fffffff]
call fcn.180091e20
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x1800aef74
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x1800aef74
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.180091e20
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x1800aef60
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r12
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800aefc5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800aefba
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800aefd6
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180044450
sub r14, 1
jne 0x1800aef20
cmp r13, 0xf
jbe 0x1800af01b
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1800af013
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.18011e6f0
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.18011eca0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800c5190
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1800c51b8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x1800c51a0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x1800c51c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x1800c524b
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop dword [rax + rax]
lea edx, [r9 + rax]
lea ecx, [rdx - 0x2a]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx - 0x29]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x20]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x1f]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x1e]
xor byte [rax - 4], cl
sub dl, 0x1d
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x1800c51e0
mov byte [r8 + 0x47], 0
mov rax, r8
ret