joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180045370
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800453cd
lea rbx, [0x18020c080]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800453b4
cmp r10, 2
jb 0x1800453b4
cmp byte [r9], r8b
jne 0x1800453b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180045390
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18004540f
lea rbx, [0x18020c080]
cmp r8b, 0x23
jne 0x1800453f3
cmp byte [r9], r8b
jne 0x1800453f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800453e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800455c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1800455de
mov qword [r8], r14
lea rdx, [0x18020bb24]
call fcn.180045420
mov rbx, rax
test rax, rax
jne 0x180045603
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1801a30f8
mov ebp, eax
cmp eax, 0xffffffff
je 0x180045727
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1801a3c34
test eax, eax
jne 0x180045727
mov rcx, rbx
call fcn.1801a30f8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180045727
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1801a3c34
test eax, eax
jne 0x180045727
cmp rdi, 0xffffffffffffffff
je 0x180045727
mov rcx, rdi
call fcn.1800490b0
mov rbp, rax
test rax, rax
je 0x180045727
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1801aa310
mov rcx, rbx
cmp rax, rdi
je 0x180045715
call fcn.1801a3894
mov r8, qword [0x180295db0]
test r8, r8
je 0x18004570b
movsx rdx, word [r8 + 0x34e0]
lea rcx, [r8 + 0x34e4]
mov r9d, dword [r8 + 0x1278]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180045700
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x34e0], cx
movsx rax, cx
lea rcx, [r8 + 0x34e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x34dc]
mov rcx, rbp
call fcn.1801aa09c
jmp 0x18004572f
call fcn.1801a3894
test rsi, rsi
je 0x180045722
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180045731
mov rcx, rbx
call fcn.1801a3894
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18004c690
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18004c6e0
lea r11, [0x18020c080]
nop dword [rax]
cmp r9b, 0x23
jne 0x18004c6c3
cmp byte [r8], r9b
jne 0x18004c6c3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18004c6b0
mov rcx, qword [0x180295db0]
not eax
movsxd rdx, dword [rcx + 0x1310]
mov r9, qword [rcx + 0x1318]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18004c741
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18004c739
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18004c73c
mov rdx, r8
test rdx, rdx
jne 0x18004c710
cmp r9, r10
je 0x18004c750
cmp dword [r9], eax
jne 0x18004c750
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800529a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x18020c080]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x1384], ebx
jne 0x180052a38
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18005d9f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180052a40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x18020c080]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x18005c810
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180295db0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18005c873
mov qword [rsp], rbx
lea rbx, [0x18020c080]
nop dword [rax]
cmp r9b, 0x23
jne 0x18005c853
cmp byte [r8], r9b
jne 0x18005c853
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18005c840
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x3368]
not eax
mov r8, qword [r10 + 0x3370]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18005c89f
cmp dword [r8 + 8], eax
je 0x18005c8a6
add r8, 0x48
cmp r8, rcx
jne 0x18005c890
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180070ab0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x180295db0]
mov rbp, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180070c73
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180070c73
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call fcn.1800490b0
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rdi, rax
test rax, rax
je 0x180070b28
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x180070b2b
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov rax, qword [0x180295db0]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x180070b7b
mov rsi, qword [rax + 0x98]
jmp 0x180070b7e
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180070ba9
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x180295db0]
mov rcx, qword [rax + 0x1e58]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x180070c34
inc rbx
cmp rbx, 5
jl 0x180070c05
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1800766d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x180295db0]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x180076713
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x68], 0
je 0x1800767bf
xor eax, eax
mov dword [rdi + 0x1cf8], eax
mov dword [rdi + 0x1d00], eax
test dword [rcx + 4], 0x100000
je 0x1800767d0
mov r8d, 2
jmp 0x18007684a
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [r10 + 0x1a0]
call fcn.18006a350
cmp byte [rdi + 0x33f8], 0
je 0x180076888
cmp byte [rbx + 0x68], 0
jne 0x180076888
xor r8d, r8d
lea rdx, [0x18024cbd4]
mov rcx, rsi
call fcn.18005c490
mov dword [rdi + 0x3428], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800782e0
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [0x180295db0]
mov rdx, qword [rax + 0x2148]
cmp ecx, 0xffffffff
jne 0x1800782fa
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x180078379
mov r10d, dword [rdx]
lea r8, [0x18024cbd9]
movzx eax, word [rdx + 0x78]
lea r11, [0x18020c080]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180078353
cmp byte [r8], r9b
jne 0x180078353
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180078340
not ecx
xor edx, edx
jmp fcn.180056e40
ret
Function at 0x18009a670
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18009a71c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18009a6aa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x18009a990
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18009a6ea
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180199c38
mov rcx, rbx
test rbx, rbx
jne 0x18009a6d0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.18009c890
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18009aa8e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180199c38
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x18009aa9a
cmp rbx, rbp
jne 0x18009aa40
cmp qword [rsp + 0x68], r14
jne 0x18009aa6d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x18009aaa9
mov qword [r15], r12
mov rax, r12
jmp 0x18009aaac
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18009aa6d
nop word [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180199c38
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x18009ab38
cmp rbx, rbp
jne 0x18009ab12
jmp 0x18009aa6a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x18009aac0
jmp 0x18009aa6d
Function at 0x18009a7d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18009a981
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.18009a520
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 0x18009a946
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x18009a8c0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18009a935
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18009a8fd
mov r10, qword [rdx]
cmp r10, rax
je 0x18009a8f7
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 0x18009a935
cmp r9, rdx
je 0x18009a911
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18009a95b
cmp r9, rdx
jne 0x18009a902
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 0x18009a870
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
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 0x18009a935
lea rcx, str.invalid_hash_bucket_count
call fcn.18019af50
int3
Function at 0x18009a990
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18009a71c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18009a6aa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x18009a990
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18009a6ea
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180199c38
mov rcx, rbx
test rbx, rbx
jne 0x18009a6d0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.18009c890
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18009aa8e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180199c38
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x18009aa9a
cmp rbx, rbp
jne 0x18009aa40
cmp qword [rsp + 0x68], r14
jne 0x18009aa6d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x18009aaa9
mov qword [r15], r12
mov rax, r12
jmp 0x18009aaac
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18009aa6d
nop word [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180199c38
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x18009ab38
cmp rbx, rbp
jne 0x18009ab12
jmp 0x18009aa6a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x18009aac0
jmp 0x18009aa6d
Function at 0x18009ea30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18009ea64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18009ea50
ret
Function at 0x1800a4080
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 0x1800a4145
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1800a4145
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 0x1800a415e
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 0x1800a4135
cmp byte [rcx], 0x5c
jne 0x1800a412e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1800a412e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800a411c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1800a412b
test r8b, 0x10
jne 0x1800a412e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1800a412e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800a0630
test edi, edi
jne 0x1800a40a0
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.1800a0620
int3