joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141079268
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410793ef
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141079299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14107927f
add dl, dl
jne 0x1410792a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141079306
xor eax, eax
add dl, dl
jne 0x1410792b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410793bd
add dl, dl
jne 0x1410792c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410792d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410792e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410792ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410792fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14107928e
mov eax, 1
add dl, dl
jne 0x141079316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141079323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14107930b
sub eax, ebx
mov ebx, 1
jne 0x14107935c
mov ecx, 1
add dl, dl
jne 0x14107933e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14107934b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141079333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107928e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141079378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141079385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14107936d
cmp eax, 0x7d00
jae 0x1410793ab
cmp eax, 0x500
jb 0x1410793a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107928e
cmp eax, 0x7f
ja 0x1410793ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107928e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410793e2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14107928e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x7ff6c24b3a10
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x7ff6c24cf010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.kernel32.dll_Process32First]
cmp eax, 1
jne 0x7ff6c24b3a99
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Process32Next]
cmp eax, 1
jne 0x7ff6c24b3a99
nop word [rax + rax]
lea rdx, [0x7ff6c24c79c8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.ucrtbase.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x7ff6c24b3abd
lea rdx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_Process32Next]
cmp eax, 1
je 0x7ff6c24b3a70
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.7ff6c24c4a20
add rsp, 0x160
pop rbx
ret
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x7ff6c24b3aa4

Function at 0x7ff6c24b3ad0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x7ff6c24cf010]
xor rax, rsp
mov qword [rsp + 0x390], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x260]
mov dword [rsp + 0x260], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.kernel32.dll_Process32First]
xor edi, edi
nop dword [rax + rax]
lea rdx, [0x7ff6c24c79c8]
lea rcx, [rsp + 0x28c]
call qword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x7ff6c24b3b50
lea rdx, [rsp + 0x260]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Process32Next]
test eax, eax
jne 0x7ff6c24b3b20
jmp 0x7ff6c24b3b57
mov edi, dword [rsp + 0x268]
mov edx, edi
mov ecx, 8
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.kernel32.dll_Module32First]
nop dword [rax]
lea rdx, [0x7ff6c24c79c8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x7ff6c24b3bac
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Module32Next]
test eax, eax
jne 0x7ff6c24b3b80
xor eax, eax
jmp 0x7ff6c24b3bb1
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.7ff6c24c4a20
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x3a0
pop rdi
ret
Function at 0x7ff6c24b6780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff6c24cf010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff6c24b6853
cmp byte [rcx + 0x71], 0
je 0x7ff6c24b6853
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff6c24b684f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff6c24b6814
sub eax, 1
je 0x7ff6c24b6818
cmp eax, 2
jne 0x7ff6c24b684f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6c24c4a20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff6c24b6846
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff6c24b684f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff6c24b67fc
xor al, al
jmp 0x7ff6c24b67fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6c24c4a20
add rsp, 0x60
pop rbx
ret

Function at 0x7ff6c24c4438
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x7ff6c24c77b0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff6c24c44bc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff6c24c76b0]
cmp byte [rcx + rax], 0
je 0x7ff6c24c44bc
dec r8
sub rdx, 1
jne 0x7ff6c24c44a2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff6c24c54d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff6c24c551a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff6c24c551a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff6c24c551a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff6c24c551a
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff6c24c551a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff6c24c551c
xor al, al
add rsp, 0x28
ret
Function at 0x140005150
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 0x140005172
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 0x1400051ec
mov rdi, r14
mov rcx, rbx
call fcn.140006980
test rax, rax
jle 0x1400051c4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140035f30
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 0x1400051dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400051e4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140005186
sub r14, rdi
jmp 0x1400052cf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140005203
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005205
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005237
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140035f30
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 0x1400052cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005272
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 0x1400052ad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14003c19c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400052cc
cmp rbp, rax
ja 0x140005280
test rbp, rbp
je 0x1400052cc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14003c19c
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 0x14000d810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140088068]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rdx + 0x18], 0x10
mov rdi, rcx
mov rbx, qword [rcx]
mov r8, rdx
mov r10, qword [rdx + 0x10]
jb 0x14000d840
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14000d874
movabs r11, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x14000d860
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x20]
call fcn.14001ce20
mov r8, qword [rax + 8]
test r8, r8
je 0x14000d8b9
cmp r8, qword [rbx + 8]
je 0x14000d8b9
add r8, 0x30
mov qword [rsp + 0x30], 0
lea rcx, [rdi + 0x70]
lea rdx, [rsp + 0x30]
call fcn.140019780
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x14000d8bb
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140033da0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000fc30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov rdi, qword [rcx]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000fc59
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x14000fc93
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14000fc80
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14001ce20
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000fd07
cmp rdx, qword [rdi + 8]
je 0x14000fd07
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x14000fcd2
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rdx + 0x38]
mov qword [rsp + 0x28], rax
mov r9, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000f760
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000c0d0
lea rdx, [0x140085d88]
lea rcx, [rsp + 0x48]
call fcn.140036968
int3
Function at 0x14000fda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rax, qword [0x140088068]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
mov rdx, qword [rcx + 0x28]
cmp rdx, qword [rcx + 0x18]
je 0x14000fe8c
movabs r12, 0xcbf29ce484222325
movabs r14, 0x100000001b3
nop dword [rax]
mov rbp, qword [rdi]
mov r10, qword [rdx + 0x10]
mov r8, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000fe04
mov r8, qword [rdx]
mov r9, r12
xor eax, eax
test r10, r10
je 0x14000fe24
nop
movzx ecx, byte [rax + r8]
xor r9, rcx
imul r9, r14
inc rax
cmp rax, r10
jb 0x14000fe10
mov r8, rdx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14001ce20
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14000fe79
cmp rbx, qword [rbp + 8]
je 0x14000fe79
lea rcx, [rdi + 0x70]
lea r8, [rbx + 0x30]
lea rdx, [rsp + 0x30]
call fcn.14001a2b0
mov rbp, qword [rax]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x14000ff4d
cmp qword [rbp + 0x30], 0
je 0x14000fefc
add qword [rdi + 0x28], 0x20
mov rdx, qword [rdi + 0x28]
cmp rdx, qword [rdi + 0x18]
jne 0x14000fdf0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000fec6
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000fec1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ff5e
mov rcx, r8
call fcn.140033dfc
xor al, al
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140033da0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rsi
mov rdx, qword [rdi + 0x28]
mov rcx, rdi
call fcn.14000fc30
add qword [rdi + 0x28], 0x20
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000ff46
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x14000ff41
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ff5e
mov rcx, r8
call fcn.140033dfc
mov al, 1
jmp 0x14000fec8
mov r8, rsi
mov rdx, qword [rdi + 0x28]
mov rcx, rdi
call fcn.14000fc30
jmp 0x14000ff10
call fcn.14003ab4c
int3
Function at 0x140019780
Capabilities:
Hash data using fnv

Disassembly:
mov r10, qword [r8]
mov r9, rcx
movabs r11, 0x100000001b3
movabs rcx, 0xcbf29ce484222325
mov rax, r10
shr rax, 8
movzx r8d, al
movzx eax, r10b
xor rax, rcx
imul rax, r11
xor r8, rax
mov rax, r10
imul r8, r11
shr rax, 0x10
movzx ecx, al
mov rax, r10
xor r8, rcx
shr rax, 0x18
imul r8, r11
movzx ecx, al
mov rax, r10
xor r8, rcx
shr rax, 0x20
imul r8, r11
movzx ecx, al
mov rax, r10
xor r8, rcx
shr rax, 0x28
imul r8, r11
movzx ecx, al
mov rax, r10
xor r8, rcx
shr rax, 0x30
imul r8, r11
movzx ecx, al
mov rax, r10
xor r8, rcx
shr rax, 0x38
mov rcx, qword [r9 + 0x30]
imul r8, r11
xor r8, rax
imul r8, r11
and rcx, r8
mov r8, qword [r9 + 8]
shl rcx, 4
add rcx, qword [r9 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14001985d
mov rcx, qword [rcx]
cmp r10, qword [rax + 0x10]
je 0x14001985f
nop
cmp rax, rcx
je 0x14001985d
mov rax, qword [rax + 8]
cmp r10, qword [rax + 0x10]
jne 0x140019840
test rax, rax
cmove rax, r8
mov qword [rdx], rax
mov rax, rdx
ret
xor eax, eax
test rax, rax
cmove rax, r8
mov qword [rdx], rax
mov rax, rdx
ret
Function at 0x14001adc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001adf4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001ade0
ret
Function at 0x14001b9b0
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 0x14001bbf3
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.1400192e0
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 0x14001bbd2
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 0x14001ba69
mov r8, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
test r15, r15
je 0x14001ba94
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r15
jb 0x14001ba80
mov r13, qword [r13 + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, rbp
jne 0x14001bab9
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x14001bbb3
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001bacf
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x14001badd
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x14001bb24
mov r8, r15
call fcn.140036a40
test eax, eax
jne 0x14001bb20
mov rax, qword [rbx]
cmp rax, rdi
je 0x14001bb17
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 0x14001bba9
mov r9, qword [rdi + 0x28]
cmp r12, rbx
je 0x14001bb84
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001bb3f
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x14001bb4d
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x14001bb24
mov r8, r15
call fcn.140036a40
test eax, eax
jne 0x14001bb20
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 0x14001bba9
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 0x14001ba50
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.14003297c
int3
Function at 0x14001fdf0
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 0x140020033
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.1400192e0
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 0x140020012
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 0x14001fea9
mov r8, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
test r15, r15
je 0x14001fed4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r15
jb 0x14001fec0
mov r13, qword [r13 + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, rbp
jne 0x14001fef9
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x14001fff3
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001ff0f
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x14001ff1d
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x14001ff64
mov r8, r15
call fcn.140036a40
test eax, eax
jne 0x14001ff60
mov rax, qword [rbx]
cmp rax, rdi
je 0x14001ff57
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 0x14001ffe9
mov r9, qword [rdi + 0x28]
cmp r12, rbx
je 0x14001ffc4
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001ff7f
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x14001ff8d
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x14001ff64
mov r8, r15
call fcn.140036a40
test eax, eax
jne 0x14001ff60
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 0x14001ffe9
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 0x14001fe90
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.14003297c
int3
Function at 0x1400248e0
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 0x1400249ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400249ac
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 0x1400249c5
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 0x14002499c
cmp byte [rax], 0x5c
jne 0x140024996
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140024996
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140024982
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140024993
test r8b, 0x10
jne 0x140024996
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140024996
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001e200
test edi, edi
jne 0x140024900
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.14001e1f0
int3