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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov r14, qword [rsp + 0xc8]
xor r15d, r15d
mov rdi, rcx
mov rsi, rdx
mov qword [r14], r15
movzx eax, byte [rdx]
cmp al, 0xa
je 0x1400e64ae
cmp al, 0xd
je 0x1400e64ae
mov ecx, dword [rcx + 0x13c]
lea ebx, [r15 + 4]
mov qword [r11 - 0x30], rbp
mov rbp, r8
lea eax, [rcx + 1]
mov dword [rdi + 0x13c], eax
test ecx, ecx
jne 0x1400e63c3
mov dword [rdi + 0x148], r15d
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x3d8]
mov eax, dword [rcx + 0x8c]
test al, 3
je 0x1400e6140
movzx eax, byte [rdx]
mov rbx, rdx
test al, al
je 0x1400e5fa4
cmp al, 0x20
je 0x1400e5f99
cmp al, 9
jne 0x1400e5fa4
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400e5f91
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call fcn.14017a4f0
test eax, eax
jne 0x1400e606b
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x1400e609b
sub ecx, 1
je 0x1400e5fff
cmp ecx, 1
je 0x1400e5fff
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1400d5c60
mov rbp, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x1400e600b
cmp al, 9
jne 0x1400e606b
lea eax, [rdx - 0x30]
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [rdi + 0x148], ecx
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400e606b
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400e606b
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400e606b
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x14c], ecx
movzx eax, byte [rbx + 0xa]
cmp al, 0x20
je 0x1400e6222
sub al, 9
cmp al, 4
jbe 0x1400e6222
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.1400e50c0
cmp eax, 1
jne 0x1400e63e6
mov dword [rdi + 0x14c], 0xc8
mov dword [rdi + 0x148], 0xa
jmp 0x1400e6222
cmp byte [rbx + 6], 0x2e
jne 0x1400e611b
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x1400e611b
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400e60b8
cmp al, 9
jne 0x1400e611b
lea eax, [rcx - 0x26]
mov dword [rdi + 0x148], eax
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400e611b
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400e611b
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400e611b
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x14c], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1400e6222
cmp al, 9
je 0x1400e6222
sub al, 0xa
cmp al, 3
jbe 0x1400e6222
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rdi
call fcn.1400d5c60
mov rbp, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
bt eax, 0x12
jae 0x1400e63e6
movzx eax, byte [rsi]
mov rbx, rsi
test al, al
je 0x1400e6167
cmp al, 0x20
je 0x1400e615c
cmp al, 9
jne 0x1400e6167
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400e6154
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call fcn.14017a4f0
test eax, eax
jne 0x1400e63e6
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x1400e63ed
cmp byte [rbx + 6], 0x2e
jne 0x1400e63ed
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x1400e63ed
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1400e61ba
cmp al, 9
jne 0x1400e63ed
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400e63ed
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400e63ed
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400e63ed
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x14c], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1400e6218
cmp al, 9
je 0x1400e6218
sub al, 0xa
cmp al, 3
ja 0x1400e63ed
mov dword [rdi + 0x148], recvfrom
mov r9d, dword [rdi + 0x148]
mov ecx, r9d
mov rbx, qword [rdi + 0x18]
sub ecx, 0xa
je 0x1400e6285
sub ecx, 1
je 0x1400e6285
cmp ecx, 9
je 0x1400e6285
mov eax, 0x66666667
mov rcx, rdi
imul r9d
mov r8d, edx
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r8 + r8*4]
add eax, eax
sub r9d, eax
call fcn.1400d5c60
mov rbp, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [rbx + 0x6d0]
test al, al
je 0x1400e62e2
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, 0x66666667
mov r8d, edx
imul r9d
shr r8d, 3
mov r9d, edx
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
cmp r9d, r8d
je 0x1400e62e2
lea rdx, str.Version_mismatch__from_HTTP__u_to_HTTP__u_
mov rcx, rdi
call fcn.1400d5c60
mov rbp, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rdi + 0x14c]
mov dword [rdi + 0x1288], eax
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x1290], eax
movzx eax, byte [rdi + 0x148]
mov byte [rbx + 0x6d0], al
movzx eax, byte [rdi + 0x1271]
test al, al
je 0x1400e631e
mov ecx, dword [rdi + 0x148]
cmp eax, ecx
jle 0x1400e6331
jmp 0x1400e6325
movzx ecx, byte [rdi + 0x148]
mov byte [rdi + 0x1271], cl
mov ecx, dword [rdi + 0x148]
cmp qword [rdi + 0x1098], r15
je 0x1400e6356
cmp byte [rdi + 0x1272], r15b
jne 0x1400e6356
cmp dword [rdi + 0x14c], 0x1a0
jne 0x1400e6356
mov byte [rdi + 0x1e3], 1
cmp ecx, 0xa
jne 0x1400e6377
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1400d5d50
mov edx, 1
mov rcx, rbx
call fcn.1400d9100
mov ecx, dword [rdi + 0x14c]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [rdi + 0x1e4], al
sub ecx, 0xcc
je 0x1400e63a9
cmp ecx, 0x64
jne 0x1400e63be
cmp byte [rdi + 0x530], r15b
je 0x1400e63a9
mov byte [rdi + 0x1364], 1
mov qword [rdi + 0x100], r15
mov qword [rdi + 0x108], r15
mov byte [rdi + 0x1e4], 1
mov ebx, ntohs
mov r8, rbp
xor edx, edx
mov rcx, rsi
call fcn.14019b720
test rax, rax
je 0x1400e6403
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
call fcn.1400d5c60
jmp 0x1400e63ed
mov byte [rdi + 0x1d9], r15b
mov eax, 8
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, dword [rdi + 0x13c]
cmp ecx, 2
jl 0x1400e6444
movzx eax, byte [rsi]
cmp al, 0x20
je 0x1400e6419
cmp al, 9
jne 0x1400e641e
cmp ecx, 2
jg 0x1400e6444
mov r8, rbp
mov edx, 0x3a
mov rcx, rsi
call fcn.14019b720
test rax, rax
jne 0x1400e6444
lea rdx, str.Header_without_colon
mov rcx, rdi
call fcn.1400d5c60
jmp 0x1400e63ed
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.1400e2c40
test eax, eax
jne 0x1400e63f2
mov r9, rbp
lea edx, [rax + 1]
mov r8, rsi
mov rcx, rdi
call fcn.1400d5b70
mov eax, dword [rdi + 0x14c]
sub eax, 0x64
cmp eax, 0x64
jae 0x1400e6478
or ebx, 0x20
mov r9, rbp
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call fcn.1400d7290
test eax, eax
jne 0x1400e63f2
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp fcn.1400e2060
mov rbx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x38]
lea rdx, [rbx + 1]
call fcn.1400c4960
mov r8, rbx
lea rcx, [rsp + 0x38]
mov rdx, rsi
call fcn.1400c48f0
test eax, eax
jne 0x1400e63f7
lea rcx, [rdi + 0xbd0]
call fcn.1400c49a0
lea rcx, [rsp + 0x38]
call fcn.1400c4990
lea rcx, [rsp + 0x38]
mov rbx, rax
call fcn.14002c780
mov rcx, qword [rsp + 0xc0]
mov rdx, rax
mov r9, qword [rsp + 0xb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r8, rbx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1400e51e0
mov rcx, qword [rsp + 0x30]
mov ebx, eax
add qword [r14], rcx
lea rcx, [rsp + 0x38]
call fcn.1400c4920
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret