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

Disassembly:
mov rax, qword [rdx]
cmp byte [rax], 0x22
je 0x180036e5e
cmp byte [rax], 0x5b
je 0x180036e59
cmp byte [rax], 0x66
je 0x180036e54
cmp byte [rax], 0x6e
je 0x180036e4f
cmp byte [rax], 0x74
je 0x180036e4a
cmp byte [rax], 0x7b
jne fcn.180037d40
jmp 0x1800377ac
jmp 0x180036f98
jmp 0x180036ea8
jmp 0x180037088
jmp 0x180037ab0
xor r9d, r9d
jmp fcn.180037184
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 0x180036f2d
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x180036f16
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180036f16
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180036f16
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180039214
test al, al
jne 0x180036f0b
cmp dword [rdi + 0x30], 0
jne 0x180036f50
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 0x180036f73
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x180036f0b
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
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 0x18003701f
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x72
jne 0x180037008
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x180037008
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x180037008
inc rax
mov rcx, r8
mov qword [rdx], rax
mov dl, 1
call fcn.1800390f0
test al, al
jne 0x180036ffd
cmp dword [rdi + 0x30], 0
jne 0x180037042
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 0x180037065
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x180036ffd
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
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 0x18003711a
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x61
jne 0x180037103
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180037103
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x180037103
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x180037103
inc rax
mov rcx, r8
mov qword [rdx], rax
xor edx, edx
call fcn.1800390f0
test al, al
jne 0x1800370f8
cmp dword [rdi + 0x30], 0
jne 0x18003713d
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 0x180037160
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x1800370f8
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
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 0x180037a8b
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.1800387c4
test al, al
jne 0x180037814
cmp dword [rdi + 0x30], 0
jne 0x180037a22
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 0x180037849
movsx rax, byte [rcx]
bt r12, rax
jae 0x180037849
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003782b
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037801
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x18003787e
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800386a8
test al, al
jne 0x180037801
cmp dword [rdi + 0x30], 0
jne 0x180037a45
jmp 0x1800377ef
xor ebp, ebp
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x180037a12
mov r9b, 1
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180037184
cmp dword [rdi + 0x30], 0
jne 0x180037801
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800378d2
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800378d2
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800378b4
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037801
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x180037a02
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003791d
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003791d
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800378ff
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037801
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180036e20
cmp dword [rdi + 0x30], 0
jne 0x180037801
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003796e
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003796e
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180037950
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037801
mov rax, qword [rbx]
inc ebp
cmp byte [rax], 0x2c
jne 0x1800379ca
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800379b7
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800379b7
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180037999
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037801
jmp 0x180037880
cmp byte [rax], 0x7d
je 0x1800379df
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 6
jmp 0x1800377fd
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800386a8
test al, al
jne 0x180037801
cmp dword [rdi + 0x30], 0
jne 0x180037a68
jmp 0x1800377ef
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x1800377fd
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x1800377fd
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
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 0x180037cfa
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180038594
test al, al
jne 0x180037b27
cmp dword [rdi + 0x30], 0
jne 0x180037d1d
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 0x180037b5c
movsx rax, byte [rcx]
bt r12, rax
jae 0x180037b5c
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180037b3e
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037b0c
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x180037b91
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.180038478
test al, al
jne 0x180037b0c
cmp dword [rdi + 0x30], 0
jne 0x180037cb4
jmp 0x180037afa
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
xor ebp, ebp
call fcn.180036e20
cmp dword [rdi + 0x30], ebp
jne 0x180037b0c
movups xmm0, xmmword [rbx]
inc ebp
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180037bd7
movsx rax, byte [rcx]
bt r12, rax
jae 0x180037bd7
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180037bb9
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037b0c
mov rax, qword [rbx]
cmp byte [rax], 0x2c
jne 0x180037bf7
inc rax
mov cl, 1
mov qword [rbx], rax
jmp 0x180037bf9
xor cl, cl
test cl, cl
je 0x180037c53
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180037c28
movsx rax, byte [rcx]
bt r12, rax
jae 0x180037c28
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180037c0a
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180037b0c
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180036e20
cmp dword [rdi + 0x30], 0
je 0x180037baa
jmp 0x180037b0c
cmp byte [rax], 0x5d
jne 0x180037c7b
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.180038478
test al, al
jne 0x180037b0c
cmp dword [rdi + 0x30], 0
jne 0x180037cd7
jmp 0x180037afa
cmp dword [rdi + 0x30], 0
jne 0x180037c91
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 7
jmp 0x180037b08
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180015764
lea rdx, [0x18015f6c8]
lea rcx, [rsp + 0x20]
call fcn.1800a32f0
int3