Function at 0x1400411d0
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 rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov r9, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x48], xmm0
movsd xmm7, qword [rdx + 0x10]
movsd qword [rbp - 0x38], xmm7
mov qword [rbp - 0x30], rdx
movq rbx, xmm0
mov rax, rbx
mov r13, qword [rbp - 0x38]
sub rax, r13
mov qword [rbp - 0x50], rax
xorps xmm2, xmm2
xorps xmm6, xmm6
cmp byte [rbx], 0x2d
jne 0x14004123e
inc rbx
mov qword [rbp - 0x48], rbx
mov r11b, 1
jmp 0x140041241
xor r11b, r11b
mov byte [rbp - 0x58], r11b
xor r14d, r14d
mov edi, r14d
xor r15b, r15b
mov byte [rbp + 0x60], r15b
mov r10d, r14d
movsx ecx, byte [rbx]
cmp cl, 0x30
jne 0x14004126d
mov esi, r14d
lea rdx, [rbx + 1]
mov qword [rbp - 0x48], rdx
jmp 0x140041335
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140041990
lea rdx, [rbx + 1]
mov qword [rbp - 0x48], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r11b, r11b
je 0x1400412e0
cmp al, 0x30
jl 0x140041335
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140041335
cmp esi, 0xccccccc
jb 0x1400412b9
jne 0x14004132c
mov r8, rcx
cmp al, 0x38
ja 0x14004132c
lea rdx, [r8 + 1]
mov qword [rbp - 0x48], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r10d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x1400412a0
jmp 0x140041335
cmp al, 0x30
jl 0x140041335
mov r8, rdx
mov rcx, rdx
nop word [rax + rax]
cmp al, 0x39
jg 0x140041335
cmp esi, 0x19999999
jb 0x140041305
jne 0x14004132c
mov r8, rcx
cmp al, 0x35
jg 0x14004132c
lea rdx, [r8 + 1]
mov qword [rbp - 0x48], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r10d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x1400412f0
jmp 0x140041335
mov r15b, 1
mov byte [rbp + 0x60], r15b
mov edi, esi
xor r12b, r12b
movsd xmm1, qword [0x140163158]
test r15b, r15b
je 0x140041493
test r11b, r11b
je 0x1400413cd
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140041493
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
nop word [rax + rax]
cmp cl, 0x39
ja 0x14004148f
cmp rdi, r11
jb 0x140041388
jne 0x1400413b5
mov r8, r9
cmp cl, 0x38
ja 0x1400413b5
lea rdx, [r8 + 1]
mov qword [rbp - 0x48], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r10d
mov r8, rdx
mov r9, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140041370
jmp 0x14004148f
mov rcx, rdi
mov r12b, 1
xorps xmm6, xmm6
test rcx, rcx
js 0x140041439
cvtsi2sd xmm6, rcx
jmp 0x14004144e
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140041493
mov r9, rdx
mov r11, rdx
movabs rbx, 0x1999999999999999
nop dword [rax + rax]
mov rcx, rdi
cmp r8b, 0x39
ja 0x14004148f
cmp rdi, rbx
jb 0x14004140d
jne 0x1400413b8
mov r9, r11
cmp r8b, 0x35
ja 0x1400413b8
lea rdx, [r9 + 1]
mov qword [rbp - 0x48], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r10d
mov r9, rdx
mov r11, rdx
movzx r8d, byte [rdx]
cmp r8b, 0x30
jge 0x1400413f0
jmp 0x14004148f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x14004148f
mov r8, rdx
nop dword [rax]
cmp cl, 0x39
ja 0x14004148f
lea rdx, [r8 + 1]
mov qword [rbp - 0x48], rdx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm6, xmm1
addsd xmm6, xmm0
mov r8, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140041460
mov r9, qword [rbp + 0x48]
mov r15d, r14d
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x1400414a4
inc rdx
mov qword [rbp - 0x48], rdx
mov rbx, rdx
cmp al, 0x2e
jne 0x1400415f3
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400415c6
mov r8, rdx
movzx r11d, byte [rbp + 0x60]
test r12b, r12b
jne 0x140041550
test r11b, r11b
jne 0x1400414d5
mov edi, esi
mov rcx, rbx
movzx eax, byte [rdx]
movabs r9, 0x1fffffffffffff
cmp al, 0x39
jg 0x140041522
mov r8, rcx
cmp rdi, r9
ja 0x140041522
lea rdx, [rbx + 1]
mov r8, rdx
mov qword [rbp - 0x48], rdx
movsx ecx, byte [rbx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec r15d
test rdi, rdi
je 0x140041515
inc r10d
movzx eax, byte [rdx]
mov rbx, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x1400414e5
xorps xmm6, xmm6
test rdi, rdi
js 0x140041531
cvtsi2sd xmm6, rdi
jmp 0x140041549
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm6, rcx
addsd xmm6, xmm6
mov r12b, 1
movzx ecx, byte [r8]
mov rbx, r8
cmp cl, 0x30
jl 0x1400415f8
mov r9, r8
mov rcx, r8
movzx eax, byte [rdx]
mov rbx, rcx
cmp al, 0x39
jg 0x1400415f8
cmp r10d, 0x11
jge 0x1400415a9
lea rbx, [r8 + 1]
mov rcx, rbx
mov qword [rbp - 0x48], rbx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm6, xmm1
addsd xmm0, xmm6
movaps xmm6, xmm0
dec r15d
comisd xmm0, xmm2
jbe 0x1400415b4
inc r10d
jmp 0x1400415b4
lea rbx, [r9 + 1]
mov rcx, rbx
mov qword [rbp - 0x48], rbx
mov r8, rbx
movzx eax, byte [rcx]
mov r9, rbx
mov rcx, rbx
cmp al, 0x30
jge 0x140041565
jmp 0x1400415f8
lea rdi, [r9 + 0x30]
cmp dword [rdi], r14d
je 0x1400415e9
mov r8d, 0x627
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x1400419b8
movzx r11d, byte [rbp + 0x60]
cmp byte [rbx], 0x65
je 0x140041606
cmp byte [rbx], 0x45
jne 0x140041715
inc rbx
mov qword [rbp - 0x48], rbx
test r12b, r12b
jne 0x140041643
test r11b, r11b
mov rcx, rdi
jne 0x14004161c
mov ecx, esi
xorps xmm6, xmm6
test rcx, rcx
js 0x14004162b
cvtsi2sd xmm6, rcx
jmp 0x140041640
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mov r12b, 1
xor dl, dl
movzx ecx, byte [rbx]
cmp cl, 0x2b
je 0x140041654
cmp cl, 0x2d
jne 0x14004165e
mov dl, 1
inc rbx
movzx ecx, byte [rbx]
mov qword [rbp - 0x48], rbx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140041808
inc rbx
mov qword [rbp - 0x48], rbx
movsx r14d, cl
sub r14d, 0x30
test dl, dl
je 0x14004178b
test r15d, r15d
jle 0x14004169f
mov r8d, 0x667
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str.expFrac___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea ecx, [r15 + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
cmp byte [rbx], 0x30
jl 0x140041712
movzx eax, byte [rbx]
cmp al, 0x39
jg 0x140041712
lea rdx, [rbx + 1]
mov qword [rbp - 0x48], rdx
lea r14d, [r14 + r14*4]
movsx eax, byte [rbx]
lea r14d, [r14 - 0x18]
lea r14d, [rax + r14*2]
mov rbx, rdx
cmp r14d, r8d
jle 0x14004170b
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14004170b
mov rcx, rdx
cmp al, 0x39
ja 0x140041707
lea rbx, [rcx + 1]
mov rdx, rbx
movzx eax, byte [rbx]
mov rcx, rbx
cmp al, 0x30
jge 0x1400416f2
mov qword [rbp - 0x48], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x1400416c5
neg r14d
test r12b, r12b
je 0x140041873
lea eax, [r14 + r15]
cmp eax, 0xfffffecc
jge 0x140041731
divsd xmm6, qword [0x140163160]
lea edx, [rax + 0x134]
cmovge edx, eax
movaps xmm0, xmm6
call fcn.140042c40
movaps xmm6, xmm0
comisd xmm0, xmmword [0x1401351f8]
jbe 0x14004183f
mov rdi, qword [rbp + 0x48]
cmp dword [rdi + 0x30], 0
je 0x140041777
mov r8d, 0x6ab
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [rdi + 0x30], reloc.WS2_32.dll_listen
mov rbx, qword [rbp - 0x50]
mov qword [rdi + 0x38], rbx
jmp 0x1400419cb
mov edx, 0x134
sub edx, r15d
cmp byte [rbx], 0x30
jl 0x140041715
movzx eax, byte [rbx]
nop
cmp al, 0x39
jg 0x140041715
movsx eax, byte [rbx]
inc rbx
mov qword [rbp - 0x48], rbx
lea r14d, [r14 + r14*4]
lea r14d, [r14 - 0x18]
lea r14d, [rax + r14*2]
cmp r14d, edx
jg 0x1400417cf
movzx eax, byte [rbx]
cmp al, 0x30
jge 0x1400417a0
jmp 0x140041715
mov rdi, qword [rbp + 0x48]
add rdi, 0x30
cmp dword [rdi], 0
je 0x1400417f6
mov r8d, 0x677
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rcx, [rdi + 8]
mov eax, reloc.WS2_32.dll_listen
mov rbx, qword [rbp - 0x50]
jmp 0x1400419c6
mov rdi, qword [rbp + 0x48]
cmp dword [rdi + 0x30], r14d
je 0x14004182c
mov r8d, 0x67c
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub rbx, r13
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x38], rbx
jmp 0x1400419cb
cmp byte [rbp - 0x58], 0
je 0x14004184c
xorps xmm6, xmmword [0x140135220]
mov rcx, qword [rbp + 0x58]
add rcx, 0x20
mov edx, 1
call fcn.1400427b0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsd qword [rax], xmm6
mov word [rax + 0xe], 0x216
jmp 0x1400419cb
mov rcx, qword [rbp + 0x58]
add rcx, 0x20
mov edx, 1
cmp byte [rbp + 0x60], 0
je 0x140041939
cmp byte [rbp - 0x58], 0
je 0x1400418e3
neg rdi
call fcn.1400427b0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov word [rax + 0xe], __WSAFDIsSet
test rdi, rdi
js 0x1400418cb
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14004191f
mov ecx, 0x1d6
jmp 0x14004191b
cmp rdi, 0xffffffff80000000
jl 0x1400419cb
mov word [rax + 0xe], 0xb6
jmp 0x1400419cb
call fcn.1400427b0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov ecx, 0x116
mov word [rax + 0xe], cx
test rdi, rdi
js 0x140041908
mov ecx, 0x196
mov word [rax + 0xe], cx
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x14004191f
or cx, 0x40
mov word [rax + 0xe], cx
test rdi, 0xffffffff80000000
jne 0x1400419cb
or cx, 0x20
mov word [rax + 0xe], cx
jmp 0x1400419cb
cmp byte [rbp - 0x58], 0
je 0x140041968
neg esi
call fcn.1400427b0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movsxd rcx, esi
mov qword [rax], rcx
mov ecx, 0xb6
mov edx, 0x1f6
test esi, esi
cmovns cx, dx
mov word [rax + 0xe], cx
jmp 0x1400419cb
call fcn.1400427b0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov ecx, esi
mov qword [rax], rcx
shr esi, 0x1a
not si
and si, 0x20
mov ecx, 0x1d6
or si, cx
mov word [rax + 0xe], si
jmp 0x1400419cb
lea rdi, [r9 + 0x30]
cmp dword [rdi], r10d
je 0x1400419b3
mov r8d, 0x5fc
lea rdx, str.E:DownloadRAFA_PANEL_EXTERNoRAFA_PANEL_EXTERNoSIEMPRE_MEJRO_FAKE_LAG_ETCRAFAGAYPANELTECLARAFAGAYPANELTECLARAFAGAYPANELTECLAexamplesexample_win32_directx11DiscordSDK_src_rapidjson_reader.h
lea rcx, str._HasParseError__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, 3
mov ecx, 8
mov rdx, rdi
sub rbx, r13
add rcx, rdx
mov dword [rdi], eax
mov qword [rcx], rbx
movups xmm0, xmmword [rbp - 0x48]
mov rax, qword [rbp + 0x50]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm7
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret