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

Disassembly:
mov rax, qword [rdx]
cmp byte [rax], 0x22
je 0x1800337fe
cmp byte [rax], 0x5b
je 0x1800337f9
cmp byte [rax], 0x66
je 0x1800337f4
cmp byte [rax], 0x6e
je 0x1800337ef
cmp byte [rax], 0x74
je 0x1800337ea
cmp byte [rax], 0x7b
jne fcn.1800346dc
jmp 0x180034148
jmp 0x180033938
jmp 0x180033848
jmp 0x180033a28
jmp 0x18003444c
xor r9d, r9d
jmp fcn.180033b24
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x6e
jne 0x1800338cd
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x1800338b6
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x1800338b6
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x1800338b6
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180035be0
test al, al
jne 0x1800338ab
cmp dword [rdi + 0x30], 0
jne 0x1800338f0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x180033913
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x1800338ab
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x74
jne 0x1800339bf
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x72
jne 0x1800339a8
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x1800339a8
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x1800339a8
inc rax
mov rcx, r8
mov qword [rdx], rax
mov dl, 1
call fcn.180035abc
test al, al
jne 0x18003399d
cmp dword [rdi + 0x30], 0
jne 0x1800339e2
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x180033a05
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x18003399d
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x66
jne 0x180033aba
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x61
jne 0x180033aa3
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180033aa3
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x180033aa3
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x180033aa3
inc rax
mov rcx, r8
mov qword [rdx], rax
xor edx, edx
call fcn.180035abc
test al, al
jne 0x180033a98
cmp dword [rdi + 0x30], 0
jne 0x180033add
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x180033b00
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x180033a98
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [rdx]
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x7b
jne 0x180034427
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180035198
test al, al
jne 0x1800341b0
cmp dword [rdi + 0x30], 0
jne 0x1800343be
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
movups xmm0, xmmword [rbx]
movabs r12, 0x100002600
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800341e5
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800341e5
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800341c7
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x18003421a
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003507c
test al, al
jne 0x18003419d
cmp dword [rdi + 0x30], 0
jne 0x1800343e1
jmp 0x18003418b
xor ebp, ebp
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x1800343ae
mov r9b, 1
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180033b24
cmp dword [rdi + 0x30], 0
jne 0x18003419d
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003426e
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003426e
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034250
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x18003439e
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800342b9
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800342b9
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003429b
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1800337c0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003430a
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003430a
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800342ec
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
mov rax, qword [rbx]
inc ebp
cmp byte [rax], 0x2c
jne 0x180034366
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034353
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034353
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034335
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003419d
jmp 0x18003421c
cmp byte [rax], 0x7d
je 0x18003437b
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 6
jmp 0x180034199
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003507c
test al, al
jne 0x18003419d
cmp dword [rdi + 0x30], 0
jne 0x180034404
jmp 0x18003418b
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x180034199
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x180034199
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x40
mov rax, qword [rdx]
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp byte [rax], 0x5b
jne 0x180034696
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180034f68
test al, al
jne 0x1800344c3
cmp dword [rdi + 0x30], 0
jne 0x1800346b9
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
movups xmm0, xmmword [rbx]
movabs r12, 0x100002600
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800344f8
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800344f8
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800344da
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800344a8
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x18003452d
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.180034e4c
test al, al
jne 0x1800344a8
cmp dword [rdi + 0x30], 0
jne 0x180034650
jmp 0x180034496
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
xor ebp, ebp
call fcn.1800337c0
cmp dword [rdi + 0x30], ebp
jne 0x1800344a8
movups xmm0, xmmword [rbx]
inc ebp
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034573
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034573
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034555
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800344a8
mov rax, qword [rbx]
cmp byte [rax], 0x2c
jne 0x180034593
inc rax
mov cl, 1
mov qword [rbx], rax
jmp 0x180034595
xor cl, cl
test cl, cl
je 0x1800345ef
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800345c4
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800345c4
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800345a6
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800344a8
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1800337c0
cmp dword [rdi + 0x30], 0
je 0x180034546
jmp 0x1800344a8
cmp byte [rax], 0x5d
jne 0x180034617
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.180034e4c
test al, al
jne 0x1800344a8
cmp dword [rdi + 0x30], 0
jne 0x180034673
jmp 0x180034496
cmp dword [rdi + 0x30], 0
jne 0x18003462d
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 7
jmp 0x1800344a4
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.1800140f0
lea rdx, [0x180161030]
lea rcx, [rsp + 0x20]
call fcn.1800a6760
int3