Function at 0x1400e0fc0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rsi, r8
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], reloc.WS2_32.dll_select
mov qword [rbp + 0x38], 0x1f
movups xmm0, xmmword [str.Sec_WebSocket_Key1]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401b0cd0]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], r12b
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x40], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], r12b
jne 0x1400e111c
nop word [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r13, qword [rbp + 0x20]
add r13, qword [rbp + 0x30]
lea rsi, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rsi, qword [rbp + 0x20]
cmp qword [r9 + 0x18], 0xf
jbe 0x1400e1097
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x1400e10a1
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x1400e10ec
cmp rsi, r13
je 0x1400e10fc
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e10f1
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e10fc
inc r14
inc rsi
cmp r14, r12
jne 0x1400e10a6
cmp rsi, r13
je 0x1400e10fc
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x40]
jmp 0x1400e1107
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1400e1060
mov rsi, qword [rbp + 0x1c0]
xor r12d, r12d
lea rdi, [0x1402757f0]
cmp byte [rbx + 0x19], 0
jne 0x1400e1144
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x20]
call fcn.1400b51e0
test al, al
jne 0x1400e1144
cmp rbx, qword [rsi + 0x20]
lea rdx, [rbx + 0x40]
jne 0x1400e1147
mov rdx, rdi
lea r8, [rsp + 0x70]
call fcn.1400e36d0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400e1190
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e118b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e118b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x50], reloc.WS2_32.dll_select
mov qword [rbp + 0x58], 0x1f
movups xmm0, xmmword [str.Sec_WebSocket_Key2]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401b0cb8]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x40], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1400e12b3
nop
lea r9, [r15 + 0x20]
lea r13, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r13, qword [rbp + 0x40]
add r13, qword [rbp + 0x50]
lea rsi, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rsi, qword [rbp + 0x40]
cmp qword [r9 + 0x18], 0xf
jbe 0x1400e1227
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x1400e1231
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x1400e127c
cmp rsi, r13
je 0x1400e128c
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e1281
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e128c
inc r14
inc rsi
cmp r14, r12
jne 0x1400e1236
cmp rsi, r13
je 0x1400e128c
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x40]
jmp 0x1400e1297
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1400e11f0
lea rdi, [0x1402757f0]
mov rsi, qword [rbp + 0x1c0]
xor r12d, r12d
cmp byte [rbx + 0x19], 0
jne 0x1400e12d4
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.1400b51e0
test al, al
jne 0x1400e12d4
cmp rbx, qword [rsi + 0x20]
lea rdx, [rbx + 0x40]
jne 0x1400e12d7
mov rdx, rdi
lea r8, [rsp + 0x74]
call fcn.1400e36d0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400e1320
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e131b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e131b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
mov qword [rbp - 0x18], r12
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], reloc.WS2_32.dll_select
mov qword [rbp - 8], 0x1f
movups xmm0, xmmword [str.Sec_WebSocket_Key3]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401b0c80]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x40], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1400e1436
lea r8, [r15 + 0x20]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
mov r13, qword [rbp - 0x10]
add r13, rcx
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, qword [rbp - 0x20]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400e13ad
mov r12, qword [r8]
mov r14, r12
add r12, qword [r8 + 0x10]
jmp 0x1400e13b7
mov r12, qword [r8 + 0x10]
add r12, r8
mov r14, r8
cmp r14, r12
je 0x1400e1406
nop dword [rax]
cmp rsi, r13
je 0x1400e1416
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e140b
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e1416
inc r14
inc rsi
cmp r14, r12
jne 0x1400e13c0
cmp rsi, r13
je 0x1400e1416
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x40]
jmp 0x1400e1421
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1400e1373
mov rsi, qword [rbp + 0x1c0]
xor r12d, r12d
cmp byte [rbx + 0x19], 0
jne 0x1400e1457
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x20]
call fcn.1400b51e0
test al, al
jne 0x1400e1457
cmp rbx, qword [rsi + 0x20]
lea rdi, [rbx + 0x40]
jne 0x1400e145e
lea rdi, [0x1402757f0]
mov r9, qword [rbp - 8]
cmp r9, 0xf
jbe 0x1400e149d
lea rdx, [r9 + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1498
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
mov qword [rbp - 0x10], r12
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], rbx
mov byte [rbp - 0x20], 0
mov rax, qword [rdi + 0x10]
mov r8d, 8
cmp qword [rdi + 0x18], rbx
jbe 0x1400e14cd
cmp rax, r8
cmovb r8, rax
add r8, qword [rdi]
mov rdi, qword [rdi]
jmp 0x1400e14d7
cmp rax, r8
cmovb r8, rax
add r8, rdi
sub r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, select
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14004dde0
nop
mov qword [rbp + 0xe0], 0
mov dword [rbp + 0xe8], 0x67452301
mov dword [rbp + 0xec], 0xefcdab89
mov dword [rbp + 0xf0], 0x98badcfe
mov dword [rbp + 0xf4], 0x10325476
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.1400b8bd0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xe0]
call fcn.1400b8cd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x40], 1
mov byte [rsp + 0x20], 0
mov edx, select
mov r9d, edx
lea rcx, [rbp - 0x60]
call fcn.140070690
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rax, qword [rbp - 0x60]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp - 0x40], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_select]
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [str.Sec_WebSocket_Key3]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401b0c80]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov r14, qword [rbp + 0x1d0]
mov rcx, r14
call fcn.1400ba770
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400e1654
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e164f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e164f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
movdqa xmm0, xmmword [0x1401b40a0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400e16a3
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e169e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e169e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400e16ef
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e16ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e16ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 9
mov rdi, rbx
mov qword [rbp + 0x98], rbx
movsd xmm0, qword [str.WebSocket]
movsd qword [rbp + 0x80], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rbp + 0x88], al
mov byte [rbp + 0x89], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_getsockopt]
movdqu xmmword [rbp - 0x70], xmm1
mov rax, qword [str.Upgrade]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1401b0c14]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x1401b0c16]
mov byte [rbp - 0x7a], al
mov byte [rbp - 0x79], 0
lea rdx, [rbp - 0x80]
lea r15, [0x1401a2220]
movzx eax, byte [rdx]
cmp byte [rax + r15], 0
je 0x1400e178a
inc rdx
lea rax, [rbp - 0x79]
cmp rdx, rax
jne 0x1400e1774
lea rcx, [rbp - 0x80]
movq rax, xmm1
add rcx, rax
cmp rdx, rcx
jne 0x1400e1f7c
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1400ba6d0
cmp qword [rax + 0x10], 0
jne 0x1400e17e6
lea rdx, [rbp - 0x80]
lea rcx, [r14 + 0x20]
call fcn.1400c99f0
lea rcx, [rbp + 0x80]
cmp rax, rcx
je 0x1400e185f
mov r8d, 9
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.14004d3e0
jmp 0x1400e1858
mov qword [rsp + 0x30], 9
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 2
lea r9, [0x14019cde0]
lea r8, [rbp + 0x80]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140055090
nop
lea rdx, [rbp - 0x80]
lea rcx, [r14 + 0x20]
call fcn.1400c99f0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.14004d550
nop
lea rcx, [rsp + 0x50]
call fcn.14004d380
mov rdi, qword [rbp + 0x98]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400e189d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1898
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1898
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
movdqa xmm0, xmmword [0x1401b40a0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
cmp rdi, 0xf
jbe 0x1400e18ec
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e18e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e18e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x78], rbx
mov rax, qword [str.Upgrade]
mov dword [rbp + 0x60], eax
movzx eax, word [0x1401b0c14]
mov word [rbp + 0x64], ax
movzx eax, byte [0x1401b0c16]
mov byte [rbp + 0x66], al
mov byte [rbp + 0x67], 0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_ioctlsocket]
movdqu xmmword [rbp + 0x10], xmm1
movsd xmm0, qword [str.Connection]
movsd qword [rbp], xmm0
movzx eax, word [0x1401b0c40]
mov word [rbp + 8], ax
mov byte [rbp + 0xa], 0
lea rdx, [rbp]
movzx eax, byte [rdx]
cmp byte [rax + r15], 0
je 0x1400e1969
inc rdx
lea rax, [rbp + 0xa]
cmp rdx, rax
jne 0x1400e1953
lea rcx, [rbp]
movq rax, xmm1
add rcx, rax
cmp rdx, rcx
jne 0x1400e1f1f
lea rdx, [rbp]
mov rcx, r14
call fcn.1400ba6d0
cmp qword [rax + 0x10], 0
jne 0x1400e19bf
lea rdx, [rbp]
lea rcx, [r14 + 0x20]
call fcn.1400c99f0
lea rcx, [rbp + 0x60]
cmp rax, rcx
je 0x1400e1a2f
mov r8d, 7
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.14004d3e0
jmp 0x1400e1a2b
mov qword [rsp + 0x30], 7
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 2
lea r9, [0x14019cde0]
lea r8, [rbp + 0x60]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140055090
nop
lea rdx, [rbp]
lea rcx, [r14 + 0x20]
call fcn.1400c99f0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.14004d550
nop
lea rcx, [rsp + 0x50]
call fcn.14004d380
mov rbx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400e1a6d
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1a68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1a68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
movdqa xmm0, xmmword [0x1401b40a0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
cmp rbx, 0xf
jbe 0x1400e1ab9
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1ab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1ab4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
mov qword [rbp + 0xa8], r12
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xb0], setsockopt
mov qword [rbp + 0xb8], 0x1f
movups xmm0, xmmword [str.Sec_WebSocket_Origin]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401b0c08]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov rbx, qword [r14 + 0x20]
mov qword [rsp + 0x40], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1400e1bf6
nop word [rax + rax]
lea r8, [r15 + 0x20]
lea r13, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova r13, qword [rbp + 0xa0]
add r13, qword [rbp + 0xb0]
lea rsi, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rsi, qword [rbp + 0xa0]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400e1b6c
mov r12, qword [r8]
mov r14, r12
add r12, qword [r8 + 0x10]
jmp 0x1400e1b76
mov r12, qword [r8 + 0x10]
add r12, r8
mov r14, r8
cmp r14, r12
je 0x1400e1bc6
nop dword [rax + rax]
cmp rsi, r13
je 0x1400e1bd6
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e1bcb
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp ebx, eax
jl 0x1400e1bd6
inc r14
inc rsi
cmp r14, r12
jne 0x1400e1b80
cmp rsi, r13
je 0x1400e1bd6
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x40]
jmp 0x1400e1be1
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1400e1b20
mov r14, qword [rbp + 0x1d0]
xor r12d, r12d
lea rdi, [0x140275800]
cmp byte [rbx + 0x19], 0
jne 0x1400e1c23
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0xa0]
call fcn.1400b51e0
test al, al
jne 0x1400e1c23
cmp rbx, qword [r14 + 0x20]
je 0x1400e1c23
add rbx, 0x50
jmp 0x1400e1c26
mov rbx, rdi
mov rbx, qword [rbx]
mov r9, qword [rbp + 0xb8]
cmp r9, 0xf
jbe 0x1400e1c6e
lea rdx, [r9 + 1]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
test rbx, rbx
jne 0x1400e1cce
lea rdx, str.Origin
lea rcx, [rbp - 0x40]
call fcn.14004d340
nop
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp + 0x1c0]
call fcn.1400ba6d0
mov rbx, rax
lea rdx, str.Sec_WebSocket_Origin
lea rcx, [rsp + 0x50]
call fcn.14004d340
nop
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400ba770
nop
lea rcx, [rsp + 0x50]
call fcn.14004d380
nop
lea rcx, [rbp - 0x40]
call fcn.14004d380
mov qword [rbp + 0xc8], r12
mov ecx, 0x20
call fcn.14016d318
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xd0], reloc.WS2_32.dll_shutdown
mov qword [rbp + 0xd8], 0x1f
movups xmm0, xmmword [str.Sec_WebSocket_Location]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401b0ce8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1401b0cec]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
mov rbx, qword [r14 + 0x20]
mov qword [rsp + 0x40], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1400e1e1d
nop word [rax + rax]
lea r9, [r15 + 0x20]
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
mov r13, qword [rbp + 0xd0]
add r13, rdx
lea rbx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rbx, qword [rbp + 0xc0]
cmp qword [r9 + 0x18], 0xf
jbe 0x1400e1d8f
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x1400e1d99
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x1400e1de6
nop
cmp rbx, r13
je 0x1400e1df6
movzx esi, byte [rbx]
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov edi, eax
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp edi, eax
jl 0x1400e1deb
movzx esi, byte [r14]
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov edi, eax
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp edi, eax
jl 0x1400e1df6
inc r14
inc rbx
cmp r14, r12
jne 0x1400e1da0
cmp rbx, r13
je 0x1400e1df6
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x40]
jmp 0x1400e1e01
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1400e1d40
lea rdi, [0x140275800]
mov r14, qword [rbp + 0x1d0]
xor r12d, r12d
lea r8, [rbp + 0xc0]
mov rdx, rbx
call fcn.1400d7e40
test al, al
je 0x1400e1e3a
cmp rbx, qword [r14 + 0x20]
je 0x1400e1e3a
lea rdi, [rbx + 0x50]
mov rbx, qword [rdi]
lea rcx, [rbp + 0xc0]
call fcn.14004d380
test rbx, rbx
jne 0x1400e1ebb
mov rcx, qword [rbp + 0x1b0]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x1c0]
lea rdx, [rsp + 0x70]
call qword [rax + 0x60]
nop
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400b6330
mov rbx, rax
lea rdx, str.Sec_WebSocket_Location
lea rcx, [rsp + 0x50]
call fcn.14004d340
nop
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400ba770
nop
lea rcx, [rsp + 0x50]
call fcn.14004d380
nop
lea rcx, [rbp - 0x40]
call fcn.14004d380
nop
lea rcx, [rsp + 0x70]
call fcn.140099a80
mov rbx, qword [rbp + 0x1c8]
cmp qword [rbx + 0x10], 0
je 0x1400e1ef6
lea rdx, str.Sec_WebSocket_Protocol
lea rcx, [rsp + 0x50]
call fcn.14004d340
nop
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400ba9c0
nop
lea rcx, [rsp + 0x50]
call fcn.14004d380
mov rax, qword [rbp + 0x1b8]
mov dword [rax], r12d
lea rcx, [0x140275de0]
mov qword [rax + 8], rcx
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp - 0x40]
call fcn.140052300
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.140052300
mov rbx, rax
lea rdx, str.Invalid_header_name
lea rcx, [rsp + 0x50]
call fcn.14004d340
nop
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8d, 0x190
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call fcn.1400b81b0
lea rdx, [0x1401d6958]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 0x40]
call fcn.140052300
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.140052300
mov rbx, rax
lea rdx, str.Invalid_header_name
lea rcx, [rsp + 0x50]
call fcn.14004d340
nop
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8d, 0x190
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call fcn.1400b81b0
lea rdx, [0x1401d6958]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3