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

Disassembly:
mov rax, qword [rdx]
cmp byte [rax], 0x22
je 0x18003e65e
cmp byte [rax], 0x5b
je 0x18003e659
cmp byte [rax], 0x66
je 0x18003e654
cmp byte [rax], 0x6e
je 0x18003e64f
cmp byte [rax], 0x74
je 0x18003e64a
cmp byte [rax], 0x7b
jne fcn.18003f53c
jmp 0x18003efa8
jmp 0x18003e798
jmp 0x18003e6a8
jmp 0x18003e888
jmp 0x18003f2ac
xor r9d, r9d
jmp fcn.18003e984
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 0x18003e72d
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x18003e716
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x18003e716
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x18003e716
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.180040a40
test al, al
jne 0x18003e70b
cmp dword [rdi + 0x30], 0
jne 0x18003e750
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x18003e773
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x18003e70b
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
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 0x18003e81f
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x72
jne 0x18003e808
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x75
jne 0x18003e808
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x18003e808
inc rax
mov rcx, r8
mov qword [rdx], rax
mov dl, 1
call fcn.18004091c
test al, al
jne 0x18003e7fd
cmp dword [rdi + 0x30], 0
jne 0x18003e842
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x18003e865
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x18003e7fd
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
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 0x18003e91a
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x61
jne 0x18003e903
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x6c
jne 0x18003e903
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x73
jne 0x18003e903
inc rax
mov qword [rdx], rax
cmp byte [rax], 0x65
jne 0x18003e903
inc rax
mov rcx, r8
mov qword [rdx], rax
xor edx, edx
call fcn.18004091c
test al, al
jne 0x18003e8f8
cmp dword [rdi + 0x30], 0
jne 0x18003e93d
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rcx + 0x30], 0
jne 0x18003e960
sub rax, qword [rdx + 8]
mov dword [rcx + 0x30], 3
mov qword [rcx + 0x38], rax
jmp 0x18003e8f8
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
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 0x18003f287
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.18003fff8
test al, al
jne 0x18003f010
cmp dword [rdi + 0x30], 0
jne 0x18003f21e
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
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 0x18003f045
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f045
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f027
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003effd
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x18003f07a
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003fedc
test al, al
jne 0x18003effd
cmp dword [rdi + 0x30], 0
jne 0x18003f241
jmp 0x18003efeb
xor ebp, ebp
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x18003f20e
mov r9b, 1
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.18003e984
cmp dword [rdi + 0x30], 0
jne 0x18003effd
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f0ce
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f0ce
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f0b0
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003effd
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x18003f1fe
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f119
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f119
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f0fb
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003effd
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.18003e620
cmp dword [rdi + 0x30], 0
jne 0x18003effd
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f16a
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f16a
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f14c
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003effd
mov rax, qword [rbx]
inc ebp
cmp byte [rax], 0x2c
jne 0x18003f1c6
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f1b3
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f1b3
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f195
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003effd
jmp 0x18003f07c
cmp byte [rax], 0x7d
je 0x18003f1db
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 6
jmp 0x18003eff9
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003fedc
test al, al
jne 0x18003effd
cmp dword [rdi + 0x30], 0
jne 0x18003f264
jmp 0x18003efeb
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x18003eff9
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x18003eff9
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
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 0x18003f4f6
inc rax
mov rcx, r8
mov qword [rdx], rax
call fcn.18003fdc8
test al, al
jne 0x18003f323
cmp dword [rdi + 0x30], 0
jne 0x18003f519
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], reloc.WS2_32.dll_recv
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 0x18003f358
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f358
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f33a
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003f308
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x18003f38d
inc rax
xor edx, edx
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003fcac
test al, al
jne 0x18003f308
cmp dword [rdi + 0x30], 0
jne 0x18003f4b0
jmp 0x18003f2f6
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
xor ebp, ebp
call fcn.18003e620
cmp dword [rdi + 0x30], ebp
jne 0x18003f308
movups xmm0, xmmword [rbx]
inc ebp
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f3d3
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f3d3
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f3b5
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003f308
mov rax, qword [rbx]
cmp byte [rax], 0x2c
jne 0x18003f3f3
inc rax
mov cl, 1
mov qword [rbx], rax
jmp 0x18003f3f5
xor cl, cl
test cl, cl
je 0x18003f44f
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
movq rcx, xmm0
cmp byte [rcx], 0x20
ja 0x18003f424
movsx rax, byte [rcx]
bt r12, rax
jae 0x18003f424
inc rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
jmp 0x18003f406
movdqu xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x18003f308
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.18003e620
cmp dword [rdi + 0x30], 0
je 0x18003f3a6
jmp 0x18003f308
cmp byte [rax], 0x5d
jne 0x18003f477
inc rax
mov edx, ebp
mov rcx, rsi
mov qword [rbx], rax
call fcn.18003fcac
test al, al
jne 0x18003f308
cmp dword [rdi + 0x30], 0
jne 0x18003f4d3
jmp 0x18003f2f6
cmp dword [rdi + 0x30], 0
jne 0x18003f48d
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 7
jmp 0x18003f304
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3
lea rdx, str.rapidjson_assert_fail
lea rcx, [rsp + 0x20]
call fcn.18001b500
lea rdx, [0x180185658]
lea rcx, [rsp + 0x20]
call fcn.1800c2cd0
int3