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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [rcx + 0x20]
lea r15, [rcx + 0xf0]
mov qword [r9], 0
lea r12, [rcx + 0xc80]
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
nop
mov r8, rsi
mov edx, 0xa
mov rcx, rbp
call fcn.180157d50
mov rbx, rax
mov rdx, rbp
mov rcx, r12
test rax, rax
je 0x1800caf88
sub rbx, rbp
inc rbx
mov r8, rbx
call fcn.1800ad080
test eax, eax
jne 0x1800cae8c
add qword [r14], rbx
sub rsi, rbx
add rbp, rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rbp
cmp dword [r15 + 0x44], eax
jne 0x1800ca16d
mov rcx, r12
call fcn.1800ad0e0
mov rcx, r12
mov rsi, rax
call fcn.1800ad0f0
mov rdx, rax
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x1800ca157
xor ebx, ebx
lea rcx, str.RTSP_
cmp rsi, 5
mov eax, 5
cmova rsi, rax
setae bl
mov r8, rsi
call fcn.1800bf3c0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
jmp 0x1800ca164
mov r8, rsi
mov rcx, rdi
call fcn.1800c9d30
mov ecx, eax
cmp ecx, 2
je 0x1800cadc5
mov rcx, r12
call fcn.1800ad0f0
mov r14, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1800ca6b8
cmp cl, 0xd
je 0x1800ca6b8
mov ecx, dword [r15 + 0x44]
mov ebp, 4
mov rbx, r12
lea eax, [rcx + 1]
mov dword [r15 + 0x44], eax
test ecx, ecx
jne 0x1800ca575
mov rax, qword [r13 + 0x2c8]
mov ecx, dword [rax + 0x84]
test cl, 3
je 0x1800ca3b1
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1800ca1e3
nop dword [rax]
cmp al, 0x20
je 0x1800ca1d8
cmp al, 9
jne 0x1800ca1e3
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1800ca1d0
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, rbx
call fcn.18012c2a0
test eax, eax
jne 0x1800ca284
movsx edx, byte [rbx + 5]
mov ecx, edx
sub ecx, 0x31
je 0x1800ca2cd
sub ecx, 1
je 0x1800ca21d
cmp ecx, 1
jne 0x1800cadee
movzx eax, byte [rbx + 6]
cmp al, 0x20
je 0x1800ca229
cmp al, 9
jne 0x1800ca284
movsx ecx, byte [rbx + 7]
lea eax, [rdx - 0x30]
lea r9d, [rax + rax*4]
add r9d, r9d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800ca284
movsx edx, byte [rbx + 8]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1800ca284
movsx r8d, byte [rbx + 9]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1800ca284
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xa]
cmp al, 0x20
je 0x1800ca356
sub al, 9
cmp al, bpl
jbe 0x1800ca356
lea rcx, [rdi + 0xc80]
call fcn.1800ad0e0
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.1800ad0f0
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.1800c9d30
cmp eax, 1
jne 0x1800cae66
lea rbx, [r13 + 0x6e4]
mov dword [r15 + 0x50], 0xc8
mov byte [rbx], 0xa
jmp 0x1800ca492
cmp byte [rbx + 6], 0x2e
jne 0x1800cae50
movsx ecx, byte [rbx + 7]
lea eax, [rcx - 0x30]
cmp al, 1
ja 0x1800cae50
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1800ca2f6
cmp al, 9
jne 0x1800cae50
lea r9d, [rcx - 0x26]
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800cae50
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1800cae50
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1800cae50
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1800ca356
cmp al, 9
je 0x1800ca356
sub al, 0xa
cmp al, 3
ja 0x1800cae50
cmp ecx, 0x64
jl 0x1800cae3a
mov ecx, r9d
sub ecx, 0xa
je 0x1800ca370
cmp ecx, 1
jne 0x1800cae07
lea rbx, [r13 + 0x6e4]
mov byte [rbx], r9b
cmp dword [r15 + 0x6c], 3
jne 0x1800ca396
cmp r9b, 0x14
je 0x1800ca396
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rdi
call fcn.1800b9fe0
cmp byte [rbx], 0x14
jae 0x1800ca492
mov rax, qword [r13 + 0x6a8]
mov dword [rax], 0xffffffff
jmp 0x1800ca492
bt ecx, 0x12
jae 0x1800cae66
movzx eax, byte [r14]
mov rbx, r14
test al, al
je 0x1800ca3d9
cmp al, 0x20
je 0x1800ca3ce
cmp al, 9
jne 0x1800ca3d9
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1800ca3c6
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, rbx
call fcn.18012c2a0
test eax, eax
jne 0x1800cae66
movzx eax, byte [rbx + 5]
sub al, 0x30
cmp al, 9
ja 0x1800caee0
cmp byte [rbx + 6], 0x2e
jne 0x1800caee0
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 9
ja 0x1800caee0
movzx eax, byte [rbx + 8]
cmp al, 0x20
je 0x1800ca42c
cmp al, 9
jne 0x1800caee0
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800caee0
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1800caee0
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1800caee0
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 [r15 + 0x50], ecx
movzx eax, byte [rbx + 0xc]
cmp al, 0x20
je 0x1800ca488
cmp al, 9
je 0x1800ca488
sub al, 0xa
cmp al, 3
ja 0x1800caee0
lea rbx, [r13 + 0x6e4]
mov byte [rbx], listen
mov eax, dword [r15 + 0x50]
movzx ecx, byte [rdi + 0x1359]
mov dword [rdi + 0x1380], eax
movzx eax, byte [rbx]
mov dword [rdi + 0x1388], eax
movzx eax, byte [rbx]
test cl, cl
je 0x1800ca4b7
cmp cl, al
jbe 0x1800ca4bd
mov byte [rdi + 0x1359], al
cmp qword [rdi + 0x1168], 0
je 0x1800ca4e2
cmp byte [rdi + 0x135a], 0
jne 0x1800ca4e2
cmp dword [r15 + 0x50], 0x1a0
jne 0x1800ca4e2
mov byte [r15 + 0xd0], 1
movzx eax, byte [r13 + 0x6e4]
cmp al, 0xa
jne 0x1800ca50c
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1800b9fe0
mov edx, 1
mov rcx, r13
call fcn.1800bb870
jmp 0x1800ca52b
cmp al, 0x14
je 0x1800ca51e
cmp dword [r15 + 0x6c], 2
jne 0x1800ca52b
cmp dword [r15 + 0x50], 0x65
jne 0x1800ca52b
mov rax, qword [r13 + 0x6a8]
mov dword [rax], 2
mov ecx, dword [r15 + 0x50]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [r15 + 0xd1], al
sub ecx, 0xcc
je 0x1800ca55c
cmp ecx, 0x64
jne 0x1800ca56d
cmp byte [rdi + 0x510], 0
je 0x1800ca55c
mov byte [rdi + 0x145c], 1
xor eax, eax
mov byte [r15 + 0xd1], 1
mov qword [r15], rax
mov qword [r15 + 8], rax
mov ebp, recv
mov rbx, r12
lea rcx, [rdi + 0xc80]
call fcn.1800ad0f0
mov rcx, rbx
mov rsi, rax
call fcn.1800ad0e0
mov r8, rax
xor edx, edx
mov rcx, rsi
mov rbx, rax
call fcn.180157d50
test rax, rax
jne 0x1800caeb9
mov edx, dword [rdi + 0x134]
cmp edx, 2
jl 0x1800ca5db
movzx ecx, byte [rsi]
cmp cl, 0x20
je 0x1800ca5bd
cmp cl, 9
jne 0x1800ca5c2
cmp edx, 2
jg 0x1800ca5db
mov r8, rbx
mov edx, 0x3a
mov rcx, rsi
call fcn.180157d50
test rax, rax
je 0x1800caea1
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.1800c85c0
test eax, eax
jne 0x1800cae8c
mov eax, dword [r15 + 0x50]
sub eax, 0x64
cmp eax, 0x64
jae 0x1800ca600
or ebp, 0x20
lea rcx, [rdi + 0xc80]
call fcn.1800ad0e0
mov r9, rax
mov r8, r14
mov edx, 1
mov rcx, rdi
call fcn.1800b9e10
lea rcx, [rdi + 0xc80]
call fcn.1800ad0e0
mov r9, rax
mov r8, r14
mov edx, ebp
mov rcx, rdi
call fcn.1800ba510
test eax, eax
jne 0x1800cae8c
lea rcx, [rdi + 0xc80]
call fcn.1800ad0e0
mov r8d, dword [rdi + 0x12c]
mov r9d, 0x4b000
mov rcx, rax
cmp rax, r9
jae 0x1800ca69b
mov edx, dword [rdi + 0x13c8]
add eax, r8d
add dword [rdi + 0x128], ecx
add edx, ecx
mov dword [rdi + 0x13c8], edx
mov dword [rdi + 0x12c], eax
cmp eax, r9d
ja 0x1800ca696
cmp edx, 0x5dc000
jbe 0x1800ca6a7
mov r9d, 0x5dc000
mov eax, edx
mov r8d, eax
jmp 0x1800ca69e
add r8, rcx
test r8, r8
jne 0x1800caf6f
lea rcx, [rdi + 0xc80]
call fcn.1800ad100
jmp 0x1800cada8
mov ecx, dword [r15 + 0x50]
xor r12b, r12b
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1800ca761
sub ecx, 0x64
je 0x1800ca72d
cmp ecx, 1
je 0x1800ca6ea
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jmp 0x1800ca7d5
cmp byte [r13 + 0x6e4], 0xb
jne 0x1800caed1
cmp dword [r15 + 0x6c], 2
jne 0x1800ca721
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rdi
call fcn.1800b9fe0
mov dword [r15 + 0x6c], 3
mov r12b, 1
mov dword [r15 + 0x44], 0
mov byte [r15 + 0xcb], r12b
jmp 0x1800ca7d5
cmp dword [r15 + 0x68], 0
mov byte [r15 + 0xcb], 1
mov dword [r15 + 0x44], 0
jle 0x1800ca7d5
or dword [r15 + 0x54], 2
xor edx, edx
mov rcx, rdi
mov dword [r15 + 0x68], 0
call fcn.1800a7360
jmp 0x1800ca7d5
cmp dword [r15 + 0x6c], 2
jne 0x1800ca774
mov rcx, qword [rdi + 0xd8]
call fcn.1800a74b0
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0xcb], r12b
jne 0x1800ca7d5
cmp byte [r15 + 0xd2], r12b
jne 0x1800ca7d5
cmp byte [r13 + 0x2ae], r12b
jne 0x1800ca7d5
cmp byte [r13 + 0x6e4], 0xb
jne 0x1800ca7d5
mov rax, qword [r13 + 0x2c8]
test dword [rax + 0x84], 0x40000
jne 0x1800ca7d5
cmp byte [rdi + 0x135a], 5
je 0x1800ca7d5
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rdi
call fcn.1800b9fe0
mov edx, 2
mov rcx, r13
call fcn.1800bb870
cmp byte [r15 + 0xcb], 0
jne 0x1800ca830
cmp byte [rdi + 0x1c3], 0
jne 0x1800ca821
cmp byte [r15 + 0xd2], 0
jne 0x1800ca821
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x1800ca830
mov rax, qword [rdi + 0x6d0]
test rax, rax
je 0x1800ca810
cmp rdx, rax
jg 0x1800caee7
mov rcx, rdi
call fcn.1800cc7a0
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x1800ca830
mov qword [r15 + 8], 0xffffffffffffffff
mov qword [r15], 0xffffffffffffffff
cmp byte [r13 + 0x2ae], 0
je 0x1800ca8c8
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x1800ca857
cmp dword [r13 + 0x390], 2
je 0x1800ca868
jmp 0x1800ca87e
cmp eax, 0x197
jne 0x1800ca87e
cmp dword [r13 + 0x394], 2
jne 0x1800ca87e
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800b9fe0
mov byte [rdi + 0x1361], 1
cmp byte [r13 + 0x2ae], 0
je 0x1800ca8c8
mov eax, dword [rdi + 0x140]
cmp eax, 0x191
jne 0x1800ca8a1
cmp dword [r13 + 0x488], 1
je 0x1800ca8b2
jmp 0x1800ca8c8
cmp eax, 0x197
jne 0x1800ca8c8
cmp dword [r13 + 0x48c], 1
jne 0x1800ca8c8
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1800b9fe0
mov byte [rdi + 0x1361], 1
cmp dword [r13 + 0x488], 3
jne 0x1800ca8e9
cmp dword [rdi + 0x140], 0x191
je 0x1800ca8e9
mov dword [r13 + 0x488], 4
cmp dword [r13 + 0x48c], 3
jne 0x1800ca90a
cmp dword [rdi + 0x140], 0x197
je 0x1800ca90a
mov dword [r13 + 0x48c], 4
mov eax, dword [r15 + 0x50]
lea rcx, [rdi + 0xc80]
sub eax, 0x64
mov ebx, 4
cmp eax, 0x64
mov eax, 0x24
cmovb ebx, eax
call fcn.1800ad0e0
lea rcx, [rdi + 0xc80]
mov rsi, rax
call fcn.1800ad0f0
mov r8, rax
mov r9, rsi
mov edx, ebx
mov rcx, rdi
call fcn.1800ba510
test eax, eax
jne 0x1800cae8c
mov ecx, dword [rdi + 0x12c]
mov r9d, 0x4b000
cmp rsi, r9
jae 0x1800ca99c
mov edx, dword [rdi + 0x13c8]
lea r8d, [rsi + rcx]
add dword [rdi + 0x128], esi
add edx, esi
mov dword [rdi + 0x13c8], edx
mov dword [rdi + 0x12c], r8d
cmp r8d, r9d
ja 0x1800ca9a0
cmp edx, 0x5dc000
jbe 0x1800ca9a9
mov r9d, 0x5dc000
mov r8d, edx
jmp 0x1800ca9a0
lea r8, [rsi + rcx]
test r8, r8
jne 0x1800caf6f
mov r8d, dword [r15 + 0x50]
mov rcx, rdi
call fcn.1800cb010
test al, al
jne 0x1800caf59
lea eax, [r8 - 0x64]
cmp eax, 0x63
ja 0x1800ca9ce
mov eax, dword [rdi + 0x128]
jmp 0x1800ca9d0
xor eax, eax
mov edx, dword [rdi + 0x140]
xor bpl, bpl
mov rsi, qword [rdi + 0x20]
xor r14b, r14b
mov dword [rdi + 0x130], eax
xor ebx, ebx
mov rcx, qword [rdi + 0x900]
mov eax, 0xffffffff
test rcx, rcx
mov r9d, 0xffffffbf
cmovne r9d, eax
lea eax, [rdx - 0x64]
cmp eax, 0x63
jbe 0x1800cabee
lea r8, [rdi + 0x1361]
cmp byte [r8], bl
je 0x1800caa2c
movzx eax, byte [rdi + 0xa86]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x1800cabe6
mov rax, r8
cmp qword [rdi + 0x1338], rbx
jne 0x1800caa44
test rcx, rcx
je 0x1800caaae
lea rax, [rdi + 0x1361]
cmp edx, 0x191
je 0x1800caa5f
cmp byte [rsi + 0x2b8], bl
je 0x1800caaae
mov r8, rax
cmp edx, 0x12c
jge 0x1800caaae
lea rcx, [rdi + 0xdd0]
mov edx, r9d
call fcn.1800cb3e0
movzx ebp, al
test al, al
jne 0x1800caa79
mov byte [r8], 1
cmp dword [rdi + 0xdd4], 8
jne 0x1800caaae
cmp byte [rsi + 0x6e4], 0xb
jbe 0x1800caaae
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rdi
call fcn.1800b9fe0
mov edx, 1
mov rcx, rsi
call fcn.1800bb870
mov byte [rdi + 0x1358], 2
cmp byte [rsi + 0x2aa], bl
je 0x1800caaf2
mov eax, dword [rdi + 0x140]
cmp eax, 0x197
je 0x1800caad2
cmp byte [rsi + 0x2b8], bl
je 0x1800caaf2
cmp eax, 0x12c
jge 0x1800caaf2
lea rcx, [rdi + 0xde0]
mov edx, 0xffffffbf
call fcn.1800cb3e0
movzx r14d, al
test al, al
jne 0x1800caaf2
mov byte [rdi + 0x1361], 1
test bpl, bpl
jne 0x1800cab61
test r14b, r14b
jne 0x1800cab61
cmp dword [rdi + 0x140], 0x12c
jge 0x1800cabc2
cmp byte [rdi + 0xddc], bl
jne 0x1800cabc2
cmp byte [rsi + 0x2b8], bl
je 0x1800cabc2
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x1800cabc2
cmp al, 5
je 0x1800cabc2
mov rcx, qword [rdi + 0x1200]
call qword [case.0x1800ae19b.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x1800caefd
mov byte [rdi + 0xddc], 1
jmp 0x1800cabc2
movzx eax, byte [rdi + 0x135a]
test al, al
je 0x1800cab8d
cmp al, 5
je 0x1800cab8d
cmp byte [rdi + 0x136f], bl
jne 0x1800cab8d
mov rdx, rsi
mov rcx, rdi
call fcn.1800c9e70
mov ebx, eax
test eax, eax
jne 0x1800caf02
mov rcx, qword [rdi + 0x180]
call qword [fcn.18011f3c8]
mov rcx, qword [rdi + 0x1200]
mov qword [rdi + 0x180], 0
call qword [case.0x1800ae19b.2]
mov qword [rdi + 0x180], rax
test rax, rax
je 0x1800caefd
mov rcx, rdi
call fcn.1800cb010
test al, al
je 0x1800cabe6
mov r8d, dword [rdi + 0x140]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800b9ef0
mov ebx, socket
test ebx, ebx
jne 0x1800caf02
cmp dword [r15 + 0x50], 0x12c
jl 0x1800cad7e
cmp byte [r13 + 0x2b8], 0
jne 0x1800cad57
cmp byte [r13 + 0x2ae], 0
jne 0x1800cad57
cmp byte [rdi + 0x136f], 0
jne 0x1800cad60
movzx ecx, byte [rdi + 0x135a]
sub ecx, 1
je 0x1800cac44
sub ecx, 1
je 0x1800cac44
sub ecx, 1
je 0x1800cac44
cmp ecx, 1
jne 0x1800cad57
xor edx, edx
mov rcx, rdi
call fcn.1800a7360
cmp byte [r15 + 0xcf], 0
jne 0x1800cad57
cmp dword [r15 + 0x50], 0x1a1
jne 0x1800cace5
cmp byte [rdi + 0x1363], 0
je 0x1800cace5
cmp qword [r15 + 0x18], 0
jne 0x1800cac8e
cmp dword [r15 + 0x68], 1
jne 0x1800cac8e
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, rdi
call fcn.1800b9fe0
jmp 0x1800cacbd
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, rdi
call fcn.1800b9fe0
mov edx, 2
mov rcx, r13
call fcn.1800bb870
mov rdx, r13
mov rcx, rdi
call fcn.1800c9e70
test eax, eax
jne 0x1800cae8c
mov rcx, qword [rdi + 0x1200]
mov byte [rdi + 0x1364], 1
call qword [case.0x1800ae19b.2]
mov rdx, r15
mov rcx, rdi
mov qword [rdi + 0x180], rax
call fcn.1800c1ba0
jmp 0x1800cad57
cmp byte [rdi + 0xa87], 0
mov rcx, rdi
je 0x1800cad13
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1800b9fe0
cmp dword [r15 + 0x68], 0
jle 0x1800cad57
or dword [r15 + 0x54], 2
mov dword [r15 + 0x68], 0
jmp 0x1800cad57
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1800b9fe0
mov edx, 2
mov rcx, r13
call fcn.1800bb870
mov rdx, r15
mov rcx, rdi
call fcn.1800c1ba0
test eax, eax
jne 0x1800cae8c
mov byte [r15 + 0xcf], 1
cmp byte [rdi + 0x1363], al
je 0x1800cad57
mov dword [r15 + 0x68], 3
cmp byte [rdi + 0x136f], 0
je 0x1800cad7e
cmp qword [r13 + 0x2f0], 0xffffffffffffffff
je 0x1800cad7e
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rdi
call fcn.1800b9fe0
or dword [r15 + 0x54], 2
cmp byte [r15 + 0xcb], 0
je 0x1800caf06
lea rcx, [rdi + 0xc80]
call fcn.1800ad100
test r12b, r12b
jne 0x1800cb003
lea r12, [rdi + 0xc80]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x1800cae6e
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
jmp 0x1800ca0b0
mov edx, 2
mov rcx, r13
call fcn.1800bb870
cmp byte [rdi + 0xaa9], 0
je 0x1800caff4
mov byte [r15 + 0xcb], 0
mov al, 1
jmp 0x1800cae70
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 1
jmp 0x1800cae8c
mov eax, 0x66666667
mov rcx, rdi
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.1800b9ef0
mov eax, 1
jmp 0x1800cae8c
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 1
jmp 0x1800cae8c
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 1
jmp 0x1800cae8c
mov byte [r15 + 0xcb], 0
xor al, al
cmp byte [r15 + 0xcb], 0
jne 0x1800cae8a
test al, al
jne 0x1800cae8a
lea rcx, [rdi + 0xc80]
call fcn.1800ad090
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Header_without_colon
mov rcx, rdi
mov ebx, 8
call fcn.1800b9ef0
mov eax, ebx
jmp 0x1800cae8c
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
mov ebx, 8
call fcn.1800b9ef0
mov eax, ebx
jmp 0x1800cae8c
lea rdx, str.unexpected_101_response_code
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 8
jmp 0x1800cae8c
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 0x3f
jmp 0x1800cae8c
mov ebx, 0x1b
mov eax, ebx
jmp 0x1800cae8c
cmp byte [rdi + 0x1c7], 0
je 0x1800caf17
mov byte [r15 + 0xcd], 1
cmp qword [r15 + 8], 0
jne 0x1800caf26
mov byte [r15 + 0xcd], 1
lea rcx, [rdi + 0xc80]
call fcn.1800ad0e0
lea rcx, [rdi + 0xc80]
mov rbx, rax
call fcn.1800ad0f0
mov r8, rax
mov r9, rbx
mov edx, 1
mov rcx, rdi
call fcn.1800b9e10
jmp 0x1800cae6e
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1800b9ef0
mov eax, socket
jmp 0x1800cae8c
lea rdx, str.Too_large_response_headers:__zu____u
mov rcx, rdi
call fcn.1800b9ef0
mov eax, gethostname
jmp 0x1800cae8c
mov r8, rsi
call fcn.1800ad080
test eax, eax
jne 0x1800cae8c
add qword [r14], rsi
cmp dword [r15 + 0x44], eax
jne 0x1800cae6e
mov rcx, r12
call fcn.1800ad0e0
mov rcx, r12
mov rbx, rax
call fcn.1800ad0f0
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rdi
call fcn.1800c9e00
cmp eax, 2
jne 0x1800cae6e
mov edx, eax
mov byte [r15 + 0xcb], 0
mov rcx, r13
call fcn.1800bb870
cmp byte [rdi + 0xaa9], 0
je 0x1800caff4
mov al, 1
jmp 0x1800cae70
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rdi
call fcn.1800b9ef0
mov eax, 1
jmp 0x1800cae8c