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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, rcx
lea rax, [0x14007fef8]
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], 7
mov word [rcx + 8], si
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], send
mov byte [rcx + 0x28], sil
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], send
mov byte [rcx + 0x48], sil
xor r12b, r12b
mov rdi, qword [rcx + 0x38]
cmp rdi, 0xb1
ja 0x14004bc8f
mov r14, qword [rcx + 0x40]
cmp r14, 0xb0
ja 0x14004bb78
mov ecx, 0xb1
sub rcx, rdi
movabs rbp, 0x7fffffffffffffff
mov rax, rbp
sub rax, rdi
cmp rax, rcx
jb 0x14004bcb5
mov rcx, r14
shr rcx, 1
mov rax, rbp
sub rax, rcx
cmp r14, rax
jbe 0x14004bad6
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.140011ab8
test rax, rax
je 0x14004bca9
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14004bb0f
lea rax, [rcx + r14]
mov ebp, 0xbf
cmp rax, rbp
cmova rbp, rax
lea rcx, [rbp + 1]
cmp rcx, 0x1000
jb 0x14004bb02
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004bcaf
jmp 0x14004bab7
test rcx, rcx
je 0x14004bb0f
call fcn.140011ab8
mov rsi, rax
mov qword [r15 + 0x38], 0xb1
mov qword [r15 + 0x40], rbp
lea r8, [rdi + 1]
mov rcx, rsi
cmp r14, 0x10
jb 0x14004bb67
mov rbp, qword [r15 + 0x28]
mov rdx, rbp
call fcn.140013b20
lea rdx, [r14 + 1]
cmp rdx, 0x1000
jb 0x14004bb5d
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x14004bca9
mov rbp, rcx
mov rcx, rbp
call fcn.140011ab0
jmp 0x14004bb70
lea rdx, [r15 + 0x28]
call fcn.140013b20
mov qword [r15 + 0x28], rsi
mov qword [r15 + 0x38], rdi
cmp rdi, 0xb1
jae 0x14004bc8f
mov esi, 0x57
nop word [rax + rax]
call fcn.1400183bc
mov r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
shl ecx, 2
sub r8d, ecx
mov ecx, gethostbyname
cmp r8d, 9
cmova ecx, esi
add cl, r8b
lea edx, [rcx - 0x30]
test rdi, rdi
jne 0x14004bbd5
cmp dl, 9
jbe 0x14004bc7e
jmp 0x14004bbee
lea rax, [r15 + 0x28]
cmp qword [r15 + 0x40], 0x10
jb 0x14004bbe4
mov rax, qword [r15 + 0x28]
cmp byte [rdi + rax - 1], cl
je 0x14004bc7e
test r12b, r12b
jne 0x14004bc2d
cmp dl, 9
ja 0x14004bbfd
mov r12b, 1
jmp 0x14004bc2d
cmp qword [r15 + 0x38], 0xb0
jne 0x14004bc2d
call fcn.1400183bc
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r8d, ecx
lea ecx, [r8 + 0x30]
mov rdx, qword [r15 + 0x38]
mov r8, qword [r15 + 0x40]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x14004bc69
lea rax, [rdx + 1]
mov qword [r15 + 0x38], rax
lea r9, [r15 + 0x28]
cmp r8, 0x10
jb 0x14004bc57
mov r9, qword [r15 + 0x28]
movsx eax, cl
movzx eax, al
mov byte [r9 + rdx], al
mov byte [r9 + rdx + 1], 0
jmp 0x14004bc7e
mov byte [rsp + 0x20], cl
mov edx, 1
mov r9d, edx
lea rcx, [r15 + 0x28]
call fcn.1400082b0
mov rdi, qword [r15 + 0x38]
cmp rdi, 0xb1
jb 0x14004bb90
mov rax, r15
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14001828c
nop
call fcn.140001814
int3
call fcn.14000235c
int3