joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140134450
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 0x1401344b1
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 0x140134470
mov ecx, dword [r9]
jmp 0x140134598
cmp ecx, 0x4e0
jb 0x140134598
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1401344d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140134520
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 0x140134fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140135004
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140134ff0
ret
Function at 0x140143870
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.1401d5b30
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14014db10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1401438e9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140143b20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x140143cff
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140143b70
mov eax, listen
jmp 0x140143b9e
cmp rdi, 0x44
jb 0x140143b7d
mov eax, 7
jmp 0x140143b9e
cmp rdi, 0x27
jb 0x140143b8a
mov eax, 5
jmp 0x140143b9e
cmp rdi, 7
jb 0x140143b97
mov eax, 3
jmp 0x140143b9e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x140143bb7
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x140143c6f
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140143c2d
mov rax, rbx
jmp 0x140143c42
cmp rcx, rbx
ja 0x140143c3f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140143c42
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x140143be0
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x140143ceb
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140143c81
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014bba0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14014bc6c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14014bc6c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14014bc85
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14014bc5c
cmp byte [rax], 0x5c
jne 0x14014bc56
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14014bc56
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14014bc42
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14014bc53
test r8b, 0x10
jne 0x14014bc56
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14014bc56
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140143200
test edi, edi
jne 0x14014bbc0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1401431f0
int3
Function at 0x14014e290
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x14014e2ec
mov rdx, rax
call fcn.14010eb70
mov qword [rbx + 0x10], rbp
mov rax, qword [rdi + 0x10]
mov r15d, 0xfffffffa
cmp qword [rdi + 0x18], 0xf
jbe 0x14014e304
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x14014e30a
mov r14, rdi
mov rcx, rdi
lea r13, [rax + rcx]
cmp rdi, r13
je 0x14014e401
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x14014e3a6
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14014e38d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14014e382
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14014e39c
mov rcx, rbx
call fcn.14000e080
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x14014e350
inc r14
cmp r14, r13
jne 0x14014e320
cmp r15d, 0xfffffffa
jle 0x14014e401
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14014e3f9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14014e3ee
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14014e401
mov rcx, rbx
call fcn.14000e080
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x14014e449
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14014e435
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14014e42d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14014e440
mov r9b, 0x3d
mov rcx, rbx
call fcn.14000e080
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14014e410
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140158480
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x58
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x20], 0xf
lea rsi, [rcx + 8]
xorps xmm0, xmm0
mov byte [rsp + 0x20], 0
mov rbp, rdx
mov dword [rsp + 0x30], ebx
mov edi, 2
mov r15d, ebx
movups xmmword [rsp + 0x38], xmm0
mov rdx, rsi
jbe 0x1401584d0
mov rdx, qword [rsi]
lea r8, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1401584ec
mov r15d, reloc.WS2_32.dll_recv
jmp 0x140158510
cmp qword [rsi + 0x18], 0xf
jbe 0x1401584f6
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140158515
mov r15d, 4
mov edi, 7
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 r12, rax
test rax, rax
je 0x140158605
mov qword [rsp + 0xa0], r13
mov rcx, rax
mov qword [rsp + 0x50], r14
xor r13b, r13b
xor r14b, r14b
call qword [sym.imp.libcrypto_3_x64.dll_OPENSSL_sk_num]
mov dword [rsp + 0x24], eax
test eax, eax
jle 0x1401585f8
nop dword [rax]
test r14b, r14b
jne 0x1401585f3
mov edx, ebx
mov rcx, r12
call qword [sym.imp.libcrypto_3_x64.dll_OPENSSL_sk_value]
mov rsi, rax
cmp dword [rax], edi
jne 0x1401585dd
mov rcx, qword [rax + 8]
call qword [sym.imp.libcrypto_3_x64.dll_ASN1_STRING_get0_data]
mov rcx, qword [rsi + 8]
mov rbp, rax
call qword [sym.imp.libcrypto_3_x64.dll_ASN1_STRING_length]
movsxd r8, eax
cmp edi, 2
je 0x1401585cc
cmp edi, 7
jne 0x1401585dd
mov r8, r15
lea rcx, [rsp + 0x38]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401585c7
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401585dd
mov r13b, 1
jmp 0x1401585dd
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.140158630
movzx r14d, al
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x140158560
test r14b, r14b
jne 0x1401585f3
test r13b, r13b
je 0x1401585f8
mov byte [rsp + 0x20], 1
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.libcrypto_3_x64.dll_GENERAL_NAMES_free]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401d5b10
add rsp, 0x58
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140161aa0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140161c39
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x140161bf7
mov rcx, rdi
call qword [sym.imp.libssl_3_x64.dll_SSL_new]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rdi, rdi
je 0x140161bb6
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call qword [sym.imp.libcrypto_3_x64.dll_BIO_new_socket]
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call qword [sym.imp.libcrypto_3_x64.dll_BIO_ctrl]
mov r8, r14
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.libssl_3_x64.dll_SSL_set_bio]
mov r9, qword [rsp + 0x80]
add r9, 8
cmp qword [r9 + 0x18], 0xf
jbe 0x140161b69
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call qword [sym.imp.libssl_3_x64.dll_SSL_ctrl]
mov rdx, rdi
mov rcx, r15
call fcn.1401580d0
cmp al, 1
jne 0x140161bd7
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call qword [sym.imp.libcrypto_3_x64.dll_BIO_ctrl]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.libssl_3_x64.dll_SSL_shutdown]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140161c39
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x140161c08
dec eax
mov ecx, 6
mov dword [rsi + 0x4c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rdi
call qword [sym.imp.libssl_3_x64.dll_SSL_free]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x140161bb9
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140163c50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x140163cd7
mov rbx, r15
mov rbp, r15
jmp 0x140163d1a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140163cf1
cmp rbx, rcx
je 0x140163d14
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140163ce3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x666666666666666
cmp qword [rsi + 0x10], rax
jne 0x140163d38
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_41
call fcn.1401d5b30
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov eax, dword [r12 + 0x10]
mov dword [rdi + 0x20], eax
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140163d7d
cvtsi2ss xmm0, rcx
jmp 0x140163d92
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140163da5
cvtsi2ss xmm1, rcx
jmp 0x140163dba
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140163e24
mov rcx, rsi
call fcn.14010fa10
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x140163df7
mov qword [rsp + 0x28], 0
jmp 0x140163e17
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140163e14
mov rbx, rax
cmp rax, rdx
je 0x140163e58
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140163e03
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x140163e68
mov qword [rcx + rax*8], rdi
jmp 0x140163e7a
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140163e1c
cmp r8, rbp
jne 0x140163e73
mov qword [rcx + rax*8], rdi
jmp 0x140163e7f
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140163e7f
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140163cf9
Function at 0x1401646a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140296688], 0
lea rbx, [0x140288dc0]
jne 0x140164709
lea rcx, [rsp + 0x40]
mov byte [0x140296688], 1
call fcn.1400fc700
mov edx, 1
mov ecx, dword [rax]
mov dword [0x140288dc4], ecx
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbx + rdx*4 + 4], ecx
inc rdx
cmp rdx, 0x270
jb 0x1401646e0
mov dword [0x140288dc0], 0x270
mov rcx, rbx
call fcn.140134450
mov eax, eax
shl rax, 8
shr rax, 0x20
add rsp, 0x20
pop rbx
ret
Function at 0x14016e830
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x1402976b0]
mov rbp, r8
mov rsi, qword [0x1402976b8]
movsxd r14, edx
lea rcx, [r14 + r14*2]
lea rdi, [rax + rcx*8]
lea rbx, [rdi + 0x18]
cmp rbx, rsi
je 0x14016e89f
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.140174780
add rdi, 0x18
add rbx, 0x18
cmp rbx, rsi
jne 0x14016e880
mov rsi, qword [0x1402976b8]
lea rcx, [rsi - 0x18]
call fcn.140173d10
sub qword [0x1402976b8], 0x18
xor edi, edi
mov r9d, dword [0x1402976c8]
mov r8d, edi
mov dword [rsp + 0x28], edi
test r9d, r9d
js 0x14016ea12
mov r10, qword [0x1402976d0]
movabs rsi, 0x100000001b3
mov qword [rsp + 0x60], r15
movabs r15, 0xcbf29ce484222325
nop dword [rax]
movsxd r11, r8d
add r11, r11
mov ebx, dword [r10 + r11*8 + 8]
cmp ebx, r14d
jl 0x14016e9fc
test rbp, rbp
je 0x14016e980
movzx eax, byte [rsp + 0x29]
mov rcx, qword [rbp + 0x30]
movzx edx, r8b
xor rdx, r15
imul rdx, rsi
xor rdx, rax
movzx eax, byte [rsp + 0x2a]
imul rdx, rsi
xor rdx, rax
movzx eax, byte [rsp + 0x2b]
imul rdx, rsi
xor rdx, rax
imul rdx, rsi
and rcx, rdx
mov rdx, qword [rbp + 8]
shl rcx, 4
add rcx, qword [rbp + 0x18]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x14016e971
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14016e974
nop dword [rax]
cmp rax, rcx
je 0x14016e971
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x14016e960
jmp 0x14016e974
mov rax, rdi
test rax, rax
cmove rax, rdx
cmp rax, rdx
jne 0x14016e9fc
mov r11d, dword [r10 + r11*8 + 0xc]
lea edx, [rbx - 1]
cmp r8d, 0xffffffff
mov byte [0x14029777c], 1
mov eax, r8d
mov dword [rsp + 0x20], edx
cmove eax, r9d
mov dword [rsp + 0x24], r11d
movsxd rcx, eax
mov rax, qword [rsp + 0x20]
add rcx, rcx
mov qword [r10 + rcx*8], rax
mov r10, qword [0x1402976d0]
cmp dword [r10 + rcx*8 + 8], edx
jne 0x14016e9d0
cmp dword [r10 + rcx*8 + 0xc], r11d
jne 0x14016e9d0
mov r9d, dword [0x1402976c8]
jmp 0x14016e9fc
mov qword [r10 + rcx*8 + 8], rax
mov eax, dword [0x1402976cc]
mov r9d, dword [0x1402976c8]
cmp eax, r9d
mov r10, qword [0x1402976d0]
cmovg eax, edi
mov byte [0x140297720], dil
mov dword [0x14029771c], eax
inc r8d
mov dword [rsp + 0x28], r8d
cmp r8d, r9d
jle 0x14016e8f0
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140171f20
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
mov r8d, dword [0x1402976c8]
mov rcx, qword [0x1402976d0]
test r8d, r8d
jne 0x140171f78
mov ebx, dword [rcx + 8]
lea rdx, [rcx + 8]
cmp dword [rcx], ebx
jne 0x140171f78
mov eax, dword [rdx + 4]
cmp dword [rcx + 4], eax
jne 0x140171f78
call fcn.14016e140
lea r9, [0x140297780]
mov r8d, eax
mov edx, ebx
call fcn.14016af60
mov rcx, qword [0x1402976d0]
mov r8d, dword [0x1402976c8]
mov byte [0x14029777d], al
jmp 0x140171f7f
mov byte [0x14029777d], 0
cmp byte [0x140297771], 0
jne 0x140172016
movzx r9d, byte [rsp + 0x20]
xor eax, eax
cmp dword [0x1402976cc], r8d
cmovle eax, dword [0x1402976cc]
movsxd rbx, eax
lea eax, [r8 + 1]
movsxd r8, eax
add rbx, rbx
mov rdx, r8
shl rdx, 4
add rdx, rcx
mov rbx, qword [rcx + rbx*8 + 8]
mov qword [rsp + 0x28], rbx
call fcn.140175060
movsxd rax, dword [0x1402976c8]
cmp eax, 0xffffffff
jle 0x14017200c
mov r8, qword [0x1402976d0]
mov rdx, rax
mov ecx, dword [rsp + 0x2c]
add r8, 8
shl rdx, 4
add r8, rdx
nop dword [rax]
cmp dword [r8], ebx
jne 0x140172001
cmp dword [r8 + 4], ecx
jne 0x140172001
mov dword [0x1402976cc], eax
dec eax
sub r8, 0x10
cmp eax, 0xffffffff
jg 0x140171ff0
add rsp, 0x30
pop rbx
jmp fcn.140172340
add rsp, 0x30
pop rbx
ret