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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdx
movq r9, xmm0
mov rax, r9
psrldq xmm0, 8
movq r15, xmm0
sub rax, r15
mov qword [rsp + 0x20], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [r9], 0x2d
jne 0x140024a11
inc r9
mov qword [rsp + 0x28], r9
mov r12b, 1
jmp 0x140024a14
xor r12b, r12b
xor esi, esi
mov r10d, esi
xor r11b, r11b
mov byte [rsp + 0x98], r11b
mov ebx, esi
movsx ecx, byte [r9]
cmp cl, 0x30
jne 0x140024a3f
mov edi, esi
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140024b0a
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140024fbc
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea edi, [rcx - 0x30]
movzx eax, byte [rdx]
test r12b, r12b
je 0x140024ab0
cmp al, 0x30
jl 0x140024b0a
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140024b0a
cmp edi, 0xccccccc
jb 0x140024a89
jne 0x140024afc
mov r8, rcx
cmp al, 0x38
ja 0x140024afc
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ecx, [rdi - 6]
lea ecx, [rdi + rcx*4]
movsx eax, byte [r8]
lea edi, [rax + rcx*2]
inc ebx
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140024a70
jmp 0x140024b0a
cmp al, 0x30
jl 0x140024b0a
mov r8, rdx
mov rcx, rdx
nop word [rax + rax]
cmp al, 0x39
jg 0x140024b0a
cmp edi, 0x19999999
jb 0x140024ad5
jne 0x140024afc
mov r8, rcx
cmp al, 0x35
jg 0x140024afc
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ecx, [rdi - 6]
lea ecx, [rdi + rcx*4]
movsx eax, byte [r8]
lea edi, [rax + rcx*2]
inc ebx
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140024ac0
jmp 0x140024b0a
mov r11b, 1
mov byte [rsp + 0x98], r11b
mov r10d, edi
xor r14b, r14b
movsd xmm2, qword [0x140588218]
test r11b, r11b
je 0x140024c60
test r12b, r12b
je 0x140024b9d
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024c60
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
nop
cmp cl, 0x39
ja 0x140024c60
cmp r10, r11
jb 0x140024b58
jne 0x140024b85
mov r8, r9
cmp cl, 0x38
ja 0x140024b85
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
inc ebx
mov r8, rdx
mov r9, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140024b40
jmp 0x140024c60
mov rcx, r10
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140024c09
cvtsi2sd xmm1, rcx
jmp 0x140024c1e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140024c60
mov r9, rdx
mov r11, rdx
movabs rbp, 0x1999999999999999
nop dword [rax + rax]
mov rcx, r10
cmp r8b, 0x39
ja 0x140024c60
cmp r10, rbp
jb 0x140024bdd
jne 0x140024b88
mov r9, r11
cmp r8b, 0x35
ja 0x140024b88
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
inc ebx
mov r9, rdx
mov r11, rdx
movzx r8d, byte [rdx]
cmp r8b, 0x30
jge 0x140024bc0
jmp 0x140024c60
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024c60
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x140024c60
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
mov r8, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140024c30
mov ebp, esi
cmp byte [rdx], 0x2e
jne 0x140024d8b
lea r9, [rdx + 1]
mov qword [rsp + 0x28], r9
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140024dc4
mov rdx, r9
test r14b, r14b
jne 0x140024d1a
cmp byte [rsp + 0x98], sil
jne 0x140024c9c
mov r10d, edi
mov rcx, r9
mov r8, r9
movzx eax, byte [r9]
movabs r11, 0x1fffffffffffff
cmp al, 0x39
jg 0x140024ced
mov rdx, r8
cmp r10, r11
ja 0x140024ced
lea r9, [rcx + 1]
mov rdx, r9
mov qword [rsp + 0x28], r9
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
dec ebp
test r10, r10
je 0x140024cdf
inc ebx
movzx eax, byte [r9]
mov rcx, r9
mov r8, rdx
cmp al, 0x30
jge 0x140024cb0
xorps xmm1, xmm1
test r10, r10
js 0x140024cfc
cvtsi2sd xmm1, r10
jmp 0x140024d14
mov rcx, r10
shr rcx, 1
mov rax, r10
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024d8b
mov rax, rdx
mov r11, rdx
mov r8, rdx
movzx ecx, byte [r9]
nop dword [rax]
mov rdx, r8
cmp cl, 0x39
jg 0x140024d8b
cmp ebx, 0x11
jge 0x140024d6e
lea rdx, [rax + 1]
mov rcx, rdx
mov qword [rsp + 0x28], rdx
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec ebp
comisd xmm0, xmm3
jbe 0x140024d7a
inc ebx
jmp 0x140024d7a
lea rdx, [r11 + 1]
mov rcx, rdx
mov qword [rsp + 0x28], rdx
mov rax, rdx
movzx ecx, byte [rcx]
mov r11, rdx
mov r8, rdx
cmp cl, 0x30
jge 0x140024d30
cmp byte [rdx], 0x65
je 0x140024d99
cmp byte [rdx], 0x45
jne 0x140024ea4
inc rdx
mov qword [rsp + 0x28], rdx
test r14b, r14b
jne 0x140024de6
cmp byte [rsp + 0x98], sil
mov rcx, r10
jne 0x140024db5
mov ecx, edi
xorps xmm1, xmm1
test rcx, rcx
js 0x140024dce
cvtsi2sd xmm1, rcx
jmp 0x140024de3
mov ecx, 0xe
jmp 0x140024fc1
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r14b, 1
xor r11b, r11b
movzx ecx, byte [rdx]
cmp cl, 0x2b
je 0x140024df9
cmp cl, 0x2d
jne 0x140024e04
mov r11b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rsp + 0x28], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140024f2e
lea r8, [rdx + 1]
mov qword [rsp + 0x28], r8
movsx esi, cl
sub esi, 0x30
movzx r9d, byte [r8]
test r11b, r11b
je 0x140024edc
lea ecx, [rbp + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r11d, edx
sar r11d, 2
mov eax, r11d
shr eax, 0x1f
add r11d, eax
cmp r9b, 0x30
jl 0x140024ea2
movzx eax, r9b
cmp al, 0x39
jg 0x140024ea2
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rsi + rsi*4]
movsx eax, byte [r8]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
mov r8, rdx
cmp esi, r11d
jle 0x140024e9b
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140024e9b
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140024e96
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140024e80
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140024e52
neg esi
test r14b, r14b
je 0x140024f60
lea edx, [rsi + rbp]
movaps xmm0, xmm1
call fcn.1400216c0
comisd xmm0, xmmword [0x140588290]
jbe 0x140024f42
mov dword [r13 + 0x30], 0xd
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x140024fd8
mov edx, 0x134
sub edx, ebp
cmp r9b, 0x30
jl 0x140024ea4
movzx eax, r9b
nop dword [rax]
cmp al, 0x39
jg 0x140024ea4
movsx eax, byte [r8]
inc r8
mov qword [rsp + 0x28], r8
lea esi, [rsi + rsi*4]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
cmp esi, edx
jg 0x140024f17
movzx eax, byte [r8]
cmp al, 0x30
jge 0x140024ef0
jmp 0x140024ea4
lea rax, [r13 + 0x30]
lea rdx, [rax + 8]
mov ecx, 0xd
mov r9, qword [rsp + 0x20]
jmp 0x140024fd3
sub rdx, r15
mov dword [r13 + 0x30], 0xf
mov qword [r13 + 0x38], rdx
jmp 0x140024fd8
test r12b, r12b
je 0x140024f4e
xorps xmm0, xmmword [0x140588620]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x90]
call fcn.140025170
jmp 0x140024fa5
mov rcx, qword [rsp + 0x90]
cmp byte [rsp + 0x98], 0
je 0x140024f8e
test r12b, r12b
je 0x140024f84
neg r10
mov rdx, r10
call fcn.140025260
jmp 0x140024fa5
mov rdx, r10
call fcn.1400251d0
jmp 0x140024fa5
test r12b, r12b
je 0x140024f9e
neg edi
mov edx, edi
call fcn.140025370
jmp 0x140024fa5
mov edx, edi
call fcn.140025310
test al, al
jne 0x140024fd8
mov dword [r13 + 0x30], 0x10
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x140024fd8
mov ecx, 3
lea rax, [r13 + 0x30]
mov edx, 8
mov r8, rax
sub r9, r15
add rdx, rax
mov dword [rax], ecx
mov qword [rdx], r9
movups xmm0, xmmword [rsp + 0x28]
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret