joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002930
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x180108160]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180002999
mov eax, 0xa
jmp 0x1800029e6
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 0x1800029b5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800ba130
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002a10
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18010816c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x180002b20
mov rcx, qword [0x180108160]
add rcx, 0x20
test byte [rcx], 2
je 0x180002a53
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180002a37
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180002b20
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180002780
mov edx, dword [0x18010816c]
cmp ebx, edx
jae 0x180002aad
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180108160]
test byte [rcx + rax + 0x20], 2
jne 0x180002aa7
mov ecx, ebx
call fcn.180002930
mov edi, eax
test eax, eax
jne 0x180002aad
mov edx, dword [0x18010816c]
inc ebx
cmp ebx, edx
jb 0x180002a80
cmp qword [rsp + 0x20], 0
je 0x180002b20
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180002b0c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
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 0x180002af8
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 0x180002ad0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180107648]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180002de0
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 rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180107640], esi
je 0x180002e35
cmp rbx, 0x20
jae 0x180002e1e
xor ecx, ecx
jmp 0x180002e20
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180107640], esi
jne 0x180002e14
cmp qword [0x180107648], r15
je 0x180002f1f
test rdi, rdi
jne 0x180002e53
call fcn.180002a10
mov ebp, eax
jmp 0x180002f24
mov ecx, dword [0x18010816c]
mov ebx, r15d
test ecx, ecx
je 0x180002e7f
mov r8, qword [0x180108160]
mov rax, r8
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180002e89
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180002e70
mov ebp, 4
jmp 0x180002f24
cmp ebx, 0xffffffff
je 0x180002e7f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180002f18
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180002780
mov ecx, ebx
call fcn.180002930
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180002f24
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180002f02
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180002ef8
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 0x180002ed0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180107648]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002f24
mov ebp, 5
jmp 0x180002f24
mov ebp, 2
xchg dword [0x180107640], 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 0x180022db0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp rdx, 1
jne 0x180022e31
lea ecx, [rdx + 7]
call fcn.1800ba150
lea rcx, [0x180022460]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180064430]
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 0x180022e54
cmp dword [rsp + 0x38], 0
je 0x180022e48
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180022e48
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800ba130
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x18002a570
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18002a598
add rsp, 0x20
pop r15
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 rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18002a5be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18002a5c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18002a619
test ecx, ecx
jle 0x18002a5f9
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 0x18002a619
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18002a619
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
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18002a640
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18002a662
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18002a678
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18002a694
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002a696
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18002a6d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18002a76e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18002a70d
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
cmp rbx, 0xfff
jbe 0x18002a74e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18002a76e
cmp rbx, rax
ja 0x18002a720
test rbx, rbx
je 0x18002a76e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18002aba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18002abcd
xor eax, eax
jmp 0x18002ad39
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18002ac07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18002ac07
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x18002ad39
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18002ad2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18002ac4a
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 0x18002ac75
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18002ad31
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x18002ace4
sub eax, 1
je 0x18002ace4
cmp eax, 2
jne 0x18002ad2c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18002ad31
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18002ad12
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18002ad2c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18002ad31
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800ba130
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18002e6d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18002e7a3
cmp byte [rcx + 0x71], 0
je 0x18002e7a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18002e79f
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 0x18002e764
sub eax, 1
je 0x18002e768
cmp eax, 2
jne 0x18002e79f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ba130
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18002e796
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 0x18002e79f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18002e74c
xor al, al
jmp 0x18002e74c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ba130
add rsp, 0x60
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r13
push r14
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
movzx ebx, byte [rcx]
cmp bl, 0xa
jne 0x1800396c8
mov rbp, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800395f8
mov rdx, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor edi, edi
mov ecx, edi
movabs r13, 0x100000001b3
test rbp, rbp
je 0x180039633
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, rbp
jb 0x180039620
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.180055410
cmp qword [rax + 8], rdi
je 0x1800396bc
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180039657
mov rcx, qword [rsi]
test rbp, rbp
je 0x180039673
nop dword [rax]
movzx eax, byte [rcx + rdi]
xor rbx, rax
imul rbx, r13
inc rdi
cmp rdi, rbp
jb 0x180039660
mov r9, rbx
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.180055410
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800396ae
add rax, 0x30
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r13
pop rdi
ret
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
mov rdx, rsi
mov rcx, r14
call fcn.1800524a0
int3
lea rdx, str.toml::value::as_table__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
mov r8, r14
movzx edx, bl
lea rcx, [rsp + 0x20]
call fcn.18003e340
int3
Function at 0x1800396f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rdi, rdx
mov r14, rcx
movzx ebx, byte [rcx]
cmp bl, 0xa
jne 0x18003986f
mov r13, qword [rcx + 8]
mov rbp, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180039732
mov rdx, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor esi, esi
mov ecx, esi
movabs r12, 0x100000001b3
test rbp, rbp
je 0x180039765
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rbp
jb 0x180039752
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.180055410
cmp qword [rax + 8], rsi
je 0x180039892
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18003978c
mov rcx, qword [rdi]
test rbp, rbp
je 0x1800397a4
movzx eax, byte [rcx + rsi]
xor rbx, rax
imul rbx, r12
inc rsi
cmp rsi, rbp
jb 0x180039791
mov rcx, qword [r13 + 0x30]
and rcx, rbx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x18003983c
mov rbp, qword [rax + rcx*8]
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x10]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800397e2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x1800397ee
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1800397ff
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18003980a
cmp rbx, rbp
je 0x18003983c
mov rbx, qword [rbx + 8]
jmp 0x1800397d0
test rbx, rbx
je 0x18003983c
movzx edi, byte [rbx + 0x30]
cmp dil, 4
jne 0x18003984a
lea rax, [rbx + 0x40]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
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
lea rdx, str.toml::value::as_string__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
lea r8, [rbx + 0x30]
movzx edx, dil
lea rcx, [rsp + 0x20]
call fcn.180067410
nop
lea rdx, str.toml::value::as_table__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
mov r8, r14
movzx edx, bl
lea rcx, [rsp + 0x20]
call fcn.18003e340
nop
mov rdx, rdi
mov rcx, r14
call fcn.1800524a0
int3
Function at 0x1800398a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rdi, rdx
mov r14, rcx
movzx ebx, byte [rcx]
cmp bl, 0xa
jne 0x180039a1f
mov r13, qword [rcx + 8]
mov rbp, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800398e2
mov rdx, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor esi, esi
mov ecx, esi
movabs r12, 0x100000001b3
test rbp, rbp
je 0x180039915
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rbp
jb 0x180039902
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.180055410
cmp qword [rax + 8], rsi
je 0x180039a42
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18003993c
mov rcx, qword [rdi]
test rbp, rbp
je 0x180039954
movzx eax, byte [rcx + rsi]
xor rbx, rax
imul rbx, r12
inc rsi
cmp rsi, rbp
jb 0x180039941
mov rcx, qword [r13 + 0x30]
and rcx, rbx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x1800399ec
mov rbp, qword [rax + rcx*8]
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x10]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180039992
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x18003999e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1800399af
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800399ba
cmp rbx, rbp
je 0x1800399ec
mov rbx, qword [rbx + 8]
jmp 0x180039980
test rbx, rbx
je 0x1800399ec
movzx edi, byte [rbx + 0x30]
cmp dil, 1
jne 0x1800399fa
lea rax, [rbx + 0x38]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
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
lea rdx, str.toml::value::cast:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
lea r8, [rbx + 0x30]
movzx edx, dil
lea rcx, [rsp + 0x20]
call fcn.180067740
nop
lea rdx, str.toml::value::as_table__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
mov r8, r14
movzx edx, bl
lea rcx, [rsp + 0x20]
call fcn.18003e340
nop
mov rdx, rdi
mov rcx, r14
call fcn.1800524a0
int3
Function at 0x180039a50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rdi, rdx
mov r14, rcx
movzx ebx, byte [rcx]
cmp bl, 0xa
jne 0x180039bce
mov r13, qword [rcx + 8]
mov rbp, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180039a92
mov rdx, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor esi, esi
mov ecx, esi
movabs r12, 0x100000001b3
test rbp, rbp
je 0x180039ac5
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rbp
jb 0x180039ab2
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.180055410
cmp qword [rax + 8], rsi
je 0x180039bf1
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180039aec
mov rcx, qword [rdi]
test rbp, rbp
je 0x180039b04
movzx eax, byte [rcx + rsi]
xor rbx, rax
imul rbx, r12
inc rsi
cmp rsi, rbp
jb 0x180039af1
mov rcx, qword [r13 + 0x30]
and rcx, rbx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x180039b9b
mov rbp, qword [rax + rcx*8]
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x10]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180039b42
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x180039b4e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x180039b5f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180039b6a
cmp rbx, rbp
je 0x180039b9b
mov rbx, qword [rbx + 8]
jmp 0x180039b30
test rbx, rbx
je 0x180039b9b
movzx edi, byte [rbx + 0x30]
cmp dil, 2
jne 0x180039ba9
mov eax, dword [rbx + 0x38]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
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
lea rdx, str.toml::value::as_integer__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
lea r8, [rbx + 0x30]
movzx edx, dil
lea rcx, [rsp + 0x20]
call fcn.180067630
nop
lea rdx, str.toml::value::as_table__:
lea rcx, [rsp + 0x20]
call fcn.180003f60
nop
mov r8, r14
movzx edx, bl
lea rcx, [rsp + 0x20]
call fcn.18003e340
nop
mov rdx, rdi
mov rcx, r14
call fcn.1800524a0
int3
Function at 0x180046140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x180046155
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x180046199
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x180046180
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.180055410
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800461b9
add rax, 0x30
add rsp, 0x38
ret
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