Function at 0x1400249f0
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 0x140024a51
inc r9
mov qword [rsp + 0x28], r9
mov r12b, 1
jmp 0x140024a54
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 0x140024a7f
mov edi, esi
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140024b4a
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140024ffc
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea edi, [rcx - 0x30]
movzx eax, byte [rdx]
test r12b, r12b
je 0x140024af0
cmp al, 0x30
jl 0x140024b4a
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140024b4a
cmp edi, 0xccccccc
jb 0x140024ac9
jne 0x140024b3c
mov r8, rcx
cmp al, 0x38
ja 0x140024b3c
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 0x140024ab0
jmp 0x140024b4a
cmp al, 0x30
jl 0x140024b4a
mov r8, rdx
mov rcx, rdx
nop word [rax + rax]
cmp al, 0x39
jg 0x140024b4a
cmp edi, 0x19999999
jb 0x140024b15
jne 0x140024b3c
mov r8, rcx
cmp al, 0x35
jg 0x140024b3c
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 0x140024b00
jmp 0x140024b4a
mov r11b, 1
mov byte [rsp + 0x98], r11b
mov r10d, edi
xor r14b, r14b
movsd xmm2, qword [0x1405a6bf8]
test r11b, r11b
je 0x140024ca0
test r12b, r12b
je 0x140024bdd
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024ca0
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
nop
cmp cl, 0x39
ja 0x140024ca0
cmp r10, r11
jb 0x140024b98
jne 0x140024bc5
mov r8, r9
cmp cl, 0x38
ja 0x140024bc5
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 0x140024b80
jmp 0x140024ca0
mov rcx, r10
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140024c49
cvtsi2sd xmm1, rcx
jmp 0x140024c5e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140024ca0
mov r9, rdx
mov r11, rdx
movabs rbp, 0x1999999999999999
nop dword [rax + rax]
mov rcx, r10
cmp r8b, 0x39
ja 0x140024ca0
cmp r10, rbp
jb 0x140024c1d
jne 0x140024bc8
mov r9, r11
cmp r8b, 0x35
ja 0x140024bc8
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 0x140024c00
jmp 0x140024ca0
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 0x140024ca0
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x140024ca0
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 0x140024c70
mov ebp, esi
cmp byte [rdx], 0x2e
jne 0x140024dcb
lea r9, [rdx + 1]
mov qword [rsp + 0x28], r9
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140024e04
mov rdx, r9
test r14b, r14b
jne 0x140024d5a
cmp byte [rsp + 0x98], sil
jne 0x140024cdc
mov r10d, edi
mov rcx, r9
mov r8, r9
movzx eax, byte [r9]
movabs r11, 0x1fffffffffffff
cmp al, 0x39
jg 0x140024d2d
mov rdx, r8
cmp r10, r11
ja 0x140024d2d
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 0x140024d1f
inc ebx
movzx eax, byte [r9]
mov rcx, r9
mov r8, rdx
cmp al, 0x30
jge 0x140024cf0
xorps xmm1, xmm1
test r10, r10
js 0x140024d3c
cvtsi2sd xmm1, r10
jmp 0x140024d54
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 0x140024dcb
mov rax, rdx
mov r11, rdx
mov r8, rdx
movzx ecx, byte [r9]
nop dword [rax]
mov rdx, r8
cmp cl, 0x39
jg 0x140024dcb
cmp ebx, 0x11
jge 0x140024dae
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 0x140024dba
inc ebx
jmp 0x140024dba
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 0x140024d70
cmp byte [rdx], 0x65
je 0x140024dd9
cmp byte [rdx], 0x45
jne 0x140024ee4
inc rdx
mov qword [rsp + 0x28], rdx
test r14b, r14b
jne 0x140024e26
cmp byte [rsp + 0x98], sil
mov rcx, r10
jne 0x140024df5
mov ecx, edi
xorps xmm1, xmm1
test rcx, rcx
js 0x140024e0e
cvtsi2sd xmm1, rcx
jmp 0x140024e23
mov ecx, ntohs
jmp 0x140025001
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 0x140024e39
cmp cl, 0x2d
jne 0x140024e44
mov r11b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rsp + 0x28], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140024f6e
lea r8, [rdx + 1]
mov qword [rsp + 0x28], r8
movsx esi, cl
sub esi, 0x30
movzx r9d, byte [r8]
test r11b, r11b
je 0x140024f1c
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 0x140024ee2
movzx eax, r9b
cmp al, 0x39
jg 0x140024ee2
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 0x140024edb
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140024edb
mov rcx, rdx
nop
cmp al, 0x39
ja 0x140024ed6
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140024ec0
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140024e92
neg esi
test r14b, r14b
je 0x140024fa0
lea edx, [rsi + rbp]
movaps xmm0, xmm1
call fcn.140021940
comisd xmm0, xmmword [0x1405a6c78]
jbe 0x140024f82
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x140025018
mov edx, 0x134
sub edx, ebp
cmp r9b, 0x30
jl 0x140024ee4
movzx eax, r9b
nop dword [rax]
cmp al, 0x39
jg 0x140024ee4
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 0x140024f57
movzx eax, byte [r8]
cmp al, 0x30
jge 0x140024f30
jmp 0x140024ee4
lea rax, [r13 + 0x30]
lea rdx, [rax + 8]
mov ecx, reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
jmp 0x140025013
sub rdx, r15
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x140025018
test r12b, r12b
je 0x140024f8e
xorps xmm0, xmmword [0x1405a7160]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x90]
call fcn.1400251b0
jmp 0x140024fe5
mov rcx, qword [rsp + 0x90]
cmp byte [rsp + 0x98], 0
je 0x140024fce
test r12b, r12b
je 0x140024fc4
neg r10
mov rdx, r10
call fcn.1400252a0
jmp 0x140024fe5
mov rdx, r10
call fcn.140025210
jmp 0x140024fe5
test r12b, r12b
je 0x140024fde
neg edi
mov edx, edi
call fcn.1400253b0
jmp 0x140024fe5
mov edx, edi
call fcn.140025350
test al, al
jne 0x140025018
mov dword [r13 + 0x30], reloc.WS2_32.dll_recv
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x140025018
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