joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a920
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rcx, [0x14000a8f0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
call fcn.140008750
xor r11d, r11d
lea r8, [0x14000a440]
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1400606f0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400606f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14000d063
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140023258]
jne 0x14000b8da
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b8d6
repz ret
ror rcx, 0x10
jmp 0x14000cfbc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005d450]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14005d548]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000d041
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14005d450]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000d063
mov rax, qword [rsp + 0x88]
mov qword [0x14005d548], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005d4e8], rax
mov rax, qword [0x14005d548]
mov qword [0x14005d3c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005d4d0], rax
mov dword [0x14005d3b0], 0xc0000409
mov dword [0x14005d3b4], 1
mov rax, qword [0x140023258]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140023260]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005d448], eax
mov ecx, 1
call fcn.140011814
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001b860]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005d448], 0
jne 0x14000d0ea
mov ecx, 1
call fcn.140011814
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000d720
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000d590
Function at 0x140011c54
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140023258]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000ebfc
xor ebx, ebx
cmp qword [0x14005e4f0], rbx
mov rdi, rax
jne 0x140011d67
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140011e3e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011e3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14005e4f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14005e4f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x14001d2b0]
mov rcx, rsi
mov qword [0x14005e500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14005e510], rax
test rax, rax
je 0x140011d5e
lea rdx, [0x14001d298]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14005e508], rax
jmp 0x140011d6e
mov rax, qword [0x14005e508]
jmp 0x140011d75
mov rax, qword [0x14005e508]
mov r11, qword [0x14005e510]
cmp rax, rdi
je 0x140011ddc
cmp r11, rdi
je 0x140011ddc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14005e510]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140011ddc
test rax, rax
je 0x140011ddc
call rsi
test rax, rax
je 0x140011dd6
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140011dd6
test byte [rsp + 0x40], 1
jne 0x140011ddc
bts ebp, 0x15
jmp 0x140011e1c
mov rcx, qword [0x14005e4f8]
cmp rcx, rdi
je 0x140011e1c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011e1c
call rax
mov rbx, rax
test rax, rax
je 0x140011e1c
mov rcx, qword [0x14005e500]
cmp rcx, rdi
je 0x140011e1c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011e1c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005e4f0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011e3e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140011e40
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b8c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140035e00
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 [0x14012ac00]
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.14006fc80
nop
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova 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], 0xf
jbe 0x140035e60
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 0x140035fc9
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 + 0xf], 0xf
mov byte [rbp - 9], 0
mov ebx, dword [rbp - 0x39]
test rbx, rbx
jne 0x140035ecc
mov qword [rbp + 7], rbx
mov byte [rbp + rbx - 9], bl
jmp 0x140035f00
lea rcx, [rbp - 9]
cmp rbx, 0xf
ja 0x140035eeb
mov qword [rbp + 7], rbx
mov r8, rbx
xor edx, edx
call fcn.1400bd240
mov byte [rbp + rbx - 9], 0
jmp 0x140035f00
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x49]
mov rdx, rbx
call fcn.140045780
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
mov r8d, dword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
call fcn.1400bcba0
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 + 0xf], 0xf
mov byte [rbp - 9], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x45], 1
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140035f96
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036006
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f80]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a9a30
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, 0xf
jbe 0x140035f96
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035f91
call fcn.14008d658
int3
Function at 0x140042160
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], 0xf
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.14003fae0
mov r10, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400421d7
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 0x140042251
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 0x1400421f2
lea rax, [r8 + r8*2]
sub rsi, rax
sub rsi, 1
je 0x1400422a2
cmp rsi, 1
jne 0x1400422cc
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 0x1400422c8
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.14003fae0
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 0x140043110
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 r9, rcx
mov r8, rdx
cmp r15, 0xf
jbe 0x14004313c
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x140043174
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, rsi
jb 0x140043160
mov rcx, qword [r9 + 0x30]
mov rax, qword [r9 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 8]
je 0x1400431e2
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1400431b2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x1400431be
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400431cf
mov r8, rsi
call fcn.1400bd5e0
test eax, eax
je 0x1400431da
cmp rbx, r14
je 0x1400431dd
mov rbx, qword [rbx + 8]
jmp 0x1400431a0
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 0x140043250
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], 0xf
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.14003fae0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400432b6
mov rbx, qword [rbx]
mov r15, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400432c3
mov r15, qword [rsi]
mov rdi, r15
mov r9d, r12d
test r8, r8
je 0x1400433d0
mov rdx, r12
lea r13, [0x140110790]
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
dec r8
movzx ecx, byte [rbx]
cmp cl, 0x3d
je 0x14004337a
movzx r10d, byte [rcx + r13]
cmp r10b, 0xff
je 0x14004337a
inc rbx
mov byte [rsp + rdx + 0x78], r10b
inc r9d
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 0x140043371
movzx edx, bpl
shr dl, 4
and dl, 3
movzx ecx, al
shl cl, 2
add dl, cl
mov byte [rdi], dl
movzx edx, r11b
shr dl, 2
and dl, 0xf
movzx ecx, bpl
shl cl, 4
add dl, cl
mov byte [rdi + 1], dl
movzx ecx, r11b
shl cl, 6
add cl, r14b
mov byte [rdi + 2], cl
add rdi, 3
mov r9d, r12d
mov rdx, r12
test r8, r8
jne 0x1400432f1
test r9d, r9d
je 0x1400433d0
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, [r9 - 1]
movsxd rbx, eax
test eax, eax
jle 0x1400433d0
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400bcba0
add rdi, rbx
sub rdi, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14003fae0
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 0x140045f70
Capabilities:
Encode data using xor
Hash data using fnv

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

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140050e24
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140050eb2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140050e80
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140050e80
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400bcba0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140050e9d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140050ea5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140050e41
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140050f90
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140050ec9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140050ecb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140050efd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400bcba0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140050f8d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140050f38
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 rsi, 0xfff
jbe 0x140050f6e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008ce64
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140050f8d
cmp rsi, rax
ja 0x140050f41
test rsi, rsi
je 0x140050f8d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008ce64
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140053280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov r15, rcx
mov rsi, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x1400532ad
mov rdx, qword [rdx]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x1400532e3
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbp, rax
imul rbp, r8
inc rcx
cmp rcx, rsi
jb 0x1400532d0
mov rcx, qword [r15 + 0x30]
and rcx, rbp
add rcx, rcx
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x14005333a
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140053312
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x14005331e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14005332f
mov r8, rsi
call fcn.1400bd5e0
test eax, eax
je 0x14005333c
cmp rbx, r14
je 0x14005333a
mov rbx, qword [rbx + 8]
jmp 0x140053300
xor ebx, ebx
test rbx, rbx
je 0x140053400
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x30]
and rax, rbp
add rax, rax
lea rdx, [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rax, qword [rdx]
cmp qword [r8 + 8], rbx
jne 0x140053380
cmp rax, rbx
jne 0x140053376
mov rax, qword [r15 + 8]
mov qword [rdx], rax
mov qword [r8 + 8], rax
jmp 0x14005338b
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
jmp 0x14005338b
cmp rax, rbx
jne 0x14005338b
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r15 + 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, 0xf
jbe 0x1400533d8
inc rdx
mov rcx, qword [rbx + 0x10]
cmp rdx, 0x1000
jb 0x1400533d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053419
mov rcx, r8
call fcn.1400a9a50
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0xf
mov byte [rbx + 0x10], 0
mov edx, 0x30
mov rcx, rbx
call fcn.1400a9a50
mov eax, 1
jmp 0x140053402
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14008d658
int3
Function at 0x140054f00
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, 0x40
mov rbp, 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 0x140055151
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rdi, qword [rbp + 8]
mov qword [rsp + 0x28], rdi
lea r12, [rbp + 0x18]
lea rdx, [rbx + rbx]
mov r8, rdi
mov rcx, r12
call fcn.140047830
lea rax, [rbx - 1]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rbx
mov qword [rsp + 0x30], rbp
mov rsi, qword [rbp + 8]
mov rsi, qword [rsi]
cmp rsi, rdi
je 0x14005510a
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rsi, qword [rsi]
mov r8, qword [rdi + 0x20]
lea r9, [rdi + 0x10]
mov r15, qword [rdi + 0x28]
cmp r15, 0xf
jbe 0x140054fba
mov r9, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
mov r10, r8
mov r11, r15
test r8, r8
je 0x140054fe4
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r8
jb 0x140054fd0
mov r13, qword [rbp + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, qword [rsp + 0x28]
jne 0x14005500b
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400550ee
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140055021
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
mov rbp, r8
cmp r15, 0xf
jbe 0x140055038
mov rcx, qword [rdi + 0x10]
mov rbp, r10
mov r15, r11
cmp r8, rax
jne 0x140055075
call fcn.1400bd5e0
test eax, eax
jne 0x140055075
mov r8, qword [rbx]
cmp r8, rdi
je 0x14005506f
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1400550df
cmp r12, rbx
je 0x1400550ba
nop word [rax + rax]
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140055096
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r15, 0xf
jbe 0x1400550a4
mov rcx, qword [rdi + 0x10]
cmp rbp, rax
jne 0x1400550b5
mov r8, rbp
call fcn.1400bd5e0
test eax, eax
je 0x14005512b
cmp r12, rbx
jne 0x140055080
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
mov rbp, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
mov rdi, rsi
cmp rsi, qword [rsp + 0x28]
lea r12, [rbp + 0x18]
movabs rax, 0xcbf29ce484222325
jne 0x140054fa1
mov qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1400550df
lea rcx, str.invalid_hash_bucket_count
call fcn.1400b7580
int3
Function at 0x140056dc0
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 0x140056e85
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140056e85
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 0x140056e9e
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 0x140056e75
cmp byte [rcx], 0x5c
jne 0x140056e6e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140056e6e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140056e5c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140056e6b
test r8b, 0x10
jne 0x140056e6e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140056e6e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004b8f0
test edi, edi
jne 0x140056de0
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.14004b8e0
int3