joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041a38
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov eax, 0x7fffffff
mov rcx, qword [rcx + 0x48]
cmp r8, rax
mov rdi, r8
mov rbp, rdx
cmova rdi, rax
mov rsi, qword [rbx + 0x50]
cmp rcx, rsi
jae 0x140041aac
mov rdx, qword [rbx + 0x30]
sub rsi, rcx
add rdx, rcx
mov rcx, rbp
cmp rdi, rsi
ja 0x140041a98
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rdi
mov rax, rdi
jmp 0x140041b5b
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rsi
mov rax, rsi
jmp 0x140041b5b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
test al, al
jne 0x140041ac2
or rax, 0xffffffffffffffff
jmp 0x140041b5b
and qword [rbx + 0x48], 0
and qword [rbx + 0x50], 0
mov r14, qword [rbx + 8]
cmp rdi, 0x1000
jae 0x140041b34
mov r15, qword [rbx + 0x30]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x140041b04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140041add
test rsi, rsi
jle 0x140041aa4
mov rdx, qword [rbx + 0x30]
mov rcx, rbp
cmp rsi, rdi
jg 0x140041b1f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140041aa4
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rsi
jmp 0x140041a90
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140041b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140041b34
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140041b74
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140041ba1
or rax, 0xffffffffffffffff
jmp 0x140041bcc
mov rdi, qword [rbx + 8]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x140041bc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140041ba5
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140041c60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140041cb9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14003d6ec
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140049a98
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, qword [rcx + 0x450]
lea r14, [rcx + 0x458]
mov r12, qword [rdx]
mov r15, rcx
mov qword [rbp - 0x40], rcx
mov rdi, rdx
mov qword [rbp - 0x38], r8
mov rcx, r14
movups xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], rdx
movsd xmm1, qword [rbp - 0x30]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140049c7b
lea rsi, [r14 + 0x4c]
mov eax, dword [rsi]
cmp eax, 0x7fffffff
je 0x140049c15
mov rcx, rbx
call qword [sym.imp.libssl_3_x64.dll_SSL_new]
mov rcx, r14
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbx, rbx
je 0x140049c4d
lea r8, [rbp + 0x30]
mov dword [rbp + 0x30], 1
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, r12d
call qword [sym.imp.libcrypto_3_x64.dll_BIO_new_socket]
xor r9d, r9d
mov rcx, rax
mov r13, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call qword [sym.imp.libcrypto_3_x64.dll_BIO_ctrl]
mov r8, r13
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.libssl_3_x64.dll_SSL_set_bio]
lea r9, [r15 + 8]
cmp qword [r9 + 0x18], 0xf
jbe 0x140049b84
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x37]
call qword [sym.imp.libssl_3_x64.dll_SSL_ctrl]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140049c88
cmp al, 1
jne 0x140049bf6
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
lea edx, [r9 + 0x66]
call qword [sym.imp.libcrypto_3_x64.dll_BIO_ctrl]
and dword [rbp + 0x30], 0
lea r8, [rbp + 0x30]
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test rbx, rbx
je 0x140049c4d
mov qword [rdi + 8], rbx
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.libssl_3_x64.dll_SSL_shutdown]
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140049c7b
mov eax, dword [rsi]
cmp eax, 0x7fffffff
jne 0x140049c25
dec eax
mov ecx, 6
mov dword [rsi], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rbx
call qword [sym.imp.libssl_3_x64.dll_SSL_free]
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
and dword [rbp + 0x30], 0
lea r8, [rbp + 0x30]
mov edx, 0x8004667e
mov rcx, r12
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp qword [rdi], 0xffffffffffffffff
je 0x140049c74
mov rcx, qword [rdi]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
cmp qword [rdi], 0xffffffffffffffff
je 0x140049c74
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
or qword [rdi], 0xffffffffffffffff
xor al, al
jmp 0x140049bd8
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14004a018
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov qword [rsp + 0x38], rdx
lea rdi, [rcx + 8]
mov qword [rsp + 0x28], rcx
cmp qword [rdi + 0x18], 0xf
xorps xmm0, xmm0
mov rbp, rdx
mov byte [rsp + 0x20], bl
lea r13d, [rbx + 2]
mov dword [rsp + 0x24], ebx
mov esi, r13d
mov r14, rcx
movups xmmword [rsp + 0x48], xmm0
mov r15d, ebx
mov rdx, rdi
jbe 0x14004a07e
mov rdx, qword [rdi]
lea r8, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r12d, 7
test eax, eax
je 0x14004a09f
lea r15d, [r12 + 9]
jmp 0x14004a0c4
cmp qword [rdi + 0x18], 0xf
jbe 0x14004a0a9
mov rdi, qword [rdi]
lea r8, [rsp + 0x24]
mov rdx, rdi
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14004a0c7
mov r15d, 4
mov esi, r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x55]
call qword [sym.imp.libcrypto_3_x64.dll_X509_get_ext_d2i]
mov rdi, rax
test rax, rax
je 0x14004a1ad
mov rcx, rax
mov r14b, bl
mov r12b, bl
call qword [sym.imp.libcrypto_3_x64.dll_OPENSSL_sk_num]
mov dword [rsp + 0x30], eax
mov ebp, ebx
test eax, eax
jle 0x14004a1a3
test r14b, r14b
jne 0x14004a19e
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_OPENSSL_sk_value]
mov r13, rax
cmp dword [rax], esi
jne 0x14004a188
mov rcx, qword [rax + 8]
call qword [sym.imp.libcrypto_3_x64.dll_ASN1_STRING_get0_data]
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x40], rax
call qword [sym.imp.libcrypto_3_x64.dll_ASN1_STRING_length]
movsxd r8, eax
cmp esi, 2
je 0x14004a176
cmp esi, 7
jne 0x14004a188
mov r13, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rdx, r13
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004a171
mov r8, r15
lea rcx, [rsp + 0x24]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004a188
mov r12b, 1
jmp 0x14004a188
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.14004a22c
mov r14b, al
inc ebp
cmp ebp, dword [rsp + 0x30]
jl 0x14004a103
test r14b, r14b
jne 0x14004a19e
test r12b, r12b
je 0x14004a1a3
mov byte [rsp + 0x20], 1
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_GENERAL_NAMES_free]
cmp byte [rsp + 0x20], bl
jne 0x14004a1fc
mov rcx, rbp
call qword [sym.imp.libcrypto_3_x64.dll_X509_get_subject_name]
test rax, rax
je 0x14004a1fe
mov r9d, 0x200
lea r8, [rsp + 0x60]
mov edx, ntohs
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_X509_NAME_get_text_by_NID]
cmp eax, 0xffffffff
je 0x14004a1fe
movsxd r8, eax
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14004a22c
test al, al
je 0x14004a1fe
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004ac48
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 0x896f04ea
mov edx, 4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
xor ecx, ecx
mov al, byte [rsp + rcx + 0x40]
lea r8, [0x14014fc20]
xor al, byte [rcx + r8]
mov byte [rsp + rcx + 0x40], al
inc rcx
sub rdx, 1
jne 0x14004ac8d
and dword [rsp + 0x38], edx
and qword [rsp + 0x30], rdx
and qword [rsp + 0x28], rdx
and qword [rsp + 0x20], rdx
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rsp + 0x60]
call fcn.1400508e0
nop
lea r9, [rbp + 0x95]
mov r8d, dword [rsp + 0x48]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14004ace6
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
lea rax, [rbp + 0x95]
cmp r9, rax
jne 0x14004ad3c
movdqa xmm0, xmmword [0x1401544b0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], dl
jmp 0x14004ad53
lea r8, [rbp + 0x95]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x60]
call fcn.140002c2c
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14001515c
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14004adae
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ada9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ada9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140118f64
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400206f4
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.14005d20c
nop
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rdx + 0x60], rax
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x78]
call fcn.140020290
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140050f5c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140050f8f
movzx eax, byte [rdx + r9]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140050f71
mov eax, ecx
ret

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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov r15, rdx
mov rbp, r8
mov rdx, rcx
cmp r15, r8
je 0x140051983
mov rax, qword [rcx + 8]
mov rsi, r15
mov r12, qword [rcx + 0x18]
lea rcx, [r15 + 0x10]
cmp qword [rcx + 0x18], 0xf
mov r14, qword [r15 + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x80], rax
jbe 0x140051830
mov rcx, qword [rcx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r10, r10
je 0x140051860
movzx eax, byte [rcx + r8]
inc r8
xor r9, rax
imul r9, r11
cmp r8, r10
jb 0x14005184c
mov r13, qword [rdx + 0x30]
and r13, r9
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x78], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140012590
mov edx, 0x50
mov rcx, rbx
call fcn.140118f64
mov rdx, qword [rsp + 0x70]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x1400518cb
cmp rsi, rbp
jne 0x140051880
cmp qword [rsp + 0x78], r15
jne 0x14005197c
mov qword [r12 + r13*8], rsi
jmp 0x14005197c
cmp qword [rsp + 0x78], r15
jne 0x1400518e3
mov r8, qword [rsp + 0x80]
mov qword [r12 + r13*8], r8
mov rax, r8
jmp 0x1400518e6
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
jmp 0x1400519a8
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0xf
mov r10, qword [rcx + 0x10]
jbe 0x140051902
mov rcx, qword [rcx]
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x140051937
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r9]
inc r9
xor r8, rax
imul r8, rdx
cmp r9, r10
jb 0x14005191e
mov rdx, qword [rsp + 0x70]
mov r15, qword [rdx + 0x30]
and r15, r8
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140012590
mov edx, 0x50
mov rcx, rbx
call fcn.140118f64
mov rdx, qword [rsp + 0x70]
dec qword [rdx + 0x10]
cmp rbx, r13
je 0x140051997
cmp rsi, rbp
jne 0x140051946
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
cmp rsi, rbp
jne 0x1400518f0
jmp 0x14005197c
Function at 0x1400519d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov r8d, 1
mov eax, r8d
shl rax, cl
cmp rdx, rax
jbe 0x140051a28
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, r8
lea r12, [rsi + 0x18]
bsr rcx, rax
mov rbx, r8
mov r8, rbp
inc ecx
shl rbx, cl
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.1400273d4
lea rax, [rbx - 1]
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x30], rax
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x140051bb8
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
mov rax, qword [r15 + 0x18]
mov rdx, r15
mov r13, qword [r15 + 0x10]
cmp rax, 0xf
jbe 0x140051a8c
mov rdx, qword [r15]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
test r13, r13
je 0x140051abe
movzx eax, byte [rdx + rcx]
movabs r8, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r8
cmp rcx, r13
jb 0x140051a9d
mov rax, qword [r15 + 0x18]
and r14, qword [rsi + 0x30]
mov r12, qword [r12]
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x140051add
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140051ba8
mov rsi, qword [r12 + r14*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x140051af4
mov rdx, qword [rdx]
mov rcx, r15
cmp rax, 0xf
jbe 0x140051b00
mov rcx, qword [r15]
cmp r13, r8
jne 0x140051b78
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140051b74
mov r8, qword [rsi]
cmp r8, rbx
je 0x140051b3a
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140051ba3
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x140051b57
mov rdx, qword [rdx]
mov rcx, r15
cmp rax, 0xf
jbe 0x140051b63
mov rcx, qword [r15]
cmp r13, r8
jne 0x140051b78
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140051bd5
mov rax, qword [r15 + 0x18]
cmp qword [r12 + r14*8], rsi
jne 0x140051b41
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rsi, qword [rsp + 0x50]
lea r12, [rsi + 0x18]
mov rbx, rdi
cmp rdi, rbp
jne 0x140051a71
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140051ba3
Function at 0x1400548f0
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 r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14005491e
mov rdx, qword [r8]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r8 + 0x10], rcx
jbe 0x14005494e
movzx eax, byte [rdx + rcx]
xor rbp, rax
movabs r8, 0x100000001b3
imul rbp, r8
inc rcx
cmp rcx, qword [r14 + 0x10]
jb 0x140054930
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140055eb0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140054977
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x140054ae4
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
jne 0x140054995
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r15, [rdi + 8]
mov qword [rsp + 0x30], r15
and qword [rsp + 0x38], 0
mov ecx, 0x50
call fcn.140118c10
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
and qword [rax + 0x20], 0
and qword [rax + 0x28], 0
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
and qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x30], xmm0
and qword [rax + 0x40], 0
mov qword [rax + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rax + 0x30], 0
mov rdx, qword [rdi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x140054a15
cvtsi2ss xmm0, rdx
jmp 0x140054a2d
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rdi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140054a40
cvtsi2ss xmm1, rcx
jmp 0x140054a55
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi]
jbe 0x140054a8e
mov rcx, rdi
call fcn.140051c78
mov rdx, rax
mov rcx, rdi
call fcn.1400519d8
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140055eb0
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rdi + 0x10]
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r15]
jne 0x140054ac6
mov qword [rcx + rax*8], rbx
jmp 0x140054ad8
cmp r9, rdx
jne 0x140054ad1
mov qword [rcx + rax*8], rbx
jmp 0x140054add
cmp qword [rcx + rax*8 + 8], r8
jne 0x140054add
mov qword [rcx + rax*8 + 8], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
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 0x140056f00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140056f2c
mov rdx, qword [r8]
xor ebx, ebx
movabs r15, 0xcbf29ce484222325
mov ecx, ebx
cmp qword [r8 + 0x10], rbx
jbe 0x140056f5e
movzx eax, byte [rdx + rcx]
xor r15, rax
movabs r8, 0x100000001b3
imul r15, r8
inc rcx
cmp rcx, qword [r14 + 0x10]
jb 0x140056f40
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140055eb0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140056f86
mov qword [rsi], rax
mov byte [rsi + 8], bl
jmp 0x1400570cc
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
jne 0x140056fa4
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbx
mov ecx, 0x50
call fcn.140118c10
mov rdi, rax
mov qword [rsp + 0x38], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x70], rbx
mov rdx, r14
mov rcx, rbx
call fcn.140013758
nop
lea rcx, [rbx + 0x20]
lea rdx, [r14 + 0x20]
call fcn.140013758
nop
mov rdx, qword [rbp + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x140056ffb
cvtsi2ss xmm0, rdx
jmp 0x140057013
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140057026
cvtsi2ss xmm1, rcx
jmp 0x14005703b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x140057075
mov rcx, rbp
call fcn.140051c78
mov rdx, rax
mov rcx, rbp
call fcn.1400519d8
lea r8, [rdi + 0x10]
mov r9, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140055eb0
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x1400570ae
mov qword [rcx + rax*8], rdi
jmp 0x1400570c0
cmp r9, rdx
jne 0x1400570b9
mov qword [rcx + rax*8], rdi
jmp 0x1400570c5
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400570c5
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret