Function at 0x140106dc0
Capabilities:
Set socket configuration
Validate payment card number using luhn algorithm

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x14025d030]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [r8]
mov rdi, rcx
mov rcx, qword [rcx + 0x148]
mov r15, r8
mov qword [rsp + 0x50], r8
mov r13, rdx
mov qword [rsp + 0x58], rdx
mov r8, rax
mov edx, 0xa
mov qword [rsp + 0x48], r9
lea r14, [rdi + 0xc88]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov rbx, rcx
mov r12, rcx
mov rsi, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x140107c37
xor r14d, r14d
lea r8, [rcx + 1]
sub rbx, rcx
lea rax, [rsi - 1]
mov rdx, r12
add rax, rbx
lea rbp, [rdi + 0xc88]
mov qword [r15], rax
mov rcx, rbp
mov qword [rdi + 0x148], r8
sub r8, r12
call fcn.1400dab60
test eax, eax
jne 0x140107002
mov ebx, dword [rdi + 0x144]
test ebx, ebx
jne 0x140106e9f
mov r9, qword [rdi + 0xc90]
mov rdx, r13
mov r8, qword [rbp]
mov rcx, rdi
call fcn.140105790
cmp eax, 2
je 0x140107ce6
mov r15, qword [rbp]
movzx eax, byte [r15]
cmp al, 0xa
je 0x140107418
cmp al, 0xd
je 0x140107418
lea eax, [rbx + 1]
mov esi, 2
mov dword [rdi + 0x144], eax
test ebx, ebx
jne 0x14010732a
mov rax, qword [r13 + 0x328]
mov ecx, dword [rax + 0x84]
test ecx, 0xc0000003
je 0x1401071e9
lea rax, [rsp + 0x70]
xor r12d, r12d
mov qword [rsp + 0x30], rax
lea r14, [rdi + 0x158]
lea rax, [rsp + 0x71]
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
mov dword [rsp + 0x74], r12d
lea rdx, str._HTTP__1d._1d_c_3d_c
mov byte [rsp + 0x70], r12b
mov rcx, r15
call fcn.140046150
mov ebx, eax
cmp eax, 1
jne 0x140106f65
cmp dword [rsp + 0x78], esi
jl 0x140106f65
mov r9, r14
lea r8, [rsp + 0x7c]
lea rdx, str._HTTP__1_23___d
mov rcx, r15
call fcn.140046150
cmp eax, esi
jne 0x140106f65
mov byte [r13 + 0x73f], r12b
lea ebx, [rsi + 2]
mov byte [rsp + 0x71], 0x20
jmp 0x140106f92
movzx eax, byte [rsp + 0x70]
sub al, 0x30
cmp al, 9
jbe 0x140107dd7
cmp ebx, 4
jl 0x140107026
cmp dword [r14], 0x64
jl 0x140107dd7
cmp byte [rsp + 0x71], 0x20
jne 0x140107dbe
mov eax, dword [rsp + 0x78]
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x74]
lea r8d, [rax + rcx*2]
mov ecx, r8d
mov dword [rsp + 0x74], r8d
sub ecx, 0xa
je 0x140106fb7
cmp ecx, 1
jne 0x140107d73
lea rsi, [r13 + 0x73f]
mov byte [rsi], r8b
cmp dword [rdi + 0x174], 3
jne 0x140106fdf
cmp r8b, 0x14
je 0x140106fdf
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, rdi
call fcn.1400f1670
cmp byte [rsi], 0x14
jae 0x140106ff1
mov rax, qword [r13 + 0x700]
mov dword [rax], 0xffffffff
test ebx, ebx
jne 0x140107249
mov byte [rdi + 0x1c1], 0
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14013ea20
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test ebx, ebx
jne 0x140107dbe
mov r8, r14
lea rdx, str._HTTP__3d
mov rcx, r15
call fcn.140046150
lea rsi, [r13 + 0x73f]
mov byte [rsi], 0xa
test eax, eax
jne 0x140107249
mov r10, qword [rbp]
mov ebp, r12d
mov r11, qword [rdi + 0xc90]
mov rbx, qword [rdi + 0x6d8]
cmp r11, 5
setae bpl
test rbx, rbx
je 0x140107151
nop dword [rax + rax]
mov r8, qword [rbx]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], r12b
jne 0x140107090
cmp rax, r11
jae 0x1401070b0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r12b
jne 0x1401070a5
jmp 0x1401070b3
mov rax, r11
test r8, r8
je 0x140107132
test r10, r10
je 0x14010713c
mov r9, r10
cmp byte [r8], r12b
je 0x1401070fb
movzx ecx, byte [r9]
test cl, cl
je 0x1401070fb
test rax, rax
je 0x140107100
movzx edx, byte [r8]
lea r13, [0x1401f42d0]
movzx ecx, byte [rcx + r13]
cmp byte [rdx + r13], cl
mov r13, qword [rsp + 0x58]
jne 0x140107109
inc r8
dec rax
inc r9
cmp byte [r8], r12b
jne 0x1401070c5
test rax, rax
jne 0x140107110
mov edx, 1
test edx, edx
jmp 0x14010713a
mov edx, r12d
test edx, edx
jmp 0x14010713a
movzx ecx, byte [r8]
mov edx, r12d
movzx eax, byte [r9]
lea r8, [0x1401f42d0]
movzx eax, byte [rax + r8]
cmp byte [rcx + r8], al
sete dl
test edx, edx
jmp 0x14010713a
test r10, r10
jne 0x14010713c
test rax, rax
jne 0x14010714b
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140107080
jmp 0x140107151
cmp r11, 5
jae 0x1401071cd
cmp r11, 5
mov eax, 5
cmova r11, rax
test r10, r10
je 0x140106ff9
lea rdx, str.HTTP_
lea r8, [0x1401f42d0]
movzx eax, byte [r10]
test al, al
je 0x14010719e
test r11, r11
je 0x1401071a3
movzx ecx, byte [rdx]
movzx eax, byte [rax + r8]
cmp byte [rcx + r8], al
jne 0x1401071aa
inc rdx
dec r11
inc r10
cmp byte [rdx], r12b
jne 0x140107175
test r11, r11
jne 0x1401071af
mov edx, 1
jmp 0x1401071c5
mov edx, r12d
jmp 0x1401071c5
movzx ecx, byte [rdx]
mov edx, r12d
movzx eax, byte [r10]
movzx eax, byte [rax + r8]
cmp byte [rcx + r8], al
sete dl
test edx, edx
je 0x140106ff9
cmp ebp, 1
jne 0x140106ff9
mov dword [r14], 0xc8
lea rbp, [rdi + 0xc88]
mov byte [rsi], 0xa
jmp 0x140107249
bt ecx, 0x12
jae 0x140106ff9
lea rax, [rsp + 0x72]
mov rcx, r15
lea r14, [rdi + 0x158]
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x84]
mov qword [rsp + 0x20], rax
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.140046150
cmp eax, 4
jne 0x140106ff9
cmp byte [rsp + 0x72], 0x20
jne 0x140106ff9
lea rsi, [r13 + 0x73f]
xor r12d, r12d
mov byte [rsi], listen
mov edx, dword [r14]
movzx ecx, byte [rdi + 0x1131]
mov dword [rdi + 0x1338], edx
movzx eax, byte [rsi]
mov dword [rdi + 0x1340], eax
movzx eax, byte [rsi]
test cl, cl
je 0x14010726d
cmp cl, al
jbe 0x140107273
mov byte [rdi + 0x1131], al
cmp qword [rdi + 0x1140], 0
je 0x140107295
cmp byte [rdi + 0x11b8], 0
jne 0x140107295
cmp edx, 0x1a0
jne 0x140107295
mov byte [rdi + 0x1c4], 1
movzx eax, byte [rsi]
cmp al, 0xa
jne 0x1401072bf
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, rdi
call fcn.1400f1670
cmp byte [r13 + 0x30e], 1
je 0x1401072de
mov byte [r13 + 0x30e], 1
jmp 0x1401072de
cmp al, 0x14
je 0x1401072d1
cmp dword [rdi + 0x174], 2
jne 0x1401072de
cmp edx, 0x65
jne 0x1401072de
mov rax, qword [r13 + 0x700]
mov dword [rax], 2
mov ecx, dword [r14]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [rdi + 0x1c5], al
sub ecx, 0xcc
je 0x14010730d
cmp ecx, 0x64
jne 0x140107322
cmp byte [rdi + 0x528], 0
je 0x14010730d
mov byte [rdi + 0x141c], 1
mov qword [rdi + 0xe8], r12
mov qword [rdi + 0xf0], r12
mov byte [rdi + 0x1c5], 1
mov esi, 6
xor r14d, r14d
mov rbx, qword [rbp]
xor edx, edx
mov rbp, qword [rdi + 0xc90]
mov rcx, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140107e0b
mov ecx, dword [rdi + 0x144]
cmp ecx, 2
jl 0x14010737f
movzx eax, byte [rbx]
cmp al, 0x20
je 0x140107361
cmp al, 9
jne 0x140107366
cmp ecx, 2
jg 0x14010737f
mov r8, rbp
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140107df0
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.1401059c0
test eax, eax
jne 0x140107002
cmp byte [rdi + 0xaa2], al
je 0x1401073a0
or esi, 1
mov r9, qword [rdi + 0xc90]
mov r8, r15
mov ebx, dword [rdi + 0x158]
mov edx, 1
mov rcx, rdi
call fcn.1400f13f0
mov r9, qword [rdi + 0xc90]
lea eax, [rbx - 0x64]
mov edx, esi
mov r8, r15
or edx, 0x10
mov rcx, rdi
cmp eax, 0x64
cmovae edx, esi
call fcn.1400e35a0
test eax, eax
jne 0x140107002
mov rax, qword [rdi + 0xc90]
lea rbp, [rdi + 0xc88]
add qword [rdi + 0x1350], rax
add qword [rdi + 0x108], rax
cmp qword [rbp + 8], 0
je 0x140107bf2
mov rax, qword [rbp]
mov byte [rax], 0
jmp 0x140107bf2
mov ecx, dword [rdi + 0x158]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140107580
sub ecx, 0x64
je 0x14010753e
cmp ecx, 1
je 0x140107452
lea r14, [rdi + 0x1c1]
mov dword [rdi + 0x144], 0
mov byte [r14], 1
jmp 0x14010762b
mov eax, dword [rdi + 0x174]
cmp eax, 2
je 0x140107e26
cmp eax, 1
jne 0x14010752e
mov rbx, qword [rdi + 0x1b0]
lea r8d, [rax + 3]
mov rbp, qword [rdi + 0x18]
mov rcx, rdi
lea rdx, [rbx + 0x209]
call fcn.1400f4600
test eax, eax
jne 0x140107002
movzx edx, byte [rbx + 0x20b]
mov rcx, rdi
movzx eax, byte [rbx + 0x20c]
movzx r9d, byte [rbx + 0x20a]
movzx r8d, byte [rbx + 0x209]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str.Received_101__switch_to_WebSocket__mask__02x_02x_02x_02x
call fcn.1400f1670
mov dword [rdi + 0x174], 3
cmp byte [rdi + 0xa89], 0
je 0x1401074f4
mov rcx, qword [rbp + 0x1a8]
lea r8, [rsp + 0x74]
mov edx, 0x8004667e
mov dword [rsp + 0x74], r14d
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov qword [rbx + 0x258], r14
lea r14, [rdi + 0x1c1]
mov byte [r14], 0
cmp byte [rdi + 0xa89], 0
je 0x140107522
mov rax, qword [rsp + 0x50]
and dword [rdi + 0x15c], 0xfffffffe
mov qword [rax], 0
lea rbp, [rdi + 0xc88]
jmp 0x14010762b
lea r14, [rdi + 0x1c1]
mov byte [r14], 0
jmp 0x14010762b
cmp dword [rdi + 0x170], 0
lea r14, [rdi + 0x1c1]
mov byte [r14], 1
mov dword [rdi + 0x144], 0
jle 0x14010762b
or dword [rdi + 0x15c], 2
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x170], 0
call fcn.1400e2ab0
jmp 0x14010762b
lea rbx, [rdi + 0x1c1]
lea r9, [rdi + 0xe8]
mov byte [rbx], 0
cmp qword [r9], 0xffffffffffffffff
mov r14, rbx
jne 0x140107632
cmp byte [rdi + 0x1c6], 0
jne 0x140107632
cmp byte [r13 + 0x30e], 0
jne 0x140107632
cmp byte [r13 + 0x73f], 0xb
jne 0x140107632
mov rax, qword [r13 + 0x328]
test dword [rax + 0x84], 0x40000
jne 0x140107632
cmp byte [rdi + 0x11b8], 5
je 0x140107632
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, rdi
call fcn.1400f1670
mov rcx, qword [r13 + 0x1d8]
test rcx, rcx
je 0x140107619
nop word [rax + rax]
mov rax, qword [rcx]
mov edx, dword [rax + 8]
test dl, 4
jne 0x14010762b
test dl, 3
jne 0x140107619
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140107600
mov al, 1
cmp al, byte [r13 + 0x30e]
je 0x14010762b
mov byte [r13 + 0x30e], al
lea r9, [rdi + 0xe8]
cmp byte [r14], 0
jne 0x1401076a8
cmp byte [rdi + 0x1c7], 0
jne 0x140107699
cmp byte [r9 + 0xde], 0
jne 0x140107699
mov r8, qword [r9]
cmp r8, 0xffffffffffffffff
je 0x1401076a8
mov rax, qword [rdi + 0x6e8]
test rax, rax
je 0x140107669
cmp r8, rax
jg 0x140107e57
mov edx, dword [rdi + 0xb14]
xor ecx, ecx
mov eax, edx
test r8, r8
cmovns rcx, r8
and eax, 0xffffffbf
or edx, 0x40
test r8, r8
cmovs edx, eax
mov dword [rdi + 0xb14], edx
mov qword [rdi + 0xae8], rcx
mov qword [r9 + 8], r8
jmp 0x1401076a8
mov qword [r9 + 8], 0xffffffffffffffff
mov qword [r9], 0xffffffffffffffff
cmp byte [r13 + 0x30e], 0
je 0x140107740
mov eax, dword [rdi + 0x158]
cmp eax, 0x191
jne 0x1401076cf
cmp dword [r13 + 0x3f0], 2
je 0x1401076e0
jmp 0x1401076f6
cmp eax, 0x197
jne 0x1401076f6
cmp dword [r13 + 0x3f4], 2
jne 0x1401076f6
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1400f1670
mov byte [rdi + 0x12d5], 1
cmp byte [r13 + 0x30e], 0
je 0x140107740
mov eax, dword [rdi + 0x158]
cmp eax, 0x191
jne 0x140107719
cmp dword [r13 + 0x4e8], 1
je 0x14010772a
jmp 0x140107740
cmp eax, 0x197
jne 0x140107740
cmp dword [r13 + 0x4ec], 1
jne 0x140107740
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, rdi
call fcn.1400f1670
mov byte [rdi + 0x12d5], 1
cmp dword [r13 + 0x4e8], 3
jne 0x140107761
cmp dword [rdi + 0x158], 0x191
je 0x140107761
mov dword [r13 + 0x4e8], 4
cmp dword [r13 + 0x4ec], 3
jne 0x140107782
cmp dword [rdi + 0x158], 0x197
je 0x140107782
mov dword [r13 + 0x4ec], 4
mov eax, dword [rdi + 0x158]
xor edx, edx
cmp byte [rdi + 0xaa2], dl
mov rcx, rdi
mov r15, qword [rdi + 0xc90]
mov r8, qword [rbp]
setne dl
sub eax, 0x64
add edx, 2
cmp eax, 0x64
mov r9, r15
sbb eax, eax
and eax, 0x10
or edx, eax
call fcn.1400e35a0
test eax, eax
jne 0x140107002
mov rdx, qword [rdi + 0x108]
movsxd rcx, r15d
add qword [rdi + 0x1350], rcx
add rdx, rcx
mov rcx, rdi
mov qword [rdi + 0x108], rdx
call fcn.1401015f0
test al, al
jne 0x140107f09
cmp dword [rdi + 0x174], 1
mov ecx, dword [rdi + 0x158]
je 0x140107eed
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140107813
mov qword [rdi + 0x110], rdx
jmp 0x140107a41
mov rsi, qword [rdi + 0x18]
mov r9d, 0xffffffbf
mov qword [rdi + 0x110], 0
mov eax, 0xffffffff
mov rdx, qword [rdi + 0x920]
test rdx, rdx
cmovne r9d, eax
cmp byte [rdi + 0x12d5], 0
je 0x140107857
movzx eax, byte [rdi + 0xa9d]
neg al
sbb ebx, ebx
and ebx, 0x16
jmp 0x140107a39
cmp qword [rdi + 0x12b0], 0
jne 0x140107874
xor bpl, bpl
xor al, al
xor ebx, ebx
mov r8, rsi
test rdx, rdx
je 0x1401078f7
cmp ecx, 0x191
je 0x140107896
xor bpl, bpl
xor al, al
xor ebx, ebx
mov r8, rsi
cmp byte [rsi + 0x318], al
je 0x1401078f7
cmp ecx, 0x12c
jge 0x1401078f7
lea rcx, [rdi + 0xdd0]
mov edx, r9d
call fcn.140100210
movzx ebp, al
test al, al
jne 0x1401078b3
mov byte [rdi + 0x12d5], 1
xor al, al
xor ebx, ebx
cmp dword [rdi + 0xdd4], 8
mov r8, rsi
jne 0x1401078f7
cmp byte [rsi + 0x73f], 0xb
jbe 0x1401078f7
lea rdx, str.Forcing_HTTP_1.1_for_NTLM
mov rcx, rdi
call fcn.1400f1670
cmp byte [rsi + 0x30e], 1
je 0x1401078eb
mov byte [rsi + 0x30e], 1
mov byte [rdi + 0x1130], 2
mov r8, rsi
xor al, al
cmp byte [r8 + 0x30a], 0
je 0x14010793d
mov ecx, dword [rdi + 0x158]
cmp ecx, 0x197
je 0x140107921
cmp byte [r8 + 0x318], 0
je 0x14010793d
cmp ecx, 0x12c
jge 0x14010793d
lea rcx, [rdi + 0xde0]
mov edx, 0xffffffbf
call fcn.140100210
test al, al
jne 0x14010793d
mov byte [rdi + 0x12d5], 1
test bpl, bpl
jne 0x1401079ac
test al, al
jne 0x1401079ac
cmp dword [rdi + 0x158], 0x12c
jge 0x140107a0e
cmp byte [rdi + 0xddc], al
jne 0x140107a0e
cmp byte [r8 + 0x318], al
je 0x140107a0e
movzx eax, byte [rdi + 0x11b8]
test al, al
je 0x140107a0e
cmp al, 5
je 0x140107a0e
mov rcx, qword [rdi + 0x11c0]
call qword [case.0x1400e58f8.0]
mov qword [rdi + 0x198], rax
test rax, rax
je 0x140107ee1
mov byte [rdi + 0xddc], 1
jmp 0x140107a0e
movzx eax, byte [rdi + 0x11b8]
test al, al
je 0x1401079d9
cmp al, 5
je 0x1401079d9
cmp byte [rdi + 0x12e3], 0
jne 0x1401079d9
mov rdx, r8
mov rcx, rdi
call fcn.1401002d0
mov ebx, eax
test eax, eax
jne 0x140107ee6
mov rcx, qword [rdi + 0x198]
call qword [0x14025d0c8]
mov rcx, qword [rdi + 0x11c0]
mov qword [rdi + 0x198], 0
call qword [case.0x1400e58f8.0]
mov qword [rdi + 0x198], rax
test rax, rax
je 0x140107ee1
mov rcx, rdi
call fcn.1401015f0
test al, al
je 0x140107a32
mov r8d, dword [rdi + 0x158]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1400f1540
mov ebx, socket
lea rbp, [rdi + 0xc88]
test ebx, ebx
jne 0x140107ee6
cmp dword [rdi + 0x158], 0x12c
jl 0x140107bd7
cmp byte [r13 + 0x318], 0
jne 0x140107bae
cmp byte [r13 + 0x30e], 0
jne 0x140107bae
cmp byte [rdi + 0x12e3], 0
jne 0x140107bb7
movzx ecx, byte [rdi + 0x11b8]
sub ecx, 1
je 0x140107a99
sub ecx, 1
je 0x140107a99
sub ecx, 1
je 0x140107a99
cmp ecx, 1
jne 0x140107bae
xor edx, edx
mov rcx, rdi
call fcn.1400e2ab0
cmp byte [rdi + 0x1c3], 0
jne 0x140107bae
cmp dword [rdi + 0x158], 0x1a1
jne 0x140107b03
cmp byte [rdi + 0x12d7], 0
je 0x140107b03
lea rdx, str.Got_417_while_waiting_for_a_100
mov rcx, rdi
call fcn.1400f1670
mov rcx, qword [rdi + 0x11c0]
mov byte [rdi + 0x12d8], 1
call qword [case.0x1400e58f8.0]
lea rdx, [rdi + 0xe8]
mov rcx, rdi
mov qword [rdi + 0x198], rax
call fcn.1400fbf30
jmp 0x140107bae
cmp byte [rdi + 0xa9e], 0
mov rcx, rdi
je 0x140107b3b
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1400f1670
cmp dword [rdi + 0x170], 0
jle 0x140107bae
or dword [rdi + 0x15c], 2
mov dword [rdi + 0x170], 0
jmp 0x140107bae
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1400f1670
mov rcx, qword [r13 + 0x1d8]
test rcx, rcx
je 0x140107b6c
mov rax, qword [rcx]
mov edx, dword [rax + 8]
test dl, 4
jne 0x140107b7e
test dl, 3
jne 0x140107b6c
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140107b53
mov al, 1
cmp al, byte [r13 + 0x30e]
je 0x140107b7e
mov byte [r13 + 0x30e], al
lea rdx, [rdi + 0xe8]
mov rcx, rdi
call fcn.1400fbf30
test eax, eax
jne 0x140107002
mov byte [rdi + 0x1c3], 1
cmp byte [rdi + 0x12d7], al
je 0x140107bae
mov dword [rdi + 0x170], 3
cmp byte [rdi + 0x12e3], 0
je 0x140107bd7
cmp qword [r13 + 0x350], 0xffffffffffffffff
je 0x140107bd7
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, rdi
call fcn.1400f1670
or dword [rdi + 0x15c], 2
cmp byte [r14], 0
je 0x140107e70
cmp qword [rbp + 8], 0
je 0x140107bef
mov rax, qword [rbp]
mov byte [rax], 0
xor r14d, r14d
mov qword [rbp + 8], r14
mov rbx, qword [rdi + 0x148]
cmp byte [rbx], 0
je 0x140107000
mov r15, qword [rsp + 0x50]
mov edx, 0xa
mov rcx, rbx
mov r12, rbx
mov rsi, qword [r15]
mov r8, rsi
mov rbp, rsi
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
jne 0x140106e41
lea r14, [rdi + 0xc88]
mov r8, rbp
mov rdx, r12
mov rcx, r14
call fcn.1400dab60
test eax, eax
jne 0x140107002
cmp dword [rdi + 0x144], eax
jne 0x140107000
mov r9, qword [rdi + 0xc90]
mov rdx, r13
mov r8, qword [r14]
mov rcx, rdi
call fcn.140105790
cmp eax, 2
jne 0x140107000
mov byte [rdi + 0x1c1], 0
mov dword [rdi + 0x140], eax
test r13, r13
je 0x140107cae
mov rcx, qword [r13 + 0x1d8]
test rcx, rcx
je 0x140107cae
mov rax, qword [rcx]
mov edx, dword [rax + 8]
test dl, 4
jne 0x140107cc0
test dl, 3
jne 0x140107cae
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140107c95
mov al, 1
cmp al, byte [r13 + 0x30e]
je 0x140107cc0
mov byte [r13 + 0x30e], al
cmp byte [rdi + 0xac1], 0
jne 0x140107000
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rdi
call fcn.1400f1540
mov eax, 1
jmp 0x140107002
test r13, r13
je 0x140107d19
mov rcx, qword [r13 + 0x1d8]
test rcx, rcx
je 0x140107d19
nop word [rax + rax]
mov rax, qword [rcx]
mov edx, dword [rax + 8]
test dl, 4
jne 0x140107d2b
test dl, 3
jne 0x140107d19
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140107d00
mov al, 1
cmp al, byte [r13 + 0x30e]
je 0x140107d2b
mov byte [r13 + 0x30e], al
cmp byte [rdi + 0xac1], 0
je 0x140107ccd
mov byte [rdi + 0x1c1], 0
cmp qword [r15], 0
je 0x140107d50
mov dword [rdi + 0x140], 1
jmp 0x140107000
mov rax, qword [rsp + 0x60]
mov dword [rdi + 0x140], 2
mov qword [r15], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x148], rax
jmp 0x140107000
mov r9d, r8d
mov eax, 0x66666667
imul r8d
mov eax, 0x66666667
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
imul r8d
add ecx, ecx
sar edx, 2
sub r9d, ecx
mov r8d, edx
mov rcx, rdi
shr r8d, 0x1f
add r8d, edx
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
call fcn.1400f1540
mov eax, 1
jmp 0x140107002
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rdi
call fcn.1400f1540
mov eax, 1
jmp 0x140107002
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rdi
call fcn.1400f1540
mov eax, 1
jmp 0x140107002
lea rdx, str.Header_without_colon
mov rcx, rdi
mov ebx, 8
call fcn.1400f1540
mov eax, ebx
jmp 0x140107002
lea rdx, str.Nul_byte_in_header
mov rcx, rdi
mov ebx, 8
call fcn.1400f1540
mov eax, ebx
jmp 0x140107002
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rdi
call fcn.1400f1670
mov eax, 1
mov dword [rdi + 0x174], 3
mov byte [rdi + 0x1c1], 1
mov dword [rdi + 0x144], r14d
jmp 0x140107002
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1400f1540
mov eax, 0x3f
jmp 0x140107002
cmp byte [rdi + 0x1cb], 0
jne 0x140107e9f
mov rax, qword [r13 + 0x328]
test dword [rax + 0x84], 0x40000
je 0x140107ea9
cmp dword [rdi + 0x9f0], 2
jne 0x140107ea9
cmp qword [rdi + 0xe8], 0xffffffffffffffff
jg 0x140107ea9
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
jmp 0x140107eae
mov rax, qword [rsp + 0x48]
cmp qword [rdi + 0xf0], 0
jne 0x140107ebd
mov byte [rax], 1
jmp 0x140107ec2
cmp byte [rax], 0
je 0x140107ec9
and dword [rdi + 0x15c], 0xfffffffe
mov r9, r15
mov r8, r12
mov edx, 1
mov rcx, rdi
call fcn.1400f13f0
jmp 0x140107000
mov ebx, reloc.WLDAP32.dll_Ordinal_27
mov eax, ebx
jmp 0x140107002
mov r8d, ecx
lea rdx, str.Refused_WebSockets_upgrade:__d
mov rcx, rdi
call fcn.1400f1540
mov eax, socket
jmp 0x140107002
mov r8d, dword [rdi + 0x158]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.1400f1540
mov eax, socket
jmp 0x140107002