Function at 0x140024bd0
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 0x140024c31
inc r9
mov qword [rsp + 0x28], r9
mov r12b, 1
jmp 0x140024c34
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 0x140024c5f
mov edi, esi
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140024d2a
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400251dc
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea edi, [rcx - 0x30]
movzx eax, byte [rdx]
test r12b, r12b
je 0x140024cd0
cmp al, 0x30
jl 0x140024d2a
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140024d2a
cmp edi, 0xccccccc
jb 0x140024ca9
jne 0x140024d1c
mov r8, rcx
cmp al, 0x38
ja 0x140024d1c
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 0x140024c90
jmp 0x140024d2a
cmp al, 0x30
jl 0x140024d2a
mov r8, rdx
mov rcx, rdx
nop word [rax + rax]
cmp al, 0x39
jg 0x140024d2a
cmp edi, 0x19999999
jb 0x140024cf5
jne 0x140024d1c
mov r8, rcx
cmp al, 0x35
jg 0x140024d1c
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 0x140024ce0
jmp 0x140024d2a
mov r11b, 1
mov byte [rsp + 0x98], r11b
mov r10d, edi
xor r14b, r14b
movsd xmm2, qword [0x1404dd218]
test r11b, r11b
je 0x140024e80
test r12b, r12b
je 0x140024dbd
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140024e80
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
nop
cmp cl, 0x39
ja 0x140024e80
cmp r10, r11
jb 0x140024d78
jne 0x140024da5
mov r8, r9
cmp cl, 0x38
ja 0x140024da5
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 0x140024d60
jmp 0x140024e80
mov rcx, r10
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140024e29
cvtsi2sd xmm1, rcx
jmp 0x140024e3e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140024e80
mov r9, rdx
mov r11, rdx
movabs rbp, 0x1999999999999999
nop dword [rax + rax]
mov rcx, r10
cmp r8b, 0x39
ja 0x140024e80
cmp r10, rbp
jb 0x140024dfd
jne 0x140024da8
mov r9, r11
cmp r8b, 0x35
ja 0x140024da8
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 0x140024de0
jmp 0x140024e80
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 0x140024e80
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x140024e80
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 0x140024e50
mov ebp, esi
cmp byte [rdx], 0x2e
jne 0x140024fab
lea r9, [rdx + 1]
mov qword [rsp + 0x28], r9
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140024fe4
mov rdx, r9
test r14b, r14b
jne 0x140024f3a
cmp byte [rsp + 0x98], sil
jne 0x140024ebc
mov r10d, edi
mov rcx, r9
mov r8, r9
movzx eax, byte [r9]
movabs r11, 0x1fffffffffffff
cmp al, 0x39
jg 0x140024f0d
mov rdx, r8
cmp r10, r11
ja 0x140024f0d
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 0x140024eff
inc ebx
movzx eax, byte [r9]
mov rcx, r9
mov r8, rdx
cmp al, 0x30
jge 0x140024ed0
xorps xmm1, xmm1
test r10, r10
js 0x140024f1c
cvtsi2sd xmm1, r10
jmp 0x140024f34
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 0x140024fab
mov rax, rdx
mov r11, rdx
mov r8, rdx
movzx ecx, byte [r9]
nop dword [rax]
mov rdx, r8
cmp cl, 0x39
jg 0x140024fab
cmp ebx, 0x11
jge 0x140024f8e
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 0x140024f9a
inc ebx
jmp 0x140024f9a
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 0x140024f50
cmp byte [rdx], 0x65
je 0x140024fb9
cmp byte [rdx], 0x45
jne 0x1400250c4
inc rdx
mov qword [rsp + 0x28], rdx
test r14b, r14b
jne 0x140025006
cmp byte [rsp + 0x98], sil
mov rcx, r10
jne 0x140024fd5
mov ecx, edi
xorps xmm1, xmm1
test rcx, rcx
js 0x140024fee
cvtsi2sd xmm1, rcx
jmp 0x140025003
mov ecx, recv
jmp 0x1400251e1
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 0x140025019
cmp cl, 0x2d
jne 0x140025024
mov r11b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rsp + 0x28], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002514e
lea r8, [rdx + 1]
mov qword [rsp + 0x28], r8
movsx esi, cl
sub esi, 0x30
movzx r9d, byte [r8]
test r11b, r11b
je 0x1400250fc
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 0x1400250c2
movzx eax, r9b
cmp al, 0x39
jg 0x1400250c2
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 0x1400250bb
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400250bb
mov rcx, rdx
nop
cmp al, 0x39
ja 0x1400250b6
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x1400250a0
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140025072
neg esi
test r14b, r14b
je 0x140025180
lea edx, [rsi + rbp]
movaps xmm0, xmm1
call fcn.1400218e0
comisd xmm0, xmmword [0x1404dd298]
jbe 0x140025162
mov dword [r13 + 0x30], reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x1400251f8
mov edx, 0x134
sub edx, ebp
cmp r9b, 0x30
jl 0x1400250c4
movzx eax, r9b
nop dword [rax]
cmp al, 0x39
jg 0x1400250c4
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 0x140025137
movzx eax, byte [r8]
cmp al, 0x30
jge 0x140025110
jmp 0x1400250c4
lea rax, [r13 + 0x30]
lea rdx, [rax + 8]
mov ecx, reloc.WS2_32.dll_listen
mov r9, qword [rsp + 0x20]
jmp 0x1400251f3
sub rdx, r15
mov dword [r13 + 0x30], reloc.WS2_32.dll_ntohs
mov qword [r13 + 0x38], rdx
jmp 0x1400251f8
test r12b, r12b
je 0x14002516e
xorps xmm0, xmmword [0x1404dd780]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x90]
call fcn.140025390
jmp 0x1400251c5
mov rcx, qword [rsp + 0x90]
cmp byte [rsp + 0x98], 0
je 0x1400251ae
test r12b, r12b
je 0x1400251a4
neg r10
mov rdx, r10
call fcn.140025480
jmp 0x1400251c5
mov rdx, r10
call fcn.1400253f0
jmp 0x1400251c5
test r12b, r12b
je 0x1400251be
neg edi
mov edx, edi
call fcn.140025590
jmp 0x1400251c5
mov edx, edi
call fcn.140025530
test al, al
jne 0x1400251f8
mov dword [r13 + 0x30], reloc.WS2_32.dll_recv
mov r9, qword [rsp + 0x20]
mov qword [r13 + 0x38], r9
jmp 0x1400251f8
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