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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401b2190]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdx, qword [rbp + 0xd0]
mov rbx, qword [rbp + 0xd8]
test rdx, rdx
je 0x14010c4f5
lea rcx, [rsp + 0x38]
call fcn.140068b90
nop
lea rcx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 3
lea r9, [0x14019096c]
xor r8d, r8d
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
call fcn.14006ac20
xor r15d, r15d
cmp rax, 0xffffffffffffffff
jne 0x14010bb2b
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 3
lea r9, [0x140190968]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bb2b
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 3
lea r9, [0x140190978]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bb30
mov eax, 1
mov dword [rbx], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.RYZEN_3
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bbbf
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.ryzen_3
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bbbf
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Ryzen_3
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bbc4
mov eax, 1
mov dword [rbx + 4], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.RYZEN_5
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bc54
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.ryzen_5
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bc54
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Ryzen_5
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bc59
mov eax, 1
mov dword [rbx + 8], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.RYZEN_7
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bce9
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.ryzen_7
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bce9
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Ryzen_7
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bcee
mov eax, 1
mov dword [rbx + 0xc], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.RYZEN_9
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bd7e
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.ryzen_9
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bd7e
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Ryzen_9
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bd83
mov eax, 1
mov dword [rbx + 0x10], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 5
lea r9, str.Intel
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bde5
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 5
lea r9, str.intel
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov r13d, r15d
je 0x14010bdeb
mov r13d, 1
mov dword [rbx + 0x14], r13d
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x1401909e0]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010be4e
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x1401909f4]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010be53
mov eax, 1
mov dword [rbx + 0x18], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 4
lea r9, str.Xeon
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010beb5
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 4
lea r9, str.xeon
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010beba
mov eax, 1
mov dword [rbx + 0x1c], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x1401909f8]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bf1c
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a08]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bf21
mov eax, 1
mov dword [rbx + 0x20], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a04]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bf83
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a10]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bf88
mov eax, 1
mov dword [rbx + 0x24], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a0c]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010bfea
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a1c]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010bfef
mov eax, 1
mov dword [rbx + 0x28], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 4
lea r9, str.Atom
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010c051
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 4
lea r9, str.atom
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010c056
mov eax, 1
mov dword [rbx + 0x2c], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Celeron
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010c0b8
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.celeron
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010c0bd
mov eax, 1
mov dword [rbx + 0x30], eax
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.Pentium
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010c11f
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 7
lea r9, str.pentium
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov eax, r15d
je 0x14010c124
mov eax, 1
mov dword [rbx + 0x34], eax
mov qword [rbx + 0x38], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
test r13d, r13d
je 0x14010c24f
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a40]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
je 0x14010c24f
mov dword [rbx + 0x44], 1
lea rcx, [rsp + 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], 2
lea r9, [0x140190a40]
xor r8d, r8d
mov rdx, rdi
call fcn.14006ac20
mov r9d, 8
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140075c90
nop
lea rcx, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [0x140190a54]
xor r8d, r8d
mov r14, qword [rsp + 0x68]
mov rdx, r14
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
jne 0x14010c224
lea rcx, [rsp + 0x58]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [0x140190a50]
xor r8d, r8d
mov rdx, r14
call fcn.14006ac20
cmp rax, 0xffffffffffffffff
mov r12d, r15d
je 0x14010c22a
mov r12d, 1
lea rcx, [rsp + 0x58]
call fcn.140069470
nop
mov eax, 1
mov dword [rsp + 0x30], eax
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x38]
jmp 0x14010c262
mov r12d, r15d
mov eax, r15d
mov dword [rsp + 0x30], eax
test r13d, r13d
je 0x14010c4ea
test r12d, r12d
jne 0x14010c3b5
mov r12d, eax
lea r15, [rsp + 0x38]
cmp r14, 0x10
cmovae r15, rsi
test rdi, rdi
je 0x14010c2b7
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x53], 1
lea rdx, [rdi + r15]
mov rcx, r15
cmp r15, rdx
jae 0x14010c2b7
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x80], 0
jne 0x14010c3ad
inc rcx
cmp rcx, rdx
jb 0x14010c2a1
mov rcx, 0xffffffffffffffff
lea r11, [r12 + 4]
add r11, rcx
dec rdi
mov r9, r11
cmp r11, rdi
cmovae r9, rdi
lea r10, [rsp + 0x38]
cmp r14, 0x10
cmovae r10, rsi
lea rdx, [rcx + 1]
cmp rdx, r9
ja 0x14010c328
nop dword [rax]
movsx r8d, byte [r10 + rdx]
mov eax, dword [rbx + 0x4c]
lea ecx, [rax + rax*4]
add ecx, ecx
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14010c30b
add ecx, 0xffffffd0
add ecx, r8d
mov dword [rbx + 0x4c], ecx
movzx eax, byte [r10 + rdx]
sub al, 0x59
test al, 0xdf
jne 0x14010c320
mov dword [rbx + 0x38], 1
inc rdx
cmp rdx, r9
jbe 0x14010c2f0
lea rax, [r11 + 1]
cmp rax, rdi
cmovb rdi, rax
movzx ecx, byte [r10 + rdi]
cmp cl, 0x79
je 0x14010c342
cmp cl, 0x59
jne 0x14010c34e
mov dword [rbx + 0x38], 1
movzx ecx, byte [r10 + rdi]
lea eax, [rcx - 0x4d]
test al, 0xdf
je 0x14010c363
movzx eax, byte [r10 + rdi - 1]
cmp al, 0x6d
je 0x14010c363
cmp al, 0x4d
jne 0x14010c36f
mov dword [rbx + 0x3c], 1
movzx ecx, byte [r10 + rdi]
sub cl, 0x55
test cl, 0xdf
je 0x14010c383
movzx eax, byte [r10 + rdi - 1]
sub al, 0x55
test al, 0xdf
jne 0x14010c38a
mov dword [rbx + 0x40], 1
mov r15d, dword [rbx + 0x4c]
mov eax, 0x66666667
imul r15d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub r15d, eax
jmp 0x14010c4c2
sub rcx, r15
jmp 0x14010c2be
lea r12, [rsp + 0x38]
cmp r14, 0x10
cmovae r12, rsi
test rdi, rdi
je 0x14010c406
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x53], 1
lea rdx, [rdi + r12]
mov rcx, r12
cmp r12, rdx
jae 0x14010c406
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x80], 0
jne 0x14010c51f
inc rcx
cmp rcx, rdx
jb 0x14010c3f0
mov rcx, 0xffffffffffffffff
lea rax, [rdi - 1]
lea r9, [rcx + 4]
cmp r9, rax
cmovae r9, rax
lea r10, [rsp + 0x38]
cmp r14, 0x10
cmovae r10, rsi
lea rdx, [rcx + 1]
cmp rdx, r9
ja 0x14010c457
movsx r8d, byte [r10 + rdx]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14010c44f
mov eax, dword [rbx + 0x4c]
lea ecx, [rax - 6]
lea ecx, [rax + rcx*4]
lea ecx, [r8 + rcx*2]
mov dword [rbx + 0x4c], ecx
inc rdx
cmp rdx, r9
jbe 0x14010c432
mov ecx, dword [rbx + 0x4c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
imul r8d, edx, 0x3e8
add r8d, ecx
mov dword [rbx + 0x4c], r8d
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub r8d, eax
mov eax, r15d
cmp r8d, 5
seta al
mov dword [rbx + 0x3c], eax
mov eax, r15d
sete al
mov dword [rbx + 0x40], eax
mov eax, r15d
test r8d, r8d
sete al
mov dword [rbx + 0x38], eax
cmp r8d, 5
cmova r15d, r8d
lea rax, [rbx + 0x48]
mov dword [rax], r15d
cmp dword [rsp + 0x30], 0
je 0x14010c4ea
mov eax, dword [rbx + 0x4c]
test eax, eax
jle 0x14010c4ea
cmp eax, 0x2710
jae 0x14010c4ea
lea eax, [rax + rax*4]
add eax, eax
mov dword [rbx + 0x4c], eax
test eax, eax
jg 0x14010c4d7
lea rcx, [rsp + 0x38]
call fcn.140069470
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140126360
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rcx, r12
jmp 0x14010c40d