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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [r8]
lea r12, [rcx + 0xb08]
mov rsi, qword [rcx + 0x148]
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov r8, rax
mov qword [rsp + 0x60], rsi
mov rcx, rsi
mov edx, 0xa
mov r15, rsi
mov rdi, rax
mov r14, rax
call fcn.140145920
mov rcx, rax
test rax, rax
je 0x140132173
nop dword [rax]
nop dword [rax + rax]
lea r8, [rcx + 1]
sub rdi, rcx
lea rax, [rsi - 1]
mov rdx, r15
mov rsi, qword [rsp + 0xc0]
add rax, rdi
mov rcx, r12
mov qword [rsi], rax
mov qword [rbx + 0x148], r8
sub r8, r15
call fcn.1401144c0
test eax, eax
jne 0x140131c81
mov edi, dword [rbx + 0x144]
test edi, edi
jne 0x140131b34
mov rcx, r12
call fcn.140114550
mov r9, rax
call fcn.140114540
mov r8, rax
mov rcx, rbx
call fcn.140131240
cmp eax, 2
je 0x1401321f6
mov rcx, r12
call fcn.140114540
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140131df7
cmp cl, 0xd
je 0x140131df7
lea ecx, [rdi + 1]
mov r15d, 2
mov dword [rbx + 0x144], ecx
test edi, edi
jne 0x140131d54
mov rax, qword [rbp + 0x200]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x140131ced
xor eax, eax
lea rdi, [rbx + 0x158]
mov dword [rsp + 0x44], eax
lea r9, [rsp + 0x44]
mov byte [rsp + 0xb0], al
lea r8, [rsp + 0x48]
lea rax, [rsp + 0xb0]
mov rcx, r14
mov qword [rsp + 0x30], rax
lea rdx, str._HTTP__1d._1d_c_3d_c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14011ffa0
mov esi, eax
cmp eax, 1
jne 0x140131c06
cmp dword [rsp + 0x48], r15d
jl 0x140131c06
mov r9, rdi
lea r8, [rsp + 0x4c]
lea rdx, str._HTTP__1_23___d
mov rcx, r14
call fcn.14011ffa0
cmp eax, r15d
jne 0x140131c06
mov byte [rbp + 0x437], 0
lea esi, [r15 + 2]
mov byte [rsp + 0x40], 0x20
jmp 0x140131c31
movzx eax, byte [rsp + 0xb0]
sub al, 0x30
cmp al, 9
jbe 0x14013229a
cmp esi, 4
jl 0x140131c99
cmp dword [rdi], 0x64
jl 0x14013229a
cmp byte [rsp + 0x40], 0x20
jne 0x140132281
mov eax, dword [rsp + 0x48]
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x44]
lea r9d, [rax + rcx*2]
mov ecx, r9d
mov dword [rsp + 0x44], r9d
sub ecx, 0xa
je 0x140131c56
cmp ecx, 1
jne 0x14013224b
mov byte [rbp + 0x437], r9b
cmp r9b, 0x14
jae 0x140131c70
mov rax, qword [rbp + 0x3f8]
mov dword [rax], 0xffffffff
test esi, esi
jne 0x140131d3d
mov byte [rbx + 0x1ba], 0
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test esi, esi
jne 0x140132281
mov r8, rdi
lea rdx, str._HTTP__3d
mov rcx, r14
call fcn.14011ffa0
mov byte [rbp + 0x437], 0xa
test eax, eax
jne 0x140131d3d
mov rcx, r12
call fcn.140114550
mov r8, rax
call fcn.140114540
mov rdx, rax
mov rcx, rbx
call fcn.1401311a0
cmp eax, 1
jne 0x140131c78
mov dword [rdi], 0xc8
mov byte [rbp + 0x437], 0xa
jmp 0x140131d3d
bt ecx, 0x12
jae 0x140131c78
lea rax, [rbx + 0x158]
mov rcx, r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x41]
lea r8, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.14011ffa0
cmp eax, 4
jne 0x140131c78
cmp byte [rsp + 0x41], 0x20
jne 0x140131c78
mov byte [rbp + 0x437], 0xb
mov rdx, rbp
mov rcx, rbx
call fcn.140131800
test eax, eax
jne 0x140131c81
lea r15d, [rax + 6]
mov rcx, rbx
call fcn.140131990
test eax, eax
jne 0x140131c81
mov r8, r14
mov rdx, rbp
mov rcx, rbx
call fcn.140131250
test eax, eax
jne 0x140131c81
mov edi, dword [rbx + 0x158]
mov esi, r15d
or esi, 1
mov rcx, r12
cmp byte [rbx + 0x93b], al
cmove esi, r15d
call fcn.140114550
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rbx
call fcn.140120cb0
mov rcx, r12
call fcn.140114550
mov edx, esi
mov r9, rax
or edx, 0x10
lea eax, [rdi - 0x64]
cmp eax, 0x64
mov r8, r14
mov rcx, rbx
cmovae edx, esi
call fcn.14011aa40
test eax, eax
jne 0x140131c81
mov rcx, r12
call fcn.140114550
add qword [rbx + 0x11a0], rax
call fcn.140114550
add qword [rbx + 0x108], rax
jmp 0x14013212e
mov ecx, dword [rbx + 0x158]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140131e7c
sub ecx, 0x64
je 0x140131e48
cmp ecx, 1
je 0x140131e29
lea rdi, [rbx + 0x1ba]
xor eax, eax
mov byte [rdi], 1
mov r10, rdi
mov dword [rbx + 0x144], eax
jmp 0x140131ed7
cmp dword [rbx + 0x174], 2
je 0x1401322b3
lea rdi, [rbx + 0x1ba]
mov byte [rdi], 0
mov r10, rdi
jmp 0x140131ed7
xor eax, eax
lea rdi, [rbx + 0x1ba]
mov byte [rdi], 1
mov dword [rbx + 0x144], eax
cmp dword [rbx + 0x170], eax
jle 0x140131e77
or dword [rbx + 0x15c], 2
mov rcx, rbx
mov dword [rbx + 0x170], eax
call fcn.14011a500
mov r10, rdi
jmp 0x140131ed7
cmp qword [rbx + 0xe8], 0xffffffffffffffff
lea rdi, [rbx + 0x1ba]
mov r10, rdi
mov byte [rdi], 0
jne 0x140131edd
cmp byte [rbx + 0x1bf], 0
jne 0x140131edd
cmp byte [rbp + 0x1e8], 0
jne 0x140131edd
cmp byte [rbp + 0x437], 0xb
jne 0x140131edd
mov rax, qword [rbp + 0x200]
test dword [rax + 0x84], 0x40000
jne 0x140131edd
cmp byte [rbx + 0x1058], 5
je 0x140131edd
mov edx, 2
mov rcx, rbp
call fcn.14011b050
cmp byte [r10], 0
jne 0x140131eed
mov rcx, rbx
call fcn.140131900
test eax, eax
jne 0x140131c81
cmp byte [rbp + 0x1e8], 0
je 0x140131f25
mov eax, dword [rbx + 0x158]
cmp eax, 0x191
jne 0x140131f0e
cmp dword [rbp + 0x2c8], 1
je 0x140131f1e
jmp 0x140131f25
cmp eax, 0x197
jne 0x140131f25
cmp dword [rbp + 0x2cc], 1
jne 0x140131f25
mov byte [rbx + 0x1175], 1
cmp dword [rbp + 0x2c8], 3
jne 0x140131f44
cmp dword [rbx + 0x158], 0x191
je 0x140131f44
mov dword [rbp + 0x2c8], 4
cmp dword [rbp + 0x2cc], 3
jne 0x140131f63
cmp dword [rbx + 0x158], 0x197
je 0x140131f63
mov dword [rbp + 0x2cc], 4
mov eax, dword [rbx + 0x158]
xor r14d, r14d
mov edx, r14d
mov rcx, r12
cmp byte [rbx + 0x93b], dl
setne dl
sub eax, 0x64
add edx, 2
cmp eax, 0x64
sbb eax, eax
and eax, 0x10
or edx, eax
call fcn.140114550
mov rsi, rax
call fcn.140114540
mov r8, rax
mov r9, rsi
mov rcx, rbx
call fcn.14011aa40
test eax, eax
jne 0x140131c81
mov rdx, qword [rbx + 0x108]
movsxd rcx, esi
add qword [rbx + 0x11a0], rcx
add rdx, rcx
mov qword [rbx + 0x108], rdx
mov rcx, rbx
mov r8d, dword [rbx + 0x158]
call fcn.14012f2a0
test al, al
jne 0x140132322
lea eax, [r8 - 0x64]
cmp eax, 0x63
cmova rdx, r14
mov qword [rbx + 0x110], rdx
call fcn.14012ec00
test eax, eax
jne 0x140131c81
cmp dword [rbx + 0x158], 0x12c
jl 0x140132125
cmp byte [rbp + 0x1f2], r14b
jne 0x14013210b
cmp byte [rbp + 0x1e8], r14b
jne 0x14013210b
cmp byte [rbx + 0x1183], r14b
jne 0x140132114
movzx ecx, byte [rbx + 0x1058]
sub ecx, 1
je 0x140132055
sub ecx, 1
je 0x140132055
sub ecx, 1
je 0x140132055
cmp ecx, 1
jne 0x14013210b
mov rcx, rbx
call fcn.14011a500
cmp byte [rbx + 0x1bc], r14b
jne 0x14013210b
cmp dword [rbx + 0x158], 0x1a1
jne 0x1401320ab
cmp byte [rbx + 0x1177], r14b
je 0x1401320ab
mov rcx, qword [rbx + 0x1060]
mov byte [rbx + 0x1178], 1
call qword [case.0x14011d7bf.0]
lea rdx, [rbx + 0xe8]
mov rcx, rbx
mov qword [rbx + 0x198], rax
call fcn.14012b0f0
jmp 0x14013210b
cmp byte [rbx + 0x937], r14b
je 0x1401320cd
cmp dword [rbx + 0x170], r14d
jle 0x14013210b
or dword [rbx + 0x15c], 2
mov dword [rbx + 0x170], r14d
jmp 0x14013210b
mov edx, 2
mov rcx, rbp
call fcn.14011b050
lea rdx, [rbx + 0xe8]
mov rcx, rbx
call fcn.14012b0f0
test eax, eax
jne 0x140131c81
mov byte [rbx + 0x1bc], 1
cmp byte [rbx + 0x1177], r14b
je 0x14013210b
mov dword [rbx + 0x170], 3
cmp byte [rbx + 0x1183], r14b
je 0x140132125
cmp qword [rbp + 0x228], 0xffffffffffffffff
je 0x140132125
or dword [rbx + 0x15c], 2
cmp byte [rdi], r14b
je 0x1401322d6
mov rcx, r12
call fcn.140114430
mov rsi, qword [rbx + 0x148]
cmp byte [rsi], 0
je 0x140131c7f
mov rdi, qword [rsp + 0xc0]
mov edx, 0xa
mov rcx, rsi
mov r15, rsi
mov rdi, qword [rdi]
mov r8, rdi
mov r14, rdi
call fcn.140145920
mov rcx, rax
test rax, rax
jne 0x140131ad0
mov r8, r14
mov rdx, r15
mov rcx, r12
call fcn.1401144c0
test eax, eax
jne 0x140131c81
cmp dword [rbx + 0x144], eax
jne 0x140131c7f
mov rcx, r12
call fcn.140114550
mov r9, rax
call fcn.140114540
mov r8, rax
mov rcx, rbx
call fcn.140131240
cmp eax, 2
jne 0x140131c7f
mov edx, eax
mov byte [rbx + 0x1ba], 0
mov rcx, rbp
mov dword [rbx + 0x140], eax
call fcn.14011b050
cmp byte [rbx + 0x956], 0
jne 0x140131c7f
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.140120d90
mov eax, 1
jmp 0x140131c81
mov edx, 2
mov rcx, rbp
call fcn.14011b050
cmp byte [rbx + 0x956], 0
je 0x1401321dd
mov byte [rbx + 0x1ba], 0
cmp qword [rsi], 0
je 0x140132228
mov dword [rbx + 0x140], 1
jmp 0x140131c7f
mov rax, qword [rsp + 0x58]
mov dword [rbx + 0x140], 2
mov qword [rsi], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x148], rax
jmp 0x140131c7f
mov eax, 0x66666667
imul r9d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov r8d, edx
lea ecx, [rdx + rdx*4]
add ecx, ecx
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sub r9d, ecx
mov rcx, rbx
call fcn.140120d90
mov eax, 1
jmp 0x140131c81
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.140120d90
mov eax, 1
jmp 0x140131c81
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.140120d90
mov eax, 1
jmp 0x140131c81
xor eax, eax
mov dword [rbx + 0x174], 3
mov dword [rbx + 0x144], eax
mov eax, 1
mov byte [rbx + 0x1ba], 1
jmp 0x140131c81
mov rcx, qword [rsp + 0xc8]
cmp byte [rbx + 0x1c4], r14b
je 0x1401322ee
mov byte [rcx], 1
mov al, 1
jmp 0x1401322f1
movzx eax, byte [rcx]
cmp qword [rbx + 0xf0], r14
jne 0x1401322ff
mov byte [rcx], 1
jmp 0x140132303
test al, al
je 0x14013230a
and dword [rbx + 0x15c], 0xfffffffe
mov r9, rsi
mov r8, r15
mov edx, 1
mov rcx, rbx
call fcn.140120cb0
jmp 0x140131c7f
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.140120d90
mov eax, 0x16
jmp 0x140131c81