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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x14009b088]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r8, rdx
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rax, [0x1400820e8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 3
lea rax, str.kB_s
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 4
lea rax, str.MB_s
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 4
lea rax, str.GB_s
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 4
lea rax, str.TB_s
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 4
lea rax, str.PB_s
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 4
lea rax, str.EB_s
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 4
lea rax, str.ZB_s
mov qword [rbp], rax
mov qword [rbp + 8], 4
lea rax, str.YB_s
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 4
lea ecx, [r12 + 1]
mov ebx, r12d
mov rdi, rdx
cmp rdx, 0x44c
jb 0x14001e0d9
cmp ebx, 9
je 0x14001e0d9
inc ebx
imul rcx, rcx, 0x3e8
xor edx, edx
mov rax, r8
div rcx
mov rdi, rax
cmp rax, 0x44c
jae 0x14001e0b8
mov r14d, r12d
cmp rcx, 1
je 0x14001e12a
movabs r9, 0x624dd2f1a9fbe77
mov rax, r9
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
xor edx, edx
mov rax, r8
div rcx
mov r14, rax
mov rax, r9
mul r14
mov rax, r14
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x3e8
sub r14, rax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14001dcc0
nop
mov rdi, qword [rsp + 0x48]
test r14d, r14d
je 0x14001e264
test rdi, rdi
je 0x14001e15b
lea rax, [rdi - 1]
cmp rax, 3
jae 0x14001e264
jmp 0x14001e15e
mov rax, r12
mov esi, r12d
cmp rax, 1
sete sil
inc esi
test rdi, rdi
lea rax, [rdi - 1]
jne 0x14001e177
mov rax, r12
mov ecx, 0x64
mov r13d, 0xa
cmp rax, 1
cmove ecx, r13d
xor edx, edx
mov eax, r14d
div ecx
mov r14d, eax
test eax, eax
je 0x14001e264
lea rcx, [rsp + 0x58]
call fcn.14001dc40
mov rcx, qword [rsp + 0x48]
test rcx, rcx
lea rdx, [rcx - 1]
jne 0x14001e1b7
mov rdx, r12
mov ecx, esi
add rcx, rdx
mov rdx, qword [rsp + 0x60]
add rdx, 5
add rdx, rcx
cmp rdx, 0xffffffffffffffff
jne 0x14001e1d4
call fcn.140001580
int3
inc rdx
lea rcx, [rsp + 0x38]
call fcn.14000b160
lea rcx, [rsp + 0x58]
call fcn.14001dc40
movups xmm1, xmmword [rax]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x38]
call fcn.14000fb30
mov rdx, r14
mov r9d, esi
mov r8d, r13d
lea rcx, [rsp + 0x58]
call fcn.14000b480
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000f9a0
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14001e257
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001e257
add rcx, rcx
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.140024f38
mov rdi, qword [rsp + 0x48]
mov eax, ebx
shl rax, 4
lea rbx, [rbp - 0x70]
add rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
test rdi, rdi
je 0x14001e283
dec rdi
jmp 0x14001e286
mov rdi, r12
mov rdx, qword [rsp + 0x60]
inc rdx
add rdx, rdi
cmp rdx, 0xffffffffffffffff
jne 0x14001e29d
call fcn.140001580
int3
inc rdx
lea rcx, [rsp + 0x38]
call fcn.14000b160
mov r8d, 1
lea rdx, [0x140048dd8]
lea rcx, [rsp + 0x38]
call fcn.14000fb30
movups xmm1, xmmword [rbx]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm1
lea rcx, [rsp + 0x38]
call fcn.14000fb30
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140004160
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14001e329
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001e329
add rcx, rcx
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x40]
mov rcx, rdx
call fcn.140024f38
mov rax, r15
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140024b90
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret