Function at 0x140023db0
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 0x140023e11
inc r9
mov qword [rsp + 0x28], r9
mov r12b, 1
jmp 0x140023e14
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 0x140023e3f
mov edi, esi
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140023f0a
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400243bc
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea edi, [rcx - 0x30]
movzx eax, byte [rdx]
test r12b, r12b
je 0x140023eb0
cmp al, 0x30
jl 0x140023f0a
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140023f0a
cmp edi, 0xccccccc
jb 0x140023e89
jne 0x140023efc
mov r8, rcx
cmp al, 0x38
ja 0x140023efc
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 0x140023e70
jmp 0x140023f0a
cmp al, 0x30
jl 0x140023f0a
mov r8, rdx
mov rcx, rdx
nop word [rax + rax]
cmp al, 0x39
jg 0x140023f0a
cmp edi, 0x19999999
jb 0x140023ed5
jne 0x140023efc
mov r8, rcx
cmp al, 0x35
jg 0x140023efc
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 0x140023ec0
jmp 0x140023f0a
mov r11b, 1
mov byte [rsp + 0x98], r11b
mov r10d, edi
xor r14b, r14b
movsd xmm2, qword [0x14043c950]
test r11b, r11b
je 0x140024060
test r12b, r12b
je 0x140023f9d
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024060
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
nop
cmp cl, 0x39
ja 0x140024060
cmp r10, r11
jb 0x140023f58
jne 0x140023f85
mov r8, r9
cmp cl, 0x38
ja 0x140023f85
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 0x140023f40
jmp 0x140024060
mov rcx, r10
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140024009
cvtsi2sd xmm1, rcx
jmp 0x14002401e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140024060
mov r9, rdx
mov r11, rdx
movabs rbp, 0x1999999999999999
nop dword [rax + rax]
mov rcx, r10
cmp r8b, 0x39
ja 0x140024060
cmp r10, rbp
jb 0x140023fdd
jne 0x140023f88
mov r9, r11
cmp r8b, 0x35
ja 0x140023f88
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 0x140023fc0
jmp 0x140024060
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 0x140024060
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x140024060
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 0x140024030
mov ebp, esi
cmp byte [rdx], 0x2e
jne 0x14002418b
lea r9, [rdx + 1]
mov qword [rsp + 0x28], r9
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400241c4
mov rdx, r9
test r14b, r14b
jne 0x14002411a
cmp byte [rsp + 0x98], sil
jne 0x14002409c
mov r10d, edi
mov rcx, r9
mov r8, r9
movzx eax, byte [r9]
movabs r11, 0x1fffffffffffff
cmp al, 0x39
jg 0x1400240ed
mov rdx, r8
cmp r10, r11
ja 0x1400240ed
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 0x1400240df
inc ebx
movzx eax, byte [r9]
mov rcx, r9
mov r8, rdx
cmp al, 0x30
jge 0x1400240b0
xorps xmm1, xmm1
test r10, r10
js 0x1400240fc
cvtsi2sd xmm1, r10
jmp 0x140024114
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 0x14002418b
mov rax, rdx
mov r11, rdx
mov r8, rdx
movzx ecx, byte [r9]
nop dword [rax]
mov rdx, r8
cmp cl, 0x39
jg 0x14002418b
cmp ebx, 0x11
jge 0x14002416e
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 0x14002417a
inc ebx
jmp 0x14002417a
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 0x140024130
cmp byte [rdx], 0x65
je 0x140024199
cmp byte [rdx], 0x45
jne 0x1400242a4
inc rdx
mov qword [rsp + 0x28], rdx
test r14b, r14b
jne 0x1400241e6
cmp byte [rsp + 0x98], sil
mov rcx, r10
jne 0x1400241b5
mov ecx, edi
xorps xmm1, xmm1
test rcx, rcx
js 0x1400241ce
cvtsi2sd xmm1, rcx
jmp 0x1400241e3
mov ecx, recv
jmp 0x1400243c1
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 0x1400241f9
cmp cl, 0x2d
jne 0x140024204
mov r11b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rsp + 0x28], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002432e
lea r8, [rdx + 1]
mov qword [rsp + 0x28], r8
movsx esi, cl
sub esi, 0x30
movzx r9d, byte [r8]
test r11b, r11b
je 0x1400242dc
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 0x1400242a2
movzx eax, r9b
cmp al, 0x39
jg 0x1400242a2
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 0x14002429b
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14002429b
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140024296
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140024280
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140024252
neg esi
test r14b, r14b
je 0x140024360
lea edx, [rsi + rbp]
movaps xmm0, xmm1
call fcn.140020ac0
comisd xmm0, xmmword [0x14043c9c8]
jbe 0x140024342
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x1400243d8
mov edx, 0x134
sub edx, ebp
cmp r9b, 0x30
jl 0x1400242a4
movzx eax, r9b
nop dword [rax]
cmp al, 0x39
jg 0x1400242a4
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 0x140024317
movzx eax, byte [r8]
cmp al, 0x30
jge 0x1400242f0
jmp 0x1400242a4
lea rax, [r13 + 0x30]
lea rdx, [rax + 8]
mov ecx, reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
jmp 0x1400243d3
sub rdx, r15
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x1400243d8
test r12b, r12b
je 0x14002434e
xorps xmm0, xmmword [0x14043cd40]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x90]
call fcn.140024570
jmp 0x1400243a5
mov rcx, qword [rsp + 0x90]
cmp byte [rsp + 0x98], 0
je 0x14002438e
test r12b, r12b
je 0x140024384
neg r10
mov rdx, r10
call fcn.140024660
jmp 0x1400243a5
mov rdx, r10
call fcn.1400245d0
jmp 0x1400243a5
test r12b, r12b
je 0x14002439e
neg edi
mov edx, edi
call fcn.140024770
jmp 0x1400243a5
mov edx, edi
call fcn.140024710
test al, al
jne 0x1400243d8
mov dword [r13 + 0x30], reloc.WS2_32.dll_recv
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x1400243d8
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