joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004050
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x280
mov rax, qword [0x180115a80]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
mov qword [rsp + 0x48], 0xf
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x30], xmm0
xor edx, edx
mov byte [rsp + 0x30], dil
mov r8d, 0x1f4
mov dword [rsp + 0x60], edi
lea rcx, [rsp + 0x64]
call fcn.1800e3ab0
mov r9d, 0x1f3
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x64]
lea edx, [r9 + 1]
call fcn.1800ca908
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180004107
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004102
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000418a
call fcn.1800babcc
mov qword [rsp + 0x278], rbx
lea rbx, [rsp + 0x298]
call fcn.180007190
mov r9, qword [rsp + 0x290]
lea rdx, [rsp + 0x64]
mov qword [rsp + 0x28], rbx
mov r8d, 0x1f4
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
or rcx, 2
call fcn.1800cfbfc
mov rcx, qword [0x180115278]
lea r9, [0x180117ed0]
mov r8d, 0x1f8
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800bb0c0
add rsp, 0x280
pop rdi
ret
call fcn.1800ca310
int3
Function at 0x1800041f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x180115a80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [0x180117e00]
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x180004248
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
jmp 0x180004316
mov qword [rsp + 0xa8], rbp
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
jne 0x18000428f
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
jmp 0x180004309
mov rdx, rsi
xor ecx, ecx
mov rdi, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call fcn.1800e3e70
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xorps xmm1, xmm1
mov r8, rdi
mov rdx, rbx
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.180002d40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
mov rbp, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x60]
mov rax, r14
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800bb0c0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x180004b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1870
call fcn.1800bb060
sub rsp, rax
mov rax, qword [0x180115a80]
xor rax, rsp
mov qword [rsp + 0x1860], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0xa08
mov ebx, eax
call fcn.1800e3e70
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa40]
call fcn.1800946a0
cmp qword [rax + 0x18], 7
jbe 0x180004b7a
mov rax, qword [rax]
lea rcx, [rdi + 0x20c]
mov r8, rax
mov edx, 0x1f4
call fcn.1800ca47c
mov rdx, qword [rsp + 0xa58]
cmp rdx, 7
jbe 0x180004bd6
mov rcx, qword [rsp + 0xa40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004bd1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004c76
call fcn.1800babcc
lea rcx, [rsp + 0xa68]
mov dword [rsp + 0xa60], 2
mov rdx, rdi
mov r8d, 0xa08
call fcn.1800e3e70
xor edx, edx
lea rcx, [rsp + 0x1470]
mov r8d, 0x3e8
call fcn.1800e3ab0
mov r9d, 0x1f3
lea rcx, [rsp + 0x1470]
mov r8, rsi
lea edx, [r9 + 1]
call fcn.1800ca4e4
mov rcx, qword [0x180115278]
lea r9, [0x180117ed0]
mov r8d, 0xdf8
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0xa60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x1860]
xor rcx, rsp
call fcn.1800bb0c0
lea r11, [rsp + 0x1870]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1800ca310
int3

Function at 0x180004c80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
test rdx, rdx
je 0x180004c9a
lea rcx, str.:__s
call fcn.180004050
mov rcx, qword [0x180115278]
lea r9, [0x180117ed0]
mov r8d, 0x10
mov dword [rsp + 0x30], 3
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x40
pop rbx
ret

Function at 0x180005a20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [rcx]
mov rdi, r8
mov ebx, r9d
movups xmmword [r8], xmm0
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [r8 + 0x20]
movups xmmword [r8 + 0x10], xmm1
mov r8d, 0xa08
call fcn.1800e3e70
mov rcx, qword [0x180115278]
lea r8d, [rbx + 0xa30]
lea r9, [0x180117ed0]
mov qword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180006120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800062ff
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180005a90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800062c4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18000623c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800062b3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180006279
mov r10, qword [rdx]
cmp r10, rax
je 0x180006273
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 0x1800062b3
cmp r9, rdx
je 0x18000628f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800062d9
cmp r9, rdx
jne 0x180006280
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, rbx
jne 0x1800061c0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x1800062b3
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b82c8
int3
Function at 0x18000a1c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor r8d, r8d
test rdx, rdx
jne 0x18000a1f0
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
jmp 0x18000a2b8
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x18000a1e0
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x18000a1e0
mov ecx, dword [rax + rdx + 0x88]
test ecx, ecx
jne 0x18000a222
mov qword [rbx], r8
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
jmp 0x18000a2b8
lea r14, [rdx + rcx]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov esi, r8d
mov r9, qword [rsp + 0x30]
cmp dword [r14 + 0x18], r8d
jbe 0x18000a2a8
mov rbp, r8
nop word [rax + rax]
mov eax, dword [r14 + 0x24]
add rax, rbp
movzx edx, word [rax + rdi]
mov ecx, dword [r14 + 0x1c]
add rcx, rdi
mov eax, dword [rcx + rdx*4]
add rax, rdi
mov qword [rsp + 0x68], rax
cmp r9, r8
je 0x18000a280
mov qword [r9], rax
add r9, 8
mov qword [rsp + 0x30], r9
jmp 0x18000a29c
lea r8, [rsp + 0x68]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1800089f0
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
inc esi
add rbp, 2
cmp esi, dword [r14 + 0x18]
jb 0x18000a250
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov qword [rbx + 8], r9
mov qword [rbx + 0x10], r8
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x18000a4d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x278
call fcn.1800bab90
mov r9, rax
test rax, rax
je 0x18000a592
mov rcx, rax
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rax, 1
jne 0x18000a500
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rbx + 0x70]
mov qword [rcx + 0x70], rax
jmp 0x18000a595
xor r9d, r9d
mov qword [rsp + 0x60], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x180008b50]
xor edx, edx
xor ecx, ecx
call fcn.1800d03ac
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000a5f7
cmp dword [rsp + 0x38], 0
je 0x18000a5ec
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1800b8888
test eax, eax
jne 0x18000a5ec
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.1800b85f0
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1800b85f0
int3

Function at 0x18000b7d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x18000b814
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18000b800
ret

Function at 0x18000ba60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18000ba94
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18000ba80
ret
Function at 0x180015180
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.1800bb060
sub rsp, rax
mov rax, qword [rcx]
movabs rdi, 0x100000001b3
mov r10, qword [0x180f66360]
mov rbx, rcx
mov r11, qword [0x180f66348]
movabs rsi, 0xcbf29ce484222325
mov r9, qword [0x180f66338]
movabs r14, 0xcaee32a7d4f6a63
mov r8d, dword [rax]
mov eax, r8d
shr rax, 8
movzx edx, al
movzx eax, r8b
xor rax, rsi
imul rax, rdi
xor rdx, rax
mov eax, r8d
imul rdx, rdi
shr rax, 0x10
movzx ecx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
imul rdx, rdi
xor rdx, rax
imul rdx, r14
and rdx, r10
add rdx, rdx
mov rcx, qword [r11 + rdx*8 + 8]
cmp rcx, r9
je 0x180015251
mov rax, qword [r11 + rdx*8]
cmp r8, qword [rcx + 0x10]
je 0x180015253
nop dword [rax + rax]
cmp rcx, rax
je 0x180015251
mov rcx, qword [rcx + 8]
cmp r8, qword [rcx + 0x10]
jne 0x180015240
jmp 0x180015253
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
je 0x1800153d6
mov rax, r8
shr rax, 8
movzx edx, al
movzx eax, r8b
xor rax, rsi
imul rax, rdi
xor rdx, rax
mov rax, r8
imul rdx, rdi
shr rax, 0x10
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
imul rdx, rdi
xor rdx, rax
imul rdx, r14
and rdx, r10
add rdx, rdx
mov rax, qword [r11 + rdx*8 + 8]
cmp rax, r9
je 0x1800153f3
mov rcx, qword [r11 + rdx*8]
cmp r8, qword [rax + 0x10]
je 0x1800152d3
nop
cmp rax, rcx
je 0x1800153f3
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x1800152c0
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [rax + 0x38]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
call fcn.1800238c0
test al, al
je 0x1800153d6
xor edx, edx
lea rcx, [rsp + 0x58]
mov r8d, 0x178
call fcn.1800e3ab0
xor eax, eax
lea rcx, [rbp + 0x100]
xor edx, edx
mov qword [rbp + 0xd8], rax
mov r8d, 0x448
mov qword [rbp + 0xe8], rax
call fcn.1800e3ab0
xor edx, edx
lea rcx, [rbp + 0x558]
mov r8d, 0x400
call fcn.1800e3ab0
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x50]
mov r8d, 0xa08
mov dword [rbp + 0x554], 3
mov rcx, qword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rax]
mov rax, qword [rsp + 0x20]
or rax, 0x401020
mov qword [rbp + 0x548], rcx
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x960]
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0xf8], rax
mov eax, dword [rsp + 0x28]
mov dword [rbp + 0x550], eax
movsxd rax, dword [rsp + 0x2c]
mov qword [rbp + 0xe0], rax
call fcn.1800e3e70
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x960]
call fcn.180004340
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800b82ec
int3
Function at 0x18001e650
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 0x18001e71c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001e71c
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 0x18001e735
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 0x18001e70c
cmp byte [rax], 0x5c
jne 0x18001e706
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18001e706
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18001e6f2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18001e703
test r8b, 0x10
jne 0x18001e706
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18001e706
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022c30
test edi, edi
jne 0x18001e670
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1800205c0
int3

Function at 0x18001e740
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x18001e823
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001e823
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 0x18001e841
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 0x18001e813
cmp word [rax], 0x5c
jne 0x18001e80c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18001e80c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18001e7f7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x18001e809
test r8b, 0x10
jne 0x18001e80c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x18001e80c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022e40
test edi, edi
jne 0x18001e770
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1800205c0
int3
Function at 0x180020640
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18002081f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001c7f0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800207e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180020759
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800207d3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180020796
mov r10, qword [rdx]
cmp r10, rax
je 0x180020790
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 0x1800207d3
cmp r9, rdx
je 0x1800207af
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800207f9
cmp r9, rdx
jne 0x1800207a0
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, rbx
jne 0x1800206e0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x1800207d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b82c8
int3
Function at 0x180024f50
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x180025008
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x180024fff
nop dword [rax + rax]
cmp rax, rdx
je 0x180025008
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x180024ff0
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800b82ec
int3
Function at 0x18004fae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 0x60]
lea rdi, [0x180115650]
cmp rdi, rbx
je 0x18004fb13
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x18004fb07
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.1800235d0
mov r8, qword [rbx + 0x20]
lea rdx, [rbx + 0x28]
lea rbx, [0x180115678]
mov qword [0x180115670], r8
cmp rbx, rdx
je 0x18004fb4b
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x18004fb3c
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.1800235d0
mov r8, qword [0x180115670]
cmp qword [0x180115690], 0xf
lea rcx, str._s__llx__s
cmova rbx, qword [0x180115678]
cmp qword [0x180115668], 0xf
mov r9, rbx
cmova rdi, qword [0x180115650]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180004050