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

Disassembly:
mov rax, qword [rdx]
cmp byte [rax], 0x22
je 0x180033f5e
cmp byte [rax], 0x5b
je 0x180033f59
cmp byte [rax], 0x66
je 0x180033f54
cmp byte [rax], 0x6e
je 0x180033f4f
cmp byte [rax], 0x74
je 0x180033f4a
cmp byte [rax], 0x7b
jne fcn.180034e3c
jmp 0x1800348a8
jmp 0x180034098
jmp 0x180033fa8
jmp 0x180034188
jmp 0x180034bac
xor r9d, r9d
jmp fcn.180034284
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 0x18003402d
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x180034016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180034016
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180034016
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180036340
test al, al
jne 0x18003400b
cmp dword [rdi + 0x30], 0
jne 0x180034050
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 0x180034073
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x18003400b
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
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 0x18003411f
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x72
jne 0x180034108
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x180034108
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x180034108
inc rax
mov rcx, r8
mov qword [rdx], rax
mov dl, 1
call fcn.18003621c
test al, al
jne 0x1800340fd
cmp dword [rdi + 0x30], 0
jne 0x180034142
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 0x180034165
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x1800340fd
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
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 0x18003421a
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x61
jne 0x180034203
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x180034203
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x180034203
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x180034203
inc rax
mov rcx, r8
mov qword [rdx], rax
xor edx, edx
call fcn.18003621c
test al, al
jne 0x1800341f8
cmp dword [rdi + 0x30], 0
jne 0x18003423d
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 0x180034260
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x1800341f8
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
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 0x180034b87
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.1800358f8
test al, al
jne 0x180034910
cmp dword [rdi + 0x30], 0
jne 0x180034b1e
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 0x180034945
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034945
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034927
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x18003497a
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800357dc
test al, al
jne 0x1800348fd
cmp dword [rdi + 0x30], 0
jne 0x180034b41
jmp 0x1800348eb
xor ebp, ebp
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x180034b0e
mov r9b, 1
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180034284
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x1800349ce
movsx rax, byte [rcx]
bt r12, rax
jae 0x1800349ce
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800349b0
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x180034afe
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034a19
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034a19
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x1800349fb
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180033f20
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034a6a
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034a6a
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034a4c
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
mov rax, qword [rbx]
inc ebp
cmp byte [rax], 0x2c
jne 0x180034ac6
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034ab3
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034ab3
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034a95
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1800348fd
jmp 0x18003497c
cmp byte [rax], 0x7d
je 0x180034adb
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 6
jmp 0x1800348f9
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800357dc
test al, al
jne 0x1800348fd
cmp dword [rdi + 0x30], 0
jne 0x180034b64
jmp 0x1800348eb
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x1800348f9
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x1800348f9
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
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 0x180034df6
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.1800356c8
test al, al
jne 0x180034c23
cmp dword [rdi + 0x30], 0
jne 0x180034e19
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 0x180034c58
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034c58
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034c3a
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180034c08
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x180034c8d
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800355ac
test al, al
jne 0x180034c08
cmp dword [rdi + 0x30], 0
jne 0x180034db0
jmp 0x180034bf6
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
xor ebp, ebp
call fcn.180033f20
cmp dword [rdi + 0x30], ebp
jne 0x180034c08
movups xmm0, xmmword [rbx]
inc ebp
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034cd3
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034cd3
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034cb5
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180034c08
mov rax, qword [rbx]
cmp byte [rax], 0x2c
jne 0x180034cf3
inc rax
mov cl, 1
mov qword [rbx], rax
jmp 0x180034cf5
xor cl, cl
test cl, cl
je 0x180034d4f
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x180034d24
movsx rax, byte [rcx]
bt r12, rax
jae 0x180034d24
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x180034d06
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x180034c08
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180033f20
cmp dword [rdi + 0x30], 0
je 0x180034ca6
jmp 0x180034c08
cmp byte [rax], 0x5d
jne 0x180034d77
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.1800355ac
test al, al
jne 0x180034c08
cmp dword [rdi + 0x30], 0
jne 0x180034dd3
jmp 0x180034bf6
cmp dword [rdi + 0x30], 0
jne 0x180034d8d
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 7
jmp 0x180034c04
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3