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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 0x138]
lea r12, [rcx + 0xc08]
mov rdi, qword [r8]
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x60], rdi
mov rsi, rcx
mov qword [rsp + 0x70], r14
mov r8, rdi
mov rcx, r14
mov edx, 0xa
mov r15, r14
call fcn.1800e4880
xor ebx, ebx
mov edi, 1
mov rcx, rax
mov rdx, r15
test rax, rax
je 0x180073860
mov rax, qword [rsi + 0x138]
lea r8, [rcx + 1]
sub rax, rcx
mov rcx, r12
sub rax, rdi
add qword [r13], rax
mov qword [rsi + 0x138], r8
sub r8, r15
call fcn.18005da30
test eax, eax
jne 0x180073737
cmp dword [rsi + 0x134], ebx
jne 0x180072f14
mov rcx, r12
call fcn.18005da74
mov rcx, r12
mov rbx, rax
call fcn.18005da7c
mov r8, rax
mov r9, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.180073f30
cmp eax, 2
je 0x180073705
xor ebx, ebx
mov rcx, r12
call fcn.18005da7c
mov r14, rax
cmp byte [rax], 0xa
je 0x180073316
cmp byte [rax], 0xd
je 0x180073316
mov edx, dword [rsi + 0x134]
xor r15d, r15d
mov ebx, 2
lea ecx, [rdx + 1]
mov dword [rsi + 0x134], ecx
test edx, edx
jne 0x18007326f
mov rax, qword [rbp + 0x2e8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x18007316e
mov al, byte [r14]
mov rbx, r14
jmp 0x180072f7b
cmp al, 0x20
je 0x180072f76
cmp al, 9
jne 0x180072f7f
add rbx, rdi
mov al, byte [rbx]
test al, al
jne 0x180072f6e
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call fcn.1800c55f0
test eax, eax
jne 0x180073033
add rbx, 5
movsx edx, byte [rbx]
mov ecx, edx
sub ecx, 0x31
je 0x180073072
sub ecx, 1
je 0x180072fbc
cmp ecx, 1
jne 0x18007376d
mov al, byte [rbx + 1]
mov r8b, 9
cmp al, 0x20
je 0x180072fcb
cmp al, r8b
jne 0x180073033
lea eax, [rdx - 0x30]
mov r10b, 0x30
lea r9d, [rax + rax*4]
mov al, byte [rbx + 2]
sub al, r10b
add r9d, r9d
cmp al, r8b
ja 0x180073033
mov al, byte [rbx + 3]
sub al, r10b
cmp al, r8b
ja 0x180073033
mov al, byte [rbx + 4]
sub al, r10b
cmp al, r8b
ja 0x180073033
movsx eax, byte [rbx + 2]
lea ecx, [rax + rax*4]
movsx eax, byte [rbx + 3]
lea ecx, [rax + rcx*2]
movsx eax, byte [rbx + 4]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x148], ecx
mov al, byte [rbx + 5]
cmp al, 0x20
je 0x180073113
sub al, r8b
cmp al, 4
jbe 0x180073113
mov rcx, r12
call fcn.18005da74
mov rcx, r12
mov rbx, rax
call fcn.18005da7c
mov rdx, rax
mov r8, rbx
mov rcx, rsi
call fcn.180073e5c
cmp eax, edi
jne 0x1800737cc
mov dword [rsi + 0x148], 0xc8
mov byte [rbp + 0x617], 0xa
jmp 0x180073259
add rbx, rdi
cmp byte [rbx], 0x2e
jne 0x1800737b6
mov al, byte [rbx + 1]
mov r10b, 0x30
sub al, r10b
cmp al, dil
ja 0x1800737b6
mov al, byte [rbx + 2]
mov r8b, 9
cmp al, 0x20
je 0x1800730a3
cmp al, r8b
jne 0x1800737b6
movsx r9d, byte [rbx + 1]
mov al, byte [rbx + 3]
sub r9d, 0x26
sub al, r10b
cmp al, r8b
ja 0x1800737b6
mov al, byte [rbx + 4]
sub al, r10b
cmp al, r8b
ja 0x1800737b6
mov al, byte [rbx + 5]
sub al, r10b
cmp al, r8b
ja 0x1800737b6
movsx eax, byte [rbx + 3]
lea ecx, [rax + rax*4]
movsx eax, byte [rbx + 4]
lea ecx, [rax + rcx*2]
movsx eax, byte [rbx + 5]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x148], ecx
mov al, byte [rbx + 6]
cmp al, 0x20
je 0x180073113
cmp al, r8b
je 0x180073113
sub al, 0xa
cmp al, 3
ja 0x1800737b6
cmp ecx, 0x64
jl 0x1800737aa
mov ecx, r9d
sub ecx, 0xa
je 0x18007312d
cmp ecx, 1
jne 0x180073779
mov byte [rbp + 0x617], r9b
cmp dword [rsi + 0x164], 3
jne 0x180073152
cmp r9b, 0x14
je 0x180073152
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rsi
call fcn.180068060
cmp byte [rbp + 0x617], 0x14
jae 0x180073259
mov rax, qword [rbp + 0x5d8]
or dword [rax], 0xffffffff
jmp 0x180073259
bt ecx, 0x12
jae 0x1800737cc
mov al, byte [r14]
mov rbx, r14
jmp 0x18007318d
cmp al, 0x20
je 0x180073188
cmp al, 9
jne 0x180073191
add rbx, rdi
mov al, byte [rbx]
test al, al
jne 0x180073180
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call fcn.1800c55f0
test eax, eax
jne 0x1800737cc
add rbx, 5
mov cl, 0x30
mov r8b, 9
mov al, byte [rbx]
sub al, cl
cmp al, r8b
ja 0x1800737c2
add rbx, rdi
cmp byte [rbx], 0x2e
jne 0x1800737c2
mov al, byte [rbx + 1]
sub al, cl
cmp al, r8b
ja 0x1800737c2
mov al, byte [rbx + 2]
cmp al, 0x20
je 0x1800731ee
cmp al, r8b
jne 0x1800737c2
mov al, byte [rbx + 3]
sub al, cl
cmp al, r8b
ja 0x1800737c2
mov al, byte [rbx + 4]
sub al, cl
cmp al, r8b
ja 0x1800737c2
mov al, byte [rbx + 5]
sub al, cl
cmp al, r8b
ja 0x1800737c2
movsx eax, byte [rbx + 3]
lea ecx, [rax + rax*4]
movsx eax, byte [rbx + 4]
lea ecx, [rax + rcx*2]
movsx eax, byte [rbx + 5]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rsi + 0x148], ecx
mov al, byte [rbx + 6]
cmp al, 0x20
je 0x180073252
cmp al, r8b
je 0x180073252
sub al, 0xa
cmp al, 3
ja 0x1800737c2
mov byte [rbp + 0x617], recv
mov rdx, rbp
mov rcx, rsi
call fcn.180073abc
test eax, eax
jne 0x180073737
lea ebx, [rax + 6]
mov rcx, rsi
call fcn.1800746f4
test eax, eax
jne 0x180073737
mov r8, r14
mov rdx, rbp
mov rcx, rsi
call fcn.180071d9c
test eax, eax
jne 0x180073737
mov edi, ebx
mov rcx, r12
or edi, 1
cmp byte [rsi + 0xa24], r15b
cmove edi, ebx
mov ebx, dword [rsi + 0x148]
call fcn.18005da74
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rsi
call fcn.180067eb8
mov rcx, r12
call fcn.18005da74
mov edx, edi
mov r9, rax
or edx, 0x10
lea eax, [rbx - 0x64]
cmp eax, 0x64
mov r8, r14
mov rcx, rsi
cmovae edx, edi
call fcn.180068100
xor ebx, ebx
test eax, eax
jne 0x180073737
mov rcx, r12
call fcn.18005da74
add qword [rsi + 0x12d0], rax
mov rcx, r12
call fcn.18005da74
add qword [rsi + 0x108], rax
jmp 0x1800736db
mov ecx, dword [rsi + 0x148]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x180073393
sub ecx, 0x64
je 0x18007335e
cmp ecx, 1
je 0x180073343
lea rdi, [rsi + 0x1c2]
mov dword [rsi + 0x134], ebx
mov byte [rdi], 1
jmp 0x180073401
cmp dword [rsi + 0x164], 2
je 0x1800737d8
lea rdi, [rsi + 0x1c2]
mov byte [rdi], bl
jmp 0x180073401
lea rdi, [rsi + 0x1c2]
mov dword [rsi + 0x134], ebx
mov byte [rdi], 1
cmp dword [rsi + 0x160], ebx
jle 0x180073401
or dword [rsi + 0x14c], 2
xor edx, edx
mov rcx, rsi
mov dword [rsi + 0x160], ebx
call fcn.18005813c
jmp 0x180073401
xor r14d, r14d
lea rbx, [rsi + 0x1c2]
cmp qword [rsi + 0xe8], 0xffffffffffffffff
mov rdi, rbx
mov byte [rbx], r14b
jne 0x1800733ff
cmp byte [rsi + 0x1c7], r14b
jne 0x1800733ff
cmp byte [rbp + 0x2ce], r14b
jne 0x1800733ff
cmp byte [rbp + 0x617], 0xb
jne 0x1800733ff
mov rax, qword [rbp + 0x2e8]
test dword [rax + 0x84], 0x40000
jne 0x1800733ff
cmp byte [rsi + 0x1158], 5
je 0x1800733ff
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rsi
call fcn.180068060
lea edx, [r14 + 2]
mov rcx, rbp
call fcn.180068e00
xor ebx, ebx
cmp byte [rdi], bl
jne 0x180073415
mov rcx, rsi
call fcn.180073a40
test eax, eax
jne 0x180073737
mov r14d, 0x191
cmp byte [rbp + 0x2ce], bl
je 0x1800734a1
mov eax, dword [rsi + 0x148]
cmp eax, r14d
jne 0x180073437
cmp dword [rbp + 0x3b0], 2
je 0x180073447
cmp eax, 0x197
jne 0x18007345d
cmp dword [rbp + 0x3b4], 2
jne 0x18007345d
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rsi
call fcn.180068060
mov byte [rsi + 0x12a5], 1
cmp byte [rbp + 0x2ce], bl
je 0x1800734a1
mov eax, dword [rsi + 0x148]
cmp eax, r14d
jne 0x18007347b
cmp dword [rbp + 0x4a8], 1
je 0x18007348b
jmp 0x1800734a1
cmp eax, 0x197
jne 0x1800734a1
cmp dword [rbp + 0x4ac], 1
jne 0x1800734a1
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rsi
call fcn.180068060
mov byte [rsi + 0x12a5], 1
cmp dword [rbp + 0x4a8], 3
jne 0x1800734bd
cmp dword [rsi + 0x148], r14d
je 0x1800734bd
mov dword [rbp + 0x4a8], 4
cmp dword [rbp + 0x4ac], 3
jne 0x1800734dc
cmp dword [rsi + 0x148], 0x197
je 0x1800734dc
mov dword [rbp + 0x4ac], 4
mov eax, dword [rsi + 0x148]
sub eax, 0x64
cmp eax, 0x64
mov al, byte [rsi + 0xa24]
sbb ebx, ebx
and ebx, 0x10
neg al
sbb ecx, ecx
neg ecx
add ecx, 2
or ebx, ecx
mov rcx, r12
call fcn.18005da74
mov rcx, r12
mov r14, rax
call fcn.18005da7c
mov r8, rax
mov r9, r14
mov edx, ebx
mov rcx, rsi
call fcn.180068100
xor ebx, ebx
test eax, eax
jne 0x180073737
mov r9, qword [rsi + 0x108]
movsxd rcx, r14d
add qword [rsi + 0x12d0], rcx
add r9, rcx
mov qword [rsi + 0x108], r9
mov rcx, rsi
mov r8d, dword [rsi + 0x148]
call fcn.18007434c
test al, al
jne 0x18007384a
lea eax, [r8 - 0x64]
cmp eax, 0x63
cmova r9, rbx
mov qword [rsi + 0x110], r9
call fcn.180070dd0
test eax, eax
jne 0x180073737
cmp dword [rsi + 0x148], 0x12c
jl 0x1800736d3
cmp byte [rbp + 0x2d8], bl
jne 0x1800736ab
cmp byte [rbp + 0x2ce], bl
jne 0x1800736ab
cmp byte [rsi + 0x12b3], bl
jne 0x1800736b3
movzx ecx, byte [rsi + 0x1158]
sub ecx, 1
je 0x1800735cf
sub ecx, 1
je 0x1800735cf
sub ecx, 1
je 0x1800735cf
cmp ecx, 1
jne 0x1800736ab
xor edx, edx
mov rcx, rsi
call fcn.18005813c
cmp byte [rsi + 0x1c4], bl
jne 0x1800736ab
cmp dword [rsi + 0x148], 0x1a1
jne 0x180073634
cmp byte [rsi + 0x12a7], bl
je 0x180073634
lea rdx, str.Got_417_while_waiting_for_a_100
mov rcx, rsi
call fcn.180068060
mov rcx, qword [rsi + 0x1160]
mov byte [rsi + 0x12a8], 1
call qword [case.0x180064166.1]
lea rdx, [rsi + 0xe8]
mov rcx, rsi
mov qword [rsi + 0x188], rax
call fcn.18006c2a4
jmp 0x1800736ab
mov rcx, rsi
cmp byte [rsi + 0xa20], bl
je 0x180073662
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.180068060
cmp dword [rsi + 0x160], ebx
jle 0x1800736ab
or dword [rsi + 0x14c], 2
mov dword [rsi + 0x160], ebx
jmp 0x1800736ab
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.180068060
mov edx, 2
mov rcx, rbp
call fcn.180068e00
lea rdx, [rsi + 0xe8]
mov rcx, rsi
call fcn.18006c2a4
test eax, eax
jne 0x180073737
mov byte [rsi + 0x1c4], 1
cmp byte [rsi + 0x12a7], bl
je 0x1800736ab
mov dword [rsi + 0x160], 3
cmp byte [rsi + 0x12b3], bl
je 0x1800736d3
cmp qword [rbp + 0x310], 0xffffffffffffffff
je 0x1800736d3
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rsi
call fcn.180068060
or dword [rsi + 0x14c], 2
cmp byte [rdi], bl
je 0x180073803
mov rcx, r12
call fcn.18005da80
mov r15, qword [rsi + 0x138]
cmp byte [r15], bl
je 0x180073735
mov r8, qword [r13]
mov edx, 0xa
mov rcx, r15
call fcn.1800e4880
jmp 0x180072e9a
mov edx, 2
mov rcx, rbp
call fcn.180068e00
xor r14d, r14d
cmp byte [rsi + 0xa43], r14b
je 0x1800738d4
mov byte [rsi + 0x1c2], r14b
cmp qword [r13], r14
je 0x18007374c
mov dword [rsi + 0x130], edi
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov dword [rsi + 0x130], 2
mov qword [r13], rax
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x138], rax
jmp 0x180073735
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x1800738db
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.180067f94
jmp 0x1800738e3
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x1800738db
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
jmp 0x1800738db
mov eax, 8
jmp 0x180073737
mov byte [rsi + 0x1c2], r15b
jmp 0x180073735
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.180068060
mov dword [rsi + 0x164], 3
mov byte [rsi + 0x1c2], dil
mov dword [rsi + 0x134], ebx
jmp 0x1800738e3
mov rcx, qword [rsp + 0x78]
cmp byte [rsi + 0x1cc], bl
je 0x180073817
mov byte [rcx], 1
mov al, 1
jmp 0x180073819
mov al, byte [rcx]
cmp qword [rsi + 0xf0], rbx
jne 0x180073827
mov byte [rcx], 1
jmp 0x18007382b
test al, al
je 0x180073832
and dword [rsi + 0x14c], 0xfffffffe
mov r9, r14
mov r8, r15
mov edx, 1
mov rcx, rsi
call fcn.180067eb8
jmp 0x180073735
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.180067f94
mov eax, socket
jmp 0x180073737
mov r8, qword [r13]
mov rcx, r12
call fcn.18005da30
test eax, eax
jne 0x180073737
cmp dword [rsi + 0x134], ebx
jne 0x180073735
mov rcx, r12
call fcn.18005da74
mov rcx, r12
mov rbx, rax
call fcn.18005da7c
mov r8, rax
mov r9, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.180073f30
cmp eax, 2
jne 0x180073735
xor r14d, r14d
mov dword [rsi + 0x130], eax
mov edx, eax
mov byte [rsi + 0x1c2], r14b
mov rcx, rbp
call fcn.180068e00
cmp byte [rsi + 0xa43], r14b
jne 0x180073735
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rsi
call fcn.180067f94
mov eax, edi
jmp 0x180073737