Function at 0x1400a9e90
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, 0x30
mov rax, qword [r8]
lea rdi, [rcx + 0xf0]
mov rbx, qword [rdi + 0x50]
lea r13, [rcx + 0xca0]
mov r15, rdx
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x20], rbx
mov rcx, rbx
mov r8, rax
mov edx, 0xa
mov r12, rbx
mov rbp, rax
mov r14, rax
call fcn.14013d6a0
mov rcx, rax
test rax, rax
je 0x1400aa6d4
nop dword [rax + rax]
mov r14, qword [rsp + 0x80]
lea r8, [rcx + 1]
sub rbp, rcx
mov rdx, r12
mov rcx, r13
lea rax, [rbp - 1]
add rax, rbx
mov qword [r14], rax
mov qword [rdi + 0x50], r8
sub r8, r12
call fcn.140095fd0
test eax, eax
jne 0x1400aa77b
cmp dword [rdi + 0x48], eax
jne 0x1400a9f65
mov rcx, r13
call fcn.140096030
mov rcx, r13
mov rbx, rax
call fcn.140096040
mov r8, rax
mov r9, rbx
mov rdx, r15
mov rcx, rsi
call fcn.1400ab120
cmp eax, 2
je 0x1400aa74f
mov rcx, r13
call fcn.140096040
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400aa33d
cmp cl, 0xd
je 0x1400aa33d
mov edx, dword [rdi + 0x48]
mov ebp, 4
lea ecx, [rdx + 1]
mov dword [rdi + 0x48], ecx
test edx, edx
jne 0x1400aa2aa
mov rax, qword [r15 + 0x2e8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x1400aa1ad
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1400a9fd3
nop dword [rax]
cmp al, 0x20
je 0x1400a9fc8
cmp al, 9
jne 0x1400a9fd3
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400a9fc0
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call fcn.1401525a0
test eax, eax
jne 0x1400aa07c
movzx ecx, byte [rbx + 5]
movzx eax, cl
cmp cl, 0x31
je 0x1400aa0ba
sub al, 0x32
cmp al, 1
ja 0x1400aa7aa
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x1400aa016
cmp al, 9
jne 0x1400aa07c
movsx eax, cl
movzx ecx, byte [rbx + 7]
sub eax, 0x30
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400aa07c
movzx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400aa07c
movzx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400aa07c
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rdi + 0x60], ecx
movzx eax, byte [rbx + 0xa]
cmp al, 0x20
je 0x1400aa14f
sub al, 9
cmp al, bpl
jbe 0x1400aa14f
mov rcx, r13
call fcn.140096030
mov rcx, r13
mov rbx, rax
call fcn.140096040
mov rdx, rax
mov r8, rbx
mov rcx, rsi
call fcn.1400ab030
cmp eax, 1
jne 0x1400aa82f
mov dword [rdi + 0x60], 0xc8
mov byte [r15 + 0x4d9], 0xa
jmp 0x1400aa294
cmp byte [rbx + 6], 0x2e
jne 0x1400aa80c
movzx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x1400aa80c
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400aa0e3
cmp al, 9
jne 0x1400aa80c
movsx r9d, cl
movzx ecx, byte [rbx + 9]
sub r9d, 0x26
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400aa80c
movzx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400aa80c
movzx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400aa80c
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rdi + 0x60], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1400aa14f
cmp al, 9
je 0x1400aa14f
sub al, 0xa
cmp al, 3
ja 0x1400aa80c
cmp ecx, 0x64
jl 0x1400aa7f3
lea eax, [r9 - 0xa]
cmp eax, 1
ja 0x1400aa7c0
mov byte [r15 + 0x4d9], r9b
movzx eax, r9b
cmp dword [rdi + 0x7c], 3
jne 0x1400aa193
cmp r9b, 0x14
je 0x1400aa193
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rsi
call fcn.14009f950
movzx eax, byte [r15 + 0x4d9]
cmp al, 0x14
jae 0x1400aa294
mov rax, qword [r15 + 0x4a0]
mov dword [rax], 0xffffffff
jmp 0x1400aa294
bt ecx, 0x12
jae 0x1400aa82f
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1400aa1d5
cmp al, 0x20
je 0x1400aa1ca
cmp al, 9
jne 0x1400aa1d5
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400aa1c2
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call fcn.1401525a0
test eax, eax
jne 0x1400aa82f
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x1400aa825
cmp byte [rbx + 6], 0x2e
jne 0x1400aa825
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x1400aa825
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400aa228
cmp al, 9
jne 0x1400aa825
movzx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400aa825
movzx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400aa825
movzx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400aa825
movsx eax, cl
lea ecx, [rax + rax*4]
movsx eax, dl
lea ecx, [rax + rcx*2]
movsx eax, r8b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rdi + 0x60], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1400aa28c
cmp al, 9
je 0x1400aa28c
sub al, 0xa
cmp al, 3
ja 0x1400aa825
mov byte [r15 + 0x4d9], 0xb
mov rdx, r15
mov rcx, rsi
call fcn.1400aac70
test eax, eax
jne 0x1400aa77b
lea ebp, [rax + 0xc]
mov rcx, rsi
call fcn.1400aba10
test eax, eax
jne 0x1400aa77b
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400a8e00
test eax, eax
jne 0x1400aa77b
mov ebx, dword [rdi + 0x60]
mov rcx, r13
call fcn.140096030
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rsi
call fcn.14009f780
mov rcx, r13
call fcn.140096030
mov edx, ebp
mov r9, rax
or edx, 0x20
lea eax, [rbx - 0x64]
cmp eax, 0x64
mov r8, r14
mov rcx, rsi
cmovae edx, ebp
call fcn.14009fd60
test eax, eax
jne 0x1400aa77b
mov rcx, r13
call fcn.140096030
mov rdx, rax
xor r8d, r8d
mov rcx, rsi
call fcn.1400a76f0
test eax, eax
jne 0x1400aa77b
jmp 0x1400aa691
mov ecx, dword [rdi + 0x60]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1400aa3a1
sub ecx, 0x64
je 0x1400aa379
sub ecx, 1
je 0x1400aa363
xor eax, eax
mov byte [rdi + 0xda], 1
mov dword [rdi + 0x48], eax
jmp 0x1400aa415
cmp dword [rdi + 0x7c], 2
je 0x1400aa83b
mov byte [rdi + 0xda], 0
jmp 0x1400aa415
xor eax, eax
mov byte [rdi + 0xda], 1
mov dword [rdi + 0x48], eax
cmp dword [rdi + 0x78], eax
jle 0x1400aa415
or dword [rdi + 0x64], 2
xor edx, edx
mov rcx, rsi
mov dword [rdi + 0x78], eax
call fcn.14008fbe0
jmp 0x1400aa415
cmp dword [rdi + 0x7c], 2
jne 0x1400aa3b3
mov rcx, qword [rsi + 0xd8]
call fcn.14008fcf0
xor cl, cl
mov byte [rdi + 0xda], 0
cmp qword [rdi], 0xffffffffffffffff
jne 0x1400aa41c
cmp byte [rdi + 0xdf], cl
jne 0x1400aa41c
cmp byte [r15 + 0x2ce], cl
jne 0x1400aa41c
cmp byte [r15 + 0x4d9], 0xb
jne 0x1400aa41c
mov rax, qword [r15 + 0x2e8]
test dword [rax + 0x84], 0x40000
jne 0x1400aa41c
cmp byte [rsi + 0x138a], 5
je 0x1400aa41c
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rsi
call fcn.14009f950
mov edx, 2
mov rcx, r15
call fcn.1400a0b70
movzx ecx, byte [rdi + 0xda]
test cl, cl
jne 0x1400aa430
mov rcx, rsi
call fcn.1400aabe0
test eax, eax
jne 0x1400aa77b
cmp byte [r15 + 0x2ce], 0
je 0x1400aa47a
mov eax, dword [rsi + 0x150]
cmp eax, 0x191
jne 0x1400aa453
cmp dword [r15 + 0x348], 2
je 0x1400aa464
jmp 0x1400aa47a
cmp eax, 0x197
jne 0x1400aa47a
cmp dword [r15 + 0x34c], 2
jne 0x1400aa47a
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rsi
call fcn.14009f950
mov byte [rsi + 0x1391], 1
mov eax, dword [rdi + 0x60]
mov ebx, 4
sub eax, 0x64
mov rcx, r13
cmp eax, 0x64
mov eax, 0x24
cmovb ebx, eax
call fcn.140096030
mov rcx, r13
mov rbp, rax
call fcn.140096040
mov r8, rax
mov r9, rbp
mov edx, ebx
mov rcx, rsi
call fcn.14009fd60
test eax, eax
jne 0x1400aa77b
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call fcn.1400a76f0
test eax, eax
jne 0x1400aa77b
mov r8d, dword [rdi + 0x60]
mov rcx, rsi
call fcn.1400ab5a0
test al, al
jne 0x1400aa8d6
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x1400aa4f6
mov eax, dword [rsi + 0x128]
jmp 0x1400aa4f8
xor eax, eax
mov dword [rsi + 0x130], eax
call fcn.1400a7d20
test eax, eax
jne 0x1400aa77b
cmp dword [rdi + 0x60], 0x12c
jl 0x1400aa684
cmp byte [r15 + 0x2d8], al
jne 0x1400aa65e
cmp byte [r15 + 0x2ce], al
jne 0x1400aa65e
cmp byte [rsi + 0x139f], al
jne 0x1400aa667
movzx eax, byte [rsi + 0x138a]
dec al
cmp al, 3
ja 0x1400aa65e
xor edx, edx
mov rcx, rsi
call fcn.14008fbe0
cmp byte [rdi + 0xdc], 0
jne 0x1400aa65e
cmp dword [rdi + 0x60], 0x1a1
jne 0x1400aa5f1
cmp byte [rsi + 0x1393], 0
je 0x1400aa5f1
cmp qword [rdi + 0x18], 0
jne 0x1400aa59a
cmp dword [rdi + 0x78], 1
jne 0x1400aa59a
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rsi
call fcn.14009f950
jmp 0x1400aa5c9
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rsi
call fcn.14009f950
mov edx, 2
mov rcx, r15
call fcn.1400a0b70
mov rdx, r15
mov rcx, rsi
call fcn.1400ab440
test eax, eax
jne 0x1400aa77b
mov rcx, qword [rsi + 0x1238]
mov byte [rsi + 0x1394], 1
call qword [case.0x14009b1b0.1]
mov rdx, rdi
mov rcx, rsi
mov qword [rsi + 0x190], rax
call fcn.1400acab0
jmp 0x1400aa65e
cmp byte [rsi + 0xaaf], 0
mov rcx, rsi
je 0x1400aa61c
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.14009f950
cmp dword [rdi + 0x78], 0
jle 0x1400aa65e
or dword [rdi + 0x64], 2
mov dword [rdi + 0x78], 0
jmp 0x1400aa65e
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.14009f950
mov edx, 2
mov rcx, r15
call fcn.1400a0b70
mov rdx, rdi
mov rcx, rsi
call fcn.1400acab0
test eax, eax
jne 0x1400aa77b
mov byte [rdi + 0xdc], 1
cmp byte [rsi + 0x1393], al
je 0x1400aa65e
mov dword [rdi + 0x78], 3
cmp byte [rsi + 0x139f], 0
je 0x1400aa684
cmp qword [r15 + 0x310], 0xffffffffffffffff
je 0x1400aa684
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rsi
call fcn.14009f950
or dword [rdi + 0x64], 2
cmp byte [rdi + 0xda], 0
je 0x1400aa869
mov rcx, r13
call fcn.140096050
mov rbx, qword [rdi + 0x50]
cmp byte [rbx], 0
je 0x1400aa779
mov rbp, qword [rsp + 0x80]
mov edx, 0xa
mov rcx, rbx
mov r12, rbx
mov rbp, qword [rbp]
mov r8, rbp
mov r14, rbp
call fcn.14013d6a0
mov rcx, rax
test rax, rax
jne 0x1400a9f00
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.140095fd0
test eax, eax
jne 0x1400aa77b
cmp dword [rdi + 0x48], eax
jne 0x1400aa779
mov rcx, r13
call fcn.140096030
mov rcx, r13
mov rbx, rax
call fcn.140096040
mov r8, rax
mov r9, rbx
mov rdx, r15
mov rcx, rsi
call fcn.1400ab120
cmp eax, 2
jne 0x1400aa779
mov edx, eax
mov byte [rdi + 0xda], 0
mov rcx, r15
mov dword [rdi + 0x44], eax
call fcn.1400a0b70
cmp byte [rsi + 0xad0], 0
jne 0x1400aa779
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rsi
call fcn.14009f860
mov eax, 1
jmp 0x1400aa77b
mov edx, 2
mov rcx, r15
call fcn.1400a0b70
cmp byte [rsi + 0xad0], 0
je 0x1400aa739
mov byte [rdi + 0xda], 0
cmp qword [r14], 0
je 0x1400aa790
mov dword [rdi + 0x44], 1
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x70]
mov dword [rdi + 0x44], 2
mov qword [r14], rax
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0x50], rax
jmp 0x1400aa779
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rsi
call fcn.14009f860
mov eax, 1
jmp 0x1400aa77b
mov eax, 0x66666667
mov rcx, rsi
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov r8d, edx
lea eax, [rdx + rdx*4]
add eax, eax
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sub r9d, eax
call fcn.14009f860
mov eax, 1
jmp 0x1400aa77b
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rsi
call fcn.14009f860
mov eax, 1
jmp 0x1400aa77b
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rsi
call fcn.14009f860
mov eax, 1
jmp 0x1400aa77b
mov eax, 8
jmp 0x1400aa77b
mov byte [rdi + 0xda], 0
jmp 0x1400aa779
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.14009f950
mov eax, 1
mov dword [rdi + 0x7c], 3
mov byte [rdi + 0xda], 1
mov dword [rdi + 0x48], 0
jmp 0x1400aa77b
cmp byte [rsi + 0x1d4], 0
jne 0x1400aa894
mov rax, qword [r15 + 0x2e8]
test dword [rax + 0x84], 0x40000
je 0x1400aa8a1
cmp dword [rsi + 0x9f8], 2
jne 0x1400aa8a1
cmp qword [rdi], 0xffffffffffffffff
jg 0x1400aa8a1
mov rax, qword [rsp + 0x88]
mov byte [rax], 1
jmp 0x1400aa8a9
mov rax, qword [rsp + 0x88]
cmp qword [rdi + 8], 0
jne 0x1400aa8b5
mov byte [rax], 1
jmp 0x1400aa8ba
cmp byte [rax], 0
je 0x1400aa8be
and dword [rdi + 0x64], 0xfffffffe
mov r9, rbp
mov r8, r12
mov edx, 1
mov rcx, rsi
call fcn.14009f780
jmp 0x1400aa779
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.14009f860
mov eax, socket
jmp 0x1400aa77b