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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push r13
push r15
mov rbp, rsp
sub rsp, 0x78
movups xmm0, xmmword [rdx]
mov r10, rcx
xorps xmm2, xmm2
xorps xmm1, xmm1
movq r9, xmm0
movups xmmword [rbp - 0x40], xmm0
mov rax, r9
psrldq xmm0, 8
movq rdx, xmm0
sub rax, rdx
mov qword [rbp - 0x50], rdx
cmp byte [r9], 0x2d
mov qword [rbp - 0x48], rax
jne 0x14003bdeb
inc r9
mov r11b, 1
mov qword [rbp - 0x40], r9
jmp 0x14003bdee
xor r11b, r11b
movsx ecx, byte [r9]
xor r15d, r15d
movsd xmm3, qword [0x1400e2ea8]
xor r13b, r13b
mov qword [rsp + 0x70], rsi
mov ebx, r15d
mov qword [rsp + 0x68], rdi
mov r8d, r15d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov byte [rbp - 0x58], r11b
mov byte [rbp + 0x40], r13b
cmp cl, 0x30
jne 0x14003be3c
inc r9
mov r12d, r15d
mov qword [rbp - 0x40], r9
xor dil, dil
mov esi, r15d
jmp 0x14003bfc5
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x14003c5c4
lea rdx, [r9 + 1]
lea eax, [rcx - 0x30]
movzx ecx, byte [rdx]
test r11b, r11b
je 0x14003bea3
cmp cl, 0x30
jl 0x14003beef
mov r9, rdx
mov r10, rdx
cmp cl, 0x39
ja 0x14003beef
cmp eax, 0xccccccc
jb 0x14003be7f
jne 0x14003beea
mov r9, r10
cmp cl, 0x38
ja 0x14003beea
lea ecx, [rax + rax*4]
inc r8d
movsx eax, byte [r9]
lea rdx, [r9 + 1]
mov r9, rdx
mov r10, rdx
lea eax, [rax + rcx*2]
movzx ecx, byte [rdx]
add eax, 0xffffffd0
cmp cl, 0x30
jge 0x14003be65
jmp 0x14003beef
cmp cl, 0x30
jl 0x14003beef
mov r9, rdx
mov r10, rdx
nop
cmp cl, 0x39
ja 0x14003beef
cmp eax, 0x19999999
jb 0x14003bec6
jne 0x14003beea
mov r9, r10
cmp cl, 0x35
ja 0x14003beea
lea ecx, [rax + rax*4]
inc r8d
movsx eax, byte [r9]
lea rdx, [r9 + 1]
mov r9, rdx
mov r10, rdx
lea eax, [rax + rcx*2]
movzx ecx, byte [rdx]
add eax, 0xffffffd0
cmp cl, 0x30
jge 0x14003beb0
jmp 0x14003beef
mov r13b, 1
mov ebx, eax
xor dil, dil
mov qword [rbp - 0x40], rdx
mov byte [rbp + 0x40], r13b
mov r9, rdx
mov r12d, eax
test r13b, r13b
je 0x14003bf7a
movzx ecx, byte [rdx]
mov qword [rbp - 0x40], rdx
mov byte [rbp + 0x40], r13b
test r11b, r11b
je 0x14003c0c1
cmp cl, 0x30
jl 0x14003bf7a
mov r11, rdx
mov qword [rbp - 0x40], rdx
mov byte [rbp + 0x40], r13b
movabs r10, 0xccccccccccccccc
xor dil, dil
cmp cl, 0x39
ja 0x14003bf7a
cmp rbx, r10
jb 0x14003bf52
jne 0x14003c08c
mov rdx, r11
cmp cl, 0x38
ja 0x14003c08c
movsx ecx, byte [rdx]
lea r9, [rdx + 1]
sub ecx, 0x30
mov qword [rbp - 0x40], r9
lea rax, [rbx + rbx*4]
inc r8d
mov rdx, r9
mov r11, r9
lea rbx, [rcx + rax*2]
movzx ecx, byte [r9]
cmp cl, 0x30
jge 0x14003bf33
mov rsi, rbx
test dil, dil
je 0x14003bfbd
movzx eax, byte [r9]
cmp al, 0x30
jl 0x14003bfbd
mov rcx, r9
nop dword [rax]
cmp al, 0x39
ja 0x14003bfbd
movsx eax, byte [rcx]
lea r9, [rcx + 1]
sub eax, 0x30
mulsd xmm1, xmm3
mov qword [rbp - 0x40], r9
mov rcx, r9
movd xmm0, eax
movzx eax, byte [r9]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14003bf90
mov rdx, qword [rbp - 0x50]
mov r10, qword [rbp + 0x28]
cmp byte [r9], 0x2e
movzx r14d, r13b
mov r13d, r15d
mov r11d, r12d
movzx ecx, dil
jne 0x14003c1f9
movzx eax, byte [r9 + 1]
inc r9
mov qword [rbp - 0x40], r9
cmp al, 0x30
jl 0x14003c1ef
cmp al, 0x39
jg 0x14003c1ef
mov byte [rbp + 0x40], r14b
mov rdx, r9
mov r12d, r11d
test cl, cl
jne 0x14003c181
mov ebx, r11d
mov byte [rbp + 0x40], r14b
test r14b, r14b
mov rdi, r9
mov r10, r9
movzx ecx, al
cmovne rbx, rsi
movabs r11, 0x1fffffffffffff
nop dword [rax]
cmp cl, 0x39
jg 0x14003c076
mov rdx, r10
cmp rbx, r11
ja 0x14003c076
movsx ecx, byte [rdi]
lea r9, [rdi + 1]
sub ecx, 0x30
mov qword [rbp - 0x40], r9
lea rax, [rbx + rbx*4]
dec r13d
mov rdx, r9
mov rdi, r9
mov r10, r9
lea rbx, [rcx + rax*2]
movzx ecx, byte [r9]
test rbx, rbx
lea eax, [r8 + 1]
cmove eax, r8d
mov r8d, eax
cmp cl, 0x30
jge 0x14003c030
xorps xmm1, xmm1
test rbx, rbx
js 0x14003c163
cvtsi2sd xmm1, rbx
jmp 0x14003c17b
xorps xmm1, xmm1
test rbx, rbx
js 0x14003c0a1
cvtsi2sd xmm1, rbx
mov dil, 1
jmp 0x14003bf7a
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
mov dil, 1
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
jmp 0x14003bf7a
cmp cl, 0x30
jl 0x14003bf7a
mov r11, rdx
mov qword [rbp - 0x40], rdx
mov byte [rbp + 0x40], r13b
movabs r10, 0x1999999999999999
nop
xor dil, dil
mov rsi, rbx
cmp cl, 0x39
ja 0x14003bf7a
cmp rbx, r10
jb 0x14003c0fe
jne 0x14003c12e
mov rdx, r11
cmp cl, 0x35
ja 0x14003c12e
movsx ecx, byte [rdx]
lea r9, [rdx + 1]
sub ecx, 0x30
mov qword [rbp - 0x40], r9
lea rax, [rbx + rbx*4]
inc r8d
mov rdx, r9
mov r11, r9
lea rbx, [rcx + rax*2]
movzx ecx, byte [r9]
mov rsi, rbx
cmp cl, 0x30
jge 0x14003c0e0
jmp 0x14003bfbd
xorps xmm1, xmm1
test rbx, rbx
js 0x14003c143
cvtsi2sd xmm1, rbx
mov dil, 1
jmp 0x14003bf82
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
mov dil, 1
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
jmp 0x14003bf82
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movzx eax, byte [rdx]
mov dil, 1
cmp al, 0x30
jl 0x14003c1fc
movzx ecx, byte [r9]
mov rax, rdx
mov r11, rdx
mov r10, rdx
mov rdx, r10
cmp cl, 0x39
jg 0x14003c1fc
cmp r8d, 0x11
jge 0x14003c1d1
lea rdx, [rax + 1]
mulsd xmm1, xmm3
movsx eax, byte [rax]
dec r13d
sub eax, 0x30
movd xmm0, eax
lea eax, [r8 + 1]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
comisd xmm0, xmm2
movaps xmm1, xmm0
cmovbe eax, r8d
mov r8d, eax
jmp 0x14003c1d5
lea rdx, [r11 + 1]
mov rcx, rdx
mov qword [rbp - 0x40], rdx
movzx ecx, byte [rdx]
mov rax, rdx
mov r11, rdx
mov r10, rdx
cmp cl, 0x30
jge 0x14003c192
jmp 0x14003c1fc
mov ecx, reloc.WS2_32.dll_ntohl
jmp 0x14003c5c9
mov rdx, r9
cmp byte [rdx], 0x65
je 0x14003c20a
cmp byte [rdx], 0x45
jne 0x14003c369
movzx r11d, byte [rbp + 0x40]
inc rdx
mov qword [rbp - 0x40], rdx
test dil, dil
jne 0x14003c24f
test r11b, r11b
mov eax, r12d
mov rcx, rbx
xorps xmm1, xmm1
cmove rcx, rax
test rcx, rcx
js 0x14003c237
cvtsi2sd xmm1, rcx
jmp 0x14003c24c
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov dil, 1
movzx ecx, byte [rdx]
xor r10b, r10b
cmp cl, 0x2b
je 0x14003c262
cmp cl, 0x2d
jne 0x14003c26d
mov r10b, 1
movzx ecx, byte [rdx + 1]
inc rdx
mov qword [rbp - 0x40], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14003c351
movzx r9d, byte [rdx + 1]
lea r8, [rdx + 1]
movsx r15d, cl
sub r15d, 0x30
mov qword [rbp - 0x40], r8
test r10b, r10b
je 0x14003c30f
lea ecx, [r13 + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
cmp r9b, 0x30
jl 0x14003c30a
cmp r9b, 0x39
ja 0x14003c30a
movsx eax, byte [r8]
lea r15d, [r15 + r15*4]
lea rdx, [r8 + 1]
lea r15d, [r15 - 0x18]
mov qword [rbp - 0x40], rdx
mov r8, rdx
lea r15d, [rax + r15*2]
cmp r15d, r10d
jle 0x14003c300
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14003c300
mov rcx, rdx
cmp al, 0x39
ja 0x14003c2fc
movzx eax, byte [rcx + 1]
lea r8, [rcx + 1]
mov rdx, r8
mov rcx, r8
cmp al, 0x30
jge 0x14003c2e6
mov qword [rbp - 0x40], rdx
movzx r9d, byte [rdx]
cmp r9b, 0x30
jge 0x14003c2b6
neg r15d
jmp 0x14003c36e
mov r10d, 0x134
sub r10d, r13d
cmp r9b, 0x30
jl 0x14003c36e
nop
cmp r9b, 0x39
ja 0x14003c36e
movsx eax, byte [r8]
lea r15d, [r15 + r15*4]
lea r15d, [r15 - 0x18]
lea rdx, [r8 + 1]
mov qword [rbp - 0x40], rdx
lea r15d, [rax + r15*2]
cmp r15d, r10d
jg 0x14003c3be
cmp byte [rdx], 0x30
mov r8, rdx
jl 0x14003c36e
movzx r9d, byte [rdx]
jmp 0x14003c320
mov rax, qword [rbp + 0x28]
sub rdx, qword [rbp - 0x50]
mov dword [rax + 0x30], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x38], rdx
jmp 0x14003c5dc
movzx r11d, byte [rbp + 0x40]
test dil, dil
je 0x14003c42f
lea ecx, [r15 + r13]
cmp ecx, 0xfffffecc
jge 0x14003c3d6
mulsd xmm1, qword [0x1400e2ea0]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x14003c3f6
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400e2290]
movaps xmm2, xmm1
sub rcx, rax
divsd xmm2, qword [rcx]
comisd xmm2, xmmword [0x1400e2eb0]
jbe 0x14003c3f6
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x48]
mov dword [rax + 0x30], reloc.WS2_32.dll_listen
mov qword [rax + 0x38], rcx
jmp 0x14003c5dc
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x14003c3a3
lea rcx, [0x1400e2290]
movaps xmm2, xmm1
mulsd xmm2, qword [rax + rcx]
jmp 0x14003c3b4
cmp byte [rbp - 0x58], 0
je 0x14003c403
xorps xmm2, xmmword [0x1400e2ee0]
mov rcx, qword [rbp + 0x38]
movaps xmm1, xmm2
call fcn.14003cef0
test al, al
jne 0x14003c5dc
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x48]
mov dword [rax + 0x30], reloc.WS2_32.dll_recv
mov qword [rax + 0x38], rcx
jmp 0x14003c5dc
mov rdi, qword [rbp + 0x38]
add rdi, 0x20
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
test r11b, r11b
je 0x14003c531
cmp byte [rbp - 0x58], 0
je 0x14003c4c1
neg rbx
cmp rax, 0x10
jge 0x14003c464
mov edx, 1
mov rcx, rdi
call fcn.14003baa0
mov rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
mov eax, __WSAFDIsSet
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], ax
mov qword [rcx], rbx
test rbx, rbx
js 0x14003c4a6
movabs rdx, 0xffffffff00000000
mov eax, 0x196
mov word [rcx + 0xe], ax
test rdx, rbx
jne 0x14003c517
mov eax, 0x1d6
jmp 0x14003c513
cmp rbx, 0xffffffff80000000
jl 0x14003c5dc
mov eax, 0xb6
mov word [rcx + 0xe], ax
jmp 0x14003c5dc
cmp rax, 0x10
jge 0x14003c4d4
mov edx, 1
mov rcx, rdi
call fcn.14003baa0
mov rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
mov eax, 0x116
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], ax
mov qword [rcx], rbx
test rbx, rbx
js 0x14003c500
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x14003c517
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x14003c5dc
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x14003c5dc
cmp byte [rbp - 0x58], 0
je 0x14003c57c
neg r12d
cmp rax, 0x10
jge 0x14003c54d
mov edx, 1
mov rcx, rdi
call fcn.14003baa0
mov rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
test r12d, r12d
mov edx, 0x1f6
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
movsxd rax, r12d
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov eax, 0xb6
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x14003c5dc
cmp rax, 0x10
jge 0x14003c58f
mov edx, 1
mov rcx, rdi
call fcn.14003baa0
mov rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
mov eax, r12d
shr r12d, 0x1a
not r12w
movups xmmword [rcx], xmm0
mov qword [rcx], rax
and r12w, 0x20
mov eax, 0x1d6
or r12w, ax
mov word [rcx + 0xe], r12w
jmp 0x14003c5dc
mov ecx, 3
sub r9, rdx
mov eax, 0x30
mov rdx, r10
mov dword [rax + r10], ecx
mov qword [rdx + 0x38], r9
mov rax, qword [rbp + 0x30]
movups xmm0, xmmword [rbp - 0x40]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movups xmmword [rax], xmm0
add rsp, 0x78
pop r15
pop r13
pop rbx
pop rbp
ret