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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
movaps xmmword [rax - 0x48], xmm6
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdx
movq r9, xmm0
mov rax, r9
psrldq xmm0, 8
movq r12, xmm0
sub rax, r12
mov qword [rbp - 0x30], rax
xorps xmm6, xmm6
xorps xmm1, xmm1
cmp byte [r9], 0x2d
jne 0x14001b554
inc r9
mov qword [rbp - 0x28], r9
mov r13b, 1
jmp 0x14001b557
xor r13b, r13b
xor r10d, r10d
xor bl, bl
mov byte [rbp + 0x58], bl
xor r15d, r15d
lea r11d, [r10 + 8]
cmp byte [r9], 0x30
jne 0x14001b57b
xor edi, edi
lea rdx, [r9 + 1]
mov qword [rbp - 0x28], rdx
jmp 0x14001b643
mov al, byte [r9]
sub al, 0x31
cmp al, r11b
ja 0x14001bba5
lea rdx, [r9 + 1]
mov qword [rbp - 0x28], rdx
movsx edi, byte [r9]
sub edi, 0x30
test r13b, r13b
je 0x14001b5f0
cmp byte [rdx], 0x30
jl 0x14001b643
mov r8, rdx
mov rcx, rdx
mov al, byte [rdx]
mov r9d, 0xccccccc
cmp al, 0x39
ja 0x14001b643
cmp edi, r9d
jb 0x14001b5ca
jne 0x14001b63b
mov r8, rcx
cmp al, 0x38
ja 0x14001b63b
lea rdx, [r8 + 1]
mov qword [rbp - 0x28], rdx
lea ecx, [rdi - 6]
lea ecx, [rdi + rcx*4]
movsx eax, byte [r8]
lea edi, [rax + rcx*2]
inc r15d
mov al, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x14001b5b4
jmp 0x14001b643
cmp byte [rdx], 0x30
jl 0x14001b643
mov r8, rdx
mov rcx, rdx
mov al, byte [rdx]
mov r9d, 0x19999999
cmp al, 0x39
jg 0x14001b643
cmp edi, r9d
jb 0x14001b615
jne 0x14001b63b
mov r8, rcx
cmp al, 0x35
jg 0x14001b63b
lea rdx, [r8 + 1]
mov qword [rbp - 0x28], rdx
lea ecx, [rdi - 6]
lea ecx, [rdi + rcx*4]
movsx eax, byte [r8]
lea edi, [rax + rcx*2]
inc r15d
mov al, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x14001b603
jmp 0x14001b643
mov bl, 1
mov byte [rbp + 0x58], bl
mov r10d, edi
xor r14b, r14b
movsd xmm2, qword [0x140124000]
test bl, bl
je 0x14001b768
mov al, byte [rdx]
test r13b, r13b
je 0x14001b6ca
cmp al, 0x30
jl 0x14001b768
mov rcx, rdx
mov r8, rdx
movabs r9, 0xccccccccccccccc
cmp al, 0x39
ja 0x14001b768
cmp r10, r9
jb 0x14001b68b
jne 0x14001b6b5
mov rcx, r8
cmp al, 0x38
ja 0x14001b6b5
lea rdx, [rcx + 1]
mov qword [rbp - 0x28], rdx
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
inc r15d
mov rcx, rdx
mov r8, rdx
mov al, byte [rdx]
cmp al, 0x30
jge 0x14001b675
jmp 0x14001b768
mov rcx, r10
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x14001b71f
cvtsi2sd xmm1, rcx
jmp 0x14001b734
cmp al, 0x30
jl 0x14001b768
mov r8, rdx
mov r9, rdx
movabs rbx, 0x1999999999999999
mov rcx, r10
cmp al, 0x39
ja 0x14001b768
cmp r10, rbx
jb 0x14001b6f7
jne 0x14001b6b8
mov r8, r9
cmp al, 0x35
ja 0x14001b6b8
lea rdx, [r8 + 1]
mov qword [rbp - 0x28], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
inc r15d
mov r8, rdx
mov r9, rdx
mov al, byte [rdx]
cmp al, 0x30
jge 0x14001b6e2
jmp 0x14001b768
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov al, byte [rdx]
cmp al, 0x30
jl 0x14001b768
mov rcx, rdx
cmp al, 0x39
ja 0x14001b768
lea rdx, [rcx + 1]
mov qword [rbp - 0x28], rdx
movsx eax, byte [rcx]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
mov rcx, rdx
mov al, byte [rdx]
cmp al, 0x30
jge 0x14001b73d
xor ebx, ebx
mov al, byte [rdx]
cmp al, 0x2e
jne 0x14001b777
inc rdx
mov qword [rbp - 0x28], rdx
mov r9, rdx
cmp al, 0x2e
jne 0x14001b884
mov cl, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14001b8bc
mov r8, rdx
test r14b, r14b
jne 0x14001b81b
cmp byte [rbp + 0x58], bl
jne 0x14001b7a3
mov r10d, edi
mov rcx, r9
mov al, byte [rdx]
cmp al, 0x39
jg 0x14001b7ee
mov r8, rcx
movabs rax, 0x1fffffffffffff
cmp r10, rax
ja 0x14001b7ee
lea rdx, [r9 + 1]
mov r8, rdx
mov qword [rbp - 0x28], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [r10 + r10*4]
lea r10, [rcx + rax*2]
dec ebx
test r10, r10
je 0x14001b7e2
inc r15d
mov al, byte [rdx]
mov r9, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x14001b7a8
xorps xmm1, xmm1
test r10, r10
js 0x14001b7fd
cvtsi2sd xmm1, r10
jmp 0x14001b815
mov rcx, r10
shr rcx, 1
mov rax, r10
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
mov cl, byte [r8]
mov r9, r8
cmp cl, 0x30
jl 0x14001b884
mov r11, r8
mov rcx, r8
mov al, byte [rdx]
mov r9, rcx
cmp al, 0x39
jg 0x14001b884
cmp r15d, 0x11
jge 0x14001b86a
lea r9, [r8 + 1]
mov rcx, r9
mov qword [rbp - 0x28], rcx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec ebx
comisd xmm0, xmm6
jbe 0x14001b875
inc r15d
jmp 0x14001b875
lea r9, [r11 + 1]
mov rcx, r9
mov qword [rbp - 0x28], rcx
mov r8, r9
mov al, byte [rcx]
mov r11, r9
mov rcx, r9
cmp al, 0x30
jge 0x14001b82b
xor r8d, r8d
cmp byte [r9], 0x65
je 0x14001b897
cmp byte [r9], 0x45
jne 0x14001b99c
inc r9
mov qword [rbp - 0x28], r9
test r14b, r14b
jne 0x14001b8e2
mov ecx, edi
cmp byte [rbp + 0x58], r8b
cmovne rcx, r10
xorps xmm1, xmm1
test rcx, rcx
js 0x14001b8ca
cvtsi2sd xmm1, rcx
jmp 0x14001b8df
lea rax, [rsi + 0x30]
mov ecx, select
jmp 0x14001bbae
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r14b, 1
xor dl, dl
cmp byte [r9], 0x2b
je 0x14001b8f2
cmp byte [r9], 0x2d
jne 0x14001b8f9
mov dl, 1
inc r9
mov qword [rbp - 0x28], r9
movsx ecx, byte [r9]
mov al, cl
mov r15d, 0x30
sub al, r15b
cmp al, 9
ja 0x14001ba58
inc r9
mov qword [rbp - 0x28], r9
mov r8d, ecx
sub r8d, r15d
test dl, dl
je 0x14001ba06
lea ecx, [rbx + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r11d, edx
sar r11d, 2
mov eax, r11d
shr eax, 0x1f
add r11d, eax
cmp byte [r9], r15b
jl 0x14001b999
mov al, byte [r9]
cmp al, 0x39
jg 0x14001b999
lea rdx, [r9 + 1]
mov qword [rbp - 0x28], rdx
lea r8d, [r8 + r8*4]
movsx eax, byte [r9]
lea r8d, [r8 - 0x18]
lea r8d, [rax + r8*2]
mov r9, rdx
cmp r8d, r11d
jle 0x14001b992
mov al, byte [rdx]
cmp al, r15b
jl 0x14001b992
mov rcx, rdx
cmp al, 0x39
ja 0x14001b98e
lea r9, [rcx + 1]
mov rdx, r9
mov al, byte [r9]
mov rcx, r9
cmp al, r15b
jge 0x14001b978
mov qword [rbp - 0x28], rdx
mov al, byte [rdx]
cmp al, r15b
jge 0x14001b94a
neg r8d
test r14b, r14b
je 0x14001bad5
lea ecx, [r8 + rbx]
mov edx, 0xfffffecc
cmp ecx, edx
jge 0x14001ba64
divsd xmm1, qword [0x140124008]
lea eax, [rcx + 0x134]
cmp eax, edx
jl 0x14001b9e4
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x140123130]
sub rcx, rax
movaps xmm6, xmm1
divsd xmm6, qword [rcx]
comisd xmm6, xmmword [0x140124010]
jbe 0x14001ba88
mov dword [rsi + 0x30], reloc.WS2_32.dll_listen
mov r9, qword [rbp - 0x30]
mov qword [rsi + 0x38], r9
jmp 0x14001bbbc
mov edx, 0x134
sub edx, ebx
cmp byte [r9], r15b
jl 0x14001b99c
mov al, byte [r9]
cmp al, 0x39
jg 0x14001b99c
movsx eax, byte [r9]
inc r9
mov qword [rbp - 0x28], r9
lea r8d, [r8 + r8*4]
lea r8d, [r8 - 0x18]
lea r8d, [rax + r8*2]
cmp r8d, edx
jg 0x14001ba42
mov al, byte [r9]
cmp al, r15b
jge 0x14001ba15
jmp 0x14001b99c
lea rax, [rsi + 0x30]
lea rdx, [rax + 8]
mov ecx, reloc.WS2_32.dll_listen
mov r9, qword [rbp - 0x30]
jmp 0x14001bbb7
sub r9, r12
mov dword [rsi + 0x30], reloc.WS2_32.dll_ntohs
jmp 0x14001b9fd
movsxd rax, ecx
shl rax, 3
test ecx, ecx
js 0x14001b9d3
lea rcx, [0x140123130]
movsd xmm6, qword [rax + rcx]
mulsd xmm6, xmm1
jmp 0x14001b9e4
test r13b, r13b
je 0x14001ba94
xorps xmm6, xmmword [0x140122260]
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx + 0x40]
sub rax, qword [rbx + 0x38]
cmp rax, 0x10
jge 0x14001bab4
mov edx, 1
lea rcx, [rbx + 0x20]
call fcn.14001b03c
mov rcx, qword [rbx + 0x38]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsd qword [rcx], xmm6
mov word [rcx + 0xe], 0x216
jmp 0x14001bbbc
cmp byte [rbp + 0x58], 0
je 0x14001bb0d
mov rcx, qword [rbp + 0x50]
test r13b, r13b
je 0x14001baf1
neg r10
mov rdx, r10
call fcn.14001cebc
jmp 0x14001baf9
mov rdx, r10
call fcn.14001d3dc
test al, al
jne 0x14001bbbc
mov dword [rsi + 0x30], shutdown
jmp 0x14001b9f9
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx + 0x40]
sub rax, qword [rbx + 0x38]
test r13b, r13b
je 0x14001bb62
neg edi
cmp rax, 0x10
jge 0x14001bb34
mov edx, 1
lea rcx, [rbx + 0x20]
call fcn.14001b03c
mov rcx, qword [rbx + 0x38]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsxd rax, edi
mov qword [rcx], rax
mov eax, 0xb6
mov edx, 0x1f6
test edi, edi
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x14001bbbc
cmp rax, 0x10
jge 0x14001bb76
mov edx, 1
lea rcx, [rbx + 0x20]
call fcn.14001b03c
mov rcx, qword [rbx + 0x38]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov eax, edi
mov qword [rcx], rax
shr edi, 0x1a
not di
and di, 0x20
mov eax, 0x1d6
or di, ax
mov word [rcx + 0xe], di
jmp 0x14001bbbc
lea rax, [rcx + 0x30]
mov ecx, 3
mov rdx, rax
sub r9, r12
add rdx, r11
mov dword [rax], ecx
mov qword [rdx], r9
movups xmm0, xmmword [rbp - 0x28]
mov rax, qword [rbp + 0x48]
movdqu xmmword [rax], xmm0
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret