joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fac0
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 [0x140113040]
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 0x14000fb10
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 0x14000fb2c
mov r15d, reloc.WS2_32.dll_recv
jmp 0x14000fb50
cmp qword [rsi + 0x18], 0xf
jbe 0x14000fb36
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 0x14000fb55
mov r15d, 4
mov edi, 7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x55
mov rcx, rbp
call qword [sym.imp.libcrypto_3_x64.dll_X509_get_ext_d2i]
mov r12, rax
test rax, rax
je 0x14000fc45
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 0x14000fc38
nop dword [rax]
test r14b, r14b
jne 0x14000fc33
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 0x14000fc1d
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 0x14000fc0c
cmp edi, 7
jne 0x14000fc1d
mov r8, r15
lea rcx, [rsp + 0x38]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000fc07
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000fc1d
mov r13b, 1
jmp 0x14000fc1d
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.14000fc70
movzx r14d, al
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x14000fba0
test r14b, r14b
jne 0x14000fc33
test r13b, r13b
je 0x14000fc38
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.1400ce8a0
add rsp, 0x58
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400108d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [rcx]
movabs rax, 0xcbf29ce484222325
mov r10, qword [rdx]
movabs rcx, 0x100000001b3
mov rbx, rdx
movzx r8d, byte [r10 + 0x70]
xor r8, rax
movzx eax, byte [r10 + 0x71]
imul r8, rcx
xor r8, rax
movzx eax, byte [r10 + 0x72]
imul r8, rcx
xor r8, rax
movzx eax, byte [r10 + 0x73]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x30]
and rcx, r8
mov r8, qword [r9 + 0x18]
shl rcx, 4
add r8, rcx
mov rcx, qword [r9 + 8]
mov rax, qword [r8 + 8]
cmp rax, rcx
je 0x140010970
mov edx, dword [r10 + 0x70]
mov r8, qword [r8]
cmp edx, dword [rax + 0x10]
je 0x140010972
nop dword [rax]
cmp rax, r8
je 0x140010970
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x140010960
jmp 0x140010972
xor eax, eax
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x1400109b4
mov rcx, qword [r10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400109b4
cmp dword [rsp + 0x30], 0x103
sete al
test al, al
je 0x1400109b4
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ce8a0
add rsp, 0x40
pop rbx
ret
mov r8, qword [rbx]
lea rdx, [rsp + 0x20]
add r8, 0x70
lea rcx, [0x14011e640]
call fcn.140016a60
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ce8a0
add rsp, 0x40
pop rbx
ret
Function at 0x140010d20
Capabilities:
Set console window title
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rcx, str.Lettuce__Debug
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.1400109f0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 1
call fcn.140014700
xorps xmm0, xmm0
mov qword [rsp + 0x38], shutdown
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
lea rbx, str.RobloxPlayerBeta.exe
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x60], rax
call fcn.14008a3f0
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
je 0x140010e30
test rcx, rcx
je 0x140010ddf
mov rdx, qword [rsp + 0x60]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140010dda
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010e39
call fcn.1400cec64
lea rcx, [rsp + 0x20]
call fcn.140014700
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x38], shutdown
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x60], rax
call fcn.14008a3f0
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
jne 0x140010da8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140011f10
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x140012a80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x14011e7a0]
lea r11, [0x14011e7a0]
mov r9d, 0x270
cmp r10d, r9d
jne 0x140012ae5
lea r8, [0x14011e7a8]
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 r9, 1
jne 0x140012aa0
mov r10d, dword [0x14011e7a0]
jmp 0x140012bbf
cmp r10d, 0x4e0
jb 0x140012bbf
xor r10d, r10d
mov r8d, 0x38c
mov r9d, r10d
nop
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
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 + r11 + 0xff8]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, r8
jb 0x140012b00
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r11 + 0x9c8]
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 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + r11 + 4], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x140012b40
mov edx, dword [0x14011fb20]
xor edx, dword [0x14011e7a4]
btr edx, 0x1f
mov dword [0x14011e7a0], r10d
xor edx, dword [0x14011fb20]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x14011edd4]
mov dword [0x14011f160], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x14011e7a0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x14011fb24]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x1400166f0
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 [0x140113040]
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 0x14001688e
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x14001684c
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 0x14001680b
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 edx, 0x66
mov rcx, rax
mov r8d, 1
mov r14, rax
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 0x1400167bc
mov r9, qword [r9]
xor r8d, r8d
mov edx, 0x37
mov rcx, rdi
call qword [sym.imp.libssl_3_x64.dll_SSL_ctrl]
mov rdx, rdi
mov rcx, r15
call fcn.14000f670
cmp al, 1
jne 0x14001682c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x66
mov rcx, r14
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.1400ce8a0
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 0x14001688e
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x14001685d
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 0x14001680e
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140016a60
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 r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
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 0x140016ae7
mov rbx, r15
mov rbp, r15
jmp 0x140016b2a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140016b01
cmp rbx, rcx
je 0x140016b24
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140016af3
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, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x140016b48
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, 0x18
call fcn.1400ce9e0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140016b83
cvtsi2ss xmm0, rcx
jmp 0x140016b98
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 0x140016bab
cvtsi2ss xmm1, rcx
jmp 0x140016bc0
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]
jbe 0x140016c25
mov rcx, rsi
call fcn.140018d70
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x140016bf8
mov qword [rsp + 0x28], 0
jmp 0x140016c18
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140016c15
mov rbx, rax
cmp rax, rdx
je 0x140016c59
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140016c04
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, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x140016c69
mov qword [rcx + rax*8], rdi
jmp 0x140016c7b
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140016c1d
cmp r8, rbp
jne 0x140016c74
mov qword [rcx + rax*8], rdi
jmp 0x140016c80
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140016c80
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140016b09
Function at 0x14001a070
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14001a0a5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400133e0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14001a1e4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14001a15d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001a1d3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001a19a
mov r10, qword [rdx]
cmp r10, rax
je 0x14001a194
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 0x14001a1d3
cmp r9, rdx
je 0x14001a1af
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001a1f5
cmp r9, rdx
jne 0x14001a1a0
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, rdi
jne 0x14001a110
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
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 0x14001a1d3
Function at 0x140023960
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x140023b43
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x14011e788]
sub rbx, qword [0x14011e780]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1400239b3
mov eax, ntohs
jmp 0x1400239e1
cmp rdi, 0x44
jb 0x1400239c0
mov eax, 7
jmp 0x1400239e1
cmp rdi, 0x27
jb 0x1400239cd
mov eax, 5
jmp 0x1400239e1
cmp rdi, 7
jb 0x1400239da
mov eax, 3
jmp 0x1400239e1
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 0x1400239fa
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x140023aad
nop
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 rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x140023a6d
mov rax, rbx
jmp 0x140023a85
cmp rcx, rbx
ja 0x140023a82
mov rax, qword [0x14011e780]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140023a85
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 [rbp], r8d
cmp rcx, r15
jb 0x140023a20
add r15, rdi
cmp rcx, r15
jae 0x140023b2a
inc r14
lea rbp, [rcx - 1]
inc r13
nop
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, dword [rsi + r9*4]
add ecx, r10d
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 0x140023ac0
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14002bcb0
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 0x14002bd75
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002bd75
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 0x14002bd8e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002bd65
cmp byte [rcx], 0x5c
jne 0x14002bd5e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14002bd5e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002bd4c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002bd5b
test r8b, 0x10
jne 0x14002bd5e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14002bd5e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400232d0
test edi, edi
jne 0x14002bcd0
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.1400232c0
int3

Function at 0x1400353d0
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 r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [rcx + 8]
xor ebp, ebp
mov r13, qword [rdx + 8]
dec r12
mov r14, rcx
mov r15, rdx
mov ecx, 0x811c9dc5
mov r8d, ebp
test r13, r13
je 0x140035425
mov rdx, qword [rdx]
nop
movzx eax, byte [rdx + r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
cmp r8, r13
jb 0x140035410
mov ebx, ecx
mov rcx, qword [r14]
and rbx, r12
nop dword [rax]
lea rax, [rbx + rbx*2]
mov rdi, qword [rcx + rax*8]
lea rsi, [rcx + rax*8]
test rdi, rdi
je 0x14003548b
mov rdx, qword [r14 + 0x18]
test rdx, rdx
je 0x14003548b
mov r8, qword [rsi + 8]
cmp r8, qword [r14 + 0x20]
jne 0x140035496
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140035496
movups xmm0, xmmword [r15]
movups xmmword [rsi], xmm0
inc qword [r14 + 0x10]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp rdi, qword [r14 + 0x18]
je 0x140035460
test rdi, rdi
je 0x1400354b3
mov rdx, qword [r15]
test rdx, rdx
je 0x1400354b3
mov r8, qword [rsi + 8]
cmp r8, r13
jne 0x1400354b8
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jmp 0x1400354b6
cmp rdi, qword [r15]
je 0x14003546b
mov rcx, qword [r14]
inc rbx
add rbx, rbp
inc rbp
and rbx, r12
cmp rbp, r12
jbe 0x140035430
xor eax, eax
jmp 0x14003546e
Function at 0x1400354e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x140035592
mov r10d, dword [rdx]
mov r11d, dword [rbx + 0x18]
mov edx, r10d
mov r8d, r10d
shr edx, 0x18
mov ecx, r10d
shr r8d, 0x10
shr ecx, 8
cmp r10d, r11d
je 0x140035592
mov r9, qword [rbx + 8]
mov rbx, qword [rbx]
dec r9
movzx ecx, cl
mov qword [rsp + 0x10], rdi
movabs rdi, 0xcbf29ce484222325
movzx eax, r10b
xor rax, rdi
movabs rdi, 0x100000001b3
imul rax, rdi
xor rax, rcx
movzx ecx, r8b
imul rax, rdi
xor rax, rcx
mov ecx, edx
imul rax, rdi
xor rax, rcx
imul rax, rdi
mov rdi, qword [rsp + 0x10]
and rax, r9
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
cmp edx, r10d
je 0x140035596
cmp edx, r11d
je 0x140035592
inc rax
add rax, rcx
inc rcx
and rax, r9
cmp rcx, r9
jbe 0x140035570
xor eax, eax
pop rbx
ret
mov rax, r8
pop rbx
ret

Function at 0x1400355a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, qword [rcx + 8]
mov rsi, rcx
movzx eax, byte [rdx]
mov r11, rdx
movabs rdx, 0x100000001b3
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
dec r10
mov rbx, qword [rsi]
movzx ecx, byte [r11 + 2]
movzx r8d, byte [r11 + 1]
mov edi, dword [rsi + 0x18]
imul rax, rdx
xor rax, r8
imul rax, rdx
xor rax, rcx
movzx ecx, byte [r11 + 3]
imul rax, rdx
xor rax, rcx
imul rax, rdx
and rax, r10
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
mov r9d, dword [r11]
cmp edx, edi
je 0x140035646
cmp edx, r9d
je 0x14003564d
inc rax
add rax, rcx
inc rcx
and rax, r10
cmp rcx, r10
jbe 0x140035610
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [r8], r9d
inc qword [rsi + 0x10]
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140035660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r9, rdx
mov rdi, rcx
je 0x140035771
mov r15d, dword [rdx + 0x80]
lea r13, [rcx + 0x18]
cmp r15d, dword [r13 + 0x80]
jne 0x1400356be
lea r8, [r15*4]
mov rdx, r13
mov rcx, r9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140035771
mov r9, qword [rsp + 0x68]
mov r14, qword [rdi + 8]
xor ebp, ebp
dec r14
mov eax, 0x811c9dc5
mov ecx, ebp
test r15, r15
je 0x1400356f2
nop dword [rax]
nop word [rax + rax]
xor eax, dword [r9 + rcx*4]
inc rcx
imul eax, eax, 0x1000193
cmp rcx, r15
jb 0x1400356e0
mov ebx, eax
mov rax, qword [rdi]
and rbx, r14
mov qword [rsp + 0x60], rax
nop
imul rdi, rbx, 0x88
add rdi, rax
mov esi, dword [rdi + 0x80]
mov r12d, esi
cmp esi, r15d
jne 0x14003572f
lea r8, [rsi*4]
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003576c
cmp esi, dword [r13 + 0x80]
jne 0x14003574f
lea r8, [r12*4]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140035771
inc rbx
add rbx, rbp
inc rbp
and rbx, r14
cmp rbp, r14
ja 0x140035771
mov r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
jmp 0x140035700
mov rax, rdi
jmp 0x140035773
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret