joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003314c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18003317c
call 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]
jmp 0x1800331f4
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180033193
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180033195
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800331ee
test ecx, ecx
jle 0x1800331ce
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1800331ee
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800331ee
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x180033210
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180033230
xor eax, eax
jmp 0x180033319
cmp qword [rcx + 0x68], 0
je 0x180033242
call 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]
jmp 0x180033319
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180033259
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003325b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003328d
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180033313
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800332c4
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800332ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x180033313
cmp rdi, rbx
ja 0x1800332cb
test rdi, rdi
je 0x180033313
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800336ec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180033725
xor eax, eax
jmp 0x180033845
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x18003375f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x18003375f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180033845
cmp qword [rbx + 0x80], 0
je 0x180033843
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003379a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1800337bb
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x180033840
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180033809
sub eax, 1
je 0x180033809
cmp eax, 2
jne 0x180033843
movsx ecx, byte [rbp - 0x30]
jmp 0x1800337a7
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x180033834
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x180033843
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180137ad0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800351a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180035213
cmp byte [rcx + 0x71], 0
je 0x180035213
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180035268
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18003522d
sub eax, 1
je 0x180035231
cmp eax, 2
jne 0x180035268
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180137ad0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003525f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180035268
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180035215
xor al, al
jmp 0x180035215

Function at 0x18004430c
Capabilities:
Create thread
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180044392
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.cs2cheat_debug_console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x180179f40]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
and qword [rsp + 0x28], 0
lea r8, [0x180044014]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800443ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800443ba
test edx, edx
jne 0x1800443ba
test r8, r8
jne 0x1800443ba
call fcn.1800441ac
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180044844
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x180044862
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.180044844
mov edx, eax
mov eax, edx
add rsp, 0x28
ret
Function at 0x180046dd4
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.1800138d0
test al, al
je 0x180046e1e
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x18002f640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180046e1e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x18023c2a8]
test al, 1
jne 0x180046e44
or eax, 1
mov byte [0x18023c2ac], 0
lea rcx, [0x18013b45c]
mov dword [0x18023c2a8], eax
call fcn.18013822c
mov rbx, qword [0x18023c0d0]
xor r8d, r8d
xor edx, edx
mov ecx, 0x209
mov dword [rbx + 8], 0x20
call fcn.1800138d0
test al, al
je 0x180046e74
cmp byte [0x18023c0ec], 0
sete dl
call fcn.1800301e8
cmp byte [0x18023c0ec], 0
je 0x180046ee1
and dword [rbx + 8], 0
xor ecx, ecx
call qword [0x18023c248]
movss xmm2, dword [rbx + 0x10]
mov ecx, 0x3f000000
movss xmm1, dword [rbx + 0x14]
mov rax, qword [0x18023c0d0]
mulss xmm2, dword [0x18017b010]
mulss xmm1, dword [0x18017b010]
or dword [rax + 0x1aa8], 1
movss dword [rax + 0x1ab8], xmm2
mov dword [rax + 0x1ac0], ecx
movss dword [rax + 0x1abc], xmm1
mov dword [rax + 0x1ac4], ecx
mov dword [rax + 0x1aac], 2
call fcn.180030f2c
add rsp, 0x30
pop rbx
ret

Function at 0x180049114
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
mov r10b, dl
cmp byte [rcx], r8b
je 0x18004916a
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.180044844
cmp eax, 0xf102793d
jne 0x18004916a
test r10b, r10b
je 0x18004915f
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x180049165
mov r8d, 1
mov al, r8b
jmp 0x18004916c
xor al, al
add rsp, 0x28
ret

Function at 0x180049174
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov r9b, dl
mov rcx, qword [rcx + 0x80]
cmp byte [rcx], 0
je 0x1800491ca
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.180044844
cmp eax, 0x1c826fb7
jne 0x1800491ca
movzx ecx, word [r8 + 0x10]
mov eax, 0x13a4
sub cx, ax
mov eax, 1
cmp cx, ax
seta cl
test r9b, r9b
movzx edx, cl
cmovne eax, edx
jmp 0x1800491cc
xor al, al
add rsp, 0x28
ret
Function at 0x1800494d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov esi, r9d
mov r14, r8
mov edi, edx
mov rbp, rcx
xor r15d, r15d
movabs rbx, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov eax, dword [0x18023c6d0]
test al, 1
jne 0x1800495bb
or eax, 1
mov dword [0x18023c6d0], eax
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [0x18023c6e0]
call sub.VCRUNTIME140.dll_memset
and dword [0x18023c6e0], 0
mov qword [0x18023c6e8], r15
mov qword [0x18023c6f0], r15
mov ecx, 0x58
call fcn.180138244
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x18023c6e8], rax
mov qword [0x18023c6f8], r15
xorps xmm0, xmm0
movdqa xmmword [0x18023c700], xmm0
mov qword [0x18023c710], 7
mov qword [0x18023c718], 8
mov dword [0x18023c6e0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x18023c6f8]
call fcn.18002ea9c
nop
lea rcx, [0x18013b4c4]
call fcn.18013822c
nop
mov rcx, rbx
mov rdx, r15
movzx eax, byte [rsp + rdx + 0x28]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, 4
jb 0x1800495c1
and rcx, qword [0x18023c710]
add rcx, rcx
mov rdx, qword [0x18023c6f8]
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [0x18023c6e8]
cmp rax, r9
je 0x18004960e
mov r8, qword [rdx + rcx*8]
jmp 0x180049607
cmp rax, r8
je 0x18004960e
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x1800495fe
jmp 0x180049611
mov rax, r15
mov r8, r9
test rax, rax
cmovne r8, rax
cmp r8, r9
jne 0x180049646
mov r8d, edi
mov rdx, rbp
call fcn.180049210
test al, al
jne 0x180049509
movzx eax, r15w
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbx
mov rdx, r15
movzx eax, byte [rsp + rdx + 0x20]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, 4
jb 0x18004964c
mov r10, qword [r8 + 0x48]
and rcx, r10
mov rdx, qword [r8 + 0x30]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [r8 + 0x20]
cmp rax, r9
je 0x180049693
mov r8, qword [rdx + rcx*8]
jmp 0x18004968c
cmp rax, r8
je 0x180049693
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x180049683
jmp 0x180049696
mov rax, r15
test rax, rax
cmove rax, r9
cmp rax, r9
jne 0x1800496b9
mov r8, rbp
mov rdx, r14
lea rcx, str.schema::GetOffset__:__s_was_not_found_in__s__n
call fcn.1800066f0
jmp 0x180049633
mov rcx, r15
movzx eax, byte [rsp + rcx + 0x20]
xor rbx, rax
imul rbx, r12
inc rcx
cmp rcx, 4
jb 0x1800496bc
and rbx, r10
add rbx, rbx
mov rax, qword [rdx + rbx*8 + 8]
cmp rax, r9
je 0x180049703
mov rcx, qword [rdx + rbx*8]
jmp 0x1800496f0
cmp rax, rcx
je 0x180049703
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x1800496e7
test rax, rax
je 0x180049703
movzx eax, word [rax + 0x14]
jmp 0x180049637
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
Function at 0x1800497e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180049819
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18002ea9c
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 0x18004992b
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x180049872
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1800498b1
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18004991f
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1800498f4
mov r10, qword [r10]
cmp r10, rax
je 0x1800498aa
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 0x1800498aa
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180049949
cmp qword [rdi + r11*8], r10
jne 0x1800498ea
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180049862
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18002f360
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18004991f
Function at 0x180049970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x18004998a
mov rax, qword [0x18023c710]
and rax, r14
add rax, rax
mov rcx, qword [0x18023c6f8]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x18023c6e8]
cmp rbx, rbp
jne 0x1800499f5
mov rbx, rbp
mov rdi, rbp
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x18023c6f0], rax
jne 0x180049a33
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180049a07
cmp rbx, rdx
je 0x180049a29
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1800499fe
mov rbp, qword [rbx]
mov rdi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x1800499d4
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x180049bad
mov rbp, rbx
xor eax, eax
mov rdi, rbx
jmp 0x180049a18
lea rdx, [0x18023c6e8]
lea rcx, [rsp + 0x30]
call fcn.18004a5e0
nop
mov rdx, qword [0x18023c6f0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180049a5f
cvtsi2ss xmm0, rcx
jmp 0x180049a74
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x18023c718]
xorps xmm1, xmm1
test rcx, rcx
js 0x180049a8a
cvtsi2ss xmm1, rcx
jmp 0x180049a9f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x18023c6e0]
seta al
test al, al
je 0x180049b1a
call fcn.18004a114
mov rcx, qword [rsp + 0x38]
mov rdx, qword [0x18023c710]
and rdx, r14
add rdx, rdx
mov r8, qword [0x18023c6f8]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x18023c6e8]
cmp rax, rbx
je 0x180049afd
mov r9, qword [r8 + rdx*8]
mov edx, dword [rcx + 0x10]
jmp 0x180049af5
mov rbx, rax
cmp rax, r9
je 0x180049b13
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180049ae9
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdi, rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [0x18023c6f0]
jmp 0x180049b1f
mov qword [rsp + 0x20], rax
jmp 0x180049b02
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x18023c6f0], rdx
mov qword [rcx], rbp
mov qword [rcx + 8], r8
mov qword [r8], rcx
mov qword [rbx + 8], rcx
mov rax, qword [0x18023c710]
and rax, r14
add rax, rax
mov rdx, qword [0x18023c6f8]
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x18023c6e8]
jne 0x180049b68
mov qword [rdx + rax*8], rcx
jmp 0x180049b7a
cmp r9, rdi
jne 0x180049b73
mov qword [rdx + rax*8], rcx
jmp 0x180049b7f
cmp qword [rdx + rax*8 + 8], r8
jne 0x180049b7f
mov qword [rdx + rax*8 + 8], rcx
mov qword [rsi], rcx
mov byte [rsi + 8], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180049bad
add rcx, 0x18
call fcn.18002ace0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180049bad
mov edx, 0x58
call fcn.180137e5c
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18004a114
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x18023c6f0]
xorps xmm0, xmm0
add rcx, 1
js 0x18004a135
cvtsi2ss xmm0, rcx
jmp 0x18004a14a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18023c6e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x18017b110]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18004a17c
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18004a17c
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x18023c718]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18004a1b1
cmp rdx, 0x200
jae 0x18004a1ae
shl rdx, 3
cmp rdx, rcx
jae 0x18004a1b1
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18004a1da
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x18023c6e8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18023c6f8]
lea rdx, [rdi + rdi]
call fcn.18002ea9c
mov rax, qword [0x18023c6e8]
lea r9, [rdi - 1]
mov qword [0x18023c710], r9
mov qword [0x18023c718], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18004a328
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x18004a242
mov rdi, qword [0x18023c6f8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18004a280
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18004a2ee
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18004a2c3
mov r10, qword [r10]
cmp r10, rax
je 0x18004a279
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 0x18004a279
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18004a302
cmp qword [rdi + r11*8], r10
jne 0x18004a2b9
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18004a328
mov r9, qword [0x18023c710]
jmp 0x18004a232
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18004a2ee
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18004a360
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18004a434
Capabilities:
Encode data using xor
Hash data using fnv

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
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x18004a504
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r14, qword [rdx + 8]
movabs r15, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x20], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r15, rax
imul r15, r8
cmp rdx, 4
jb 0x18004a48e
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18002ace0
mov edx, 0x58
mov rcx, rbx
call fcn.180137e5c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18004a525
cmp rsi, rbp
jne 0x18004a4be
cmp qword [rsp + 0x30], r13
jne 0x18004a4fd
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
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
cmp qword [rsp + 0x30], r13
jne 0x18004a53a
mov r13, qword [rsp + 0x20]
mov qword [r12 + r15*8], r13
mov rax, r13
jmp 0x18004a53d
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
jmp 0x18004a5cf
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movabs r13, 0x100000001b3
movzx eax, byte [rsi + r8 + 0x10]
inc r8
xor rcx, rax
imul rcx, r13
cmp r8, 4
jb 0x18004a55e
mov r15, qword [rdx + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18002ace0
mov edx, 0x58
mov rcx, rbx
call fcn.180137e5c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18004a5c6
cmp rsi, rbp
jne 0x18004a58d
jmp 0x18004a4f9
mov qword [r12 + r15*8], r13
mov qword [r12 + r15*8 + 8], r13
cmp rsi, rbp
jne 0x18004a547
jmp 0x18004a4fd