Function at 0x180056420
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x78], r9
mov rsi, r8
mov qword [rsp + 0x58], r8
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x70], rcx
mov rax, qword [rbp + 0x280]
mov qword [rbp - 0x78], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key1
lea rcx, [rbp - 0x70]
call fcn.180005170
nop
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], r14b
jne 0x180056576
nop dword [rax]
nop dword [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, qword [rbp - 0x70]
add r13, qword [rbp - 0x60]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rbx, qword [rbp - 0x70]
cmp qword [r9 + 0x18], 0xf
jbe 0x1800564f7
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056501
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x180056548
cmp rbx, r13
je 0x180056558
movzx esi, byte [rbx]
movzx ecx, byte [r14]
call fcn.18016711c
mov edi, eax
mov ecx, esi
call fcn.18016711c
cmp edi, eax
jl 0x18005654d
movzx esi, byte [r14]
movzx ecx, byte [rbx]
call fcn.18016711c
mov edi, eax
mov ecx, esi
call fcn.18016711c
cmp edi, eax
jl 0x180056558
inc r14
inc rbx
cmp r14, r12
jne 0x180056506
cmp rbx, r13
je 0x180056558
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x180056563
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x1800564c0
mov rsi, qword [rsp + 0x58]
xor r14d, r14d
lea rdi, [0x1801d8368]
mov qword [rsp + 0x60], rdi
cmp byte [rbx + 0x19], 0
jne 0x1800565a3
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x70]
call fcn.18000c120
test al, al
jne 0x1800565a3
cmp rbx, qword [rsi + 0x20]
lea rdx, [rbx + 0x40]
jne 0x1800565a6
mov rdx, rdi
lea r8, [rbp + 0x1f0]
call fcn.180058a80
nop
lea rcx, [rbp - 0x70]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key2
lea rcx, [rbp - 0x50]
call fcn.180005170
nop
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1800566bd
nop word [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r13, qword [rbp - 0x50]
add r13, qword [rbp - 0x40]
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp qword [r9 + 0x18], 0xf
jbe 0x180056637
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056641
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x180056688
cmp rsi, r13
je 0x180056698
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x18005668d
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056698
inc r14
inc rsi
cmp r14, r12
jne 0x180056646
cmp rsi, r13
je 0x180056698
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x1800566a3
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x180056600
lea rdi, [0x1801d8368]
mov rsi, qword [rsp + 0x58]
xor r14d, r14d
cmp byte [rbx + 0x19], 0
jne 0x1800566de
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x50]
call fcn.18000c120
test al, al
jne 0x1800566de
cmp rbx, qword [rsi + 0x20]
lea rdx, [rbx + 0x40]
jne 0x1800566e1
mov rdx, rdi
lea r8, [rbp + 0x1f4]
call fcn.180058a80
nop
lea rcx, [rbp - 0x50]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key3
lea rcx, [rbp - 0x30]
call fcn.180005170
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x1800567f6
nop dword [rax]
nop dword [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r13, qword [rbp - 0x30]
add r13, qword [rbp - 0x20]
lea rsi, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rsi, qword [rbp - 0x30]
cmp qword [r9 + 0x18], 0xf
jbe 0x180056777
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056781
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x1800567c8
cmp rsi, r13
je 0x1800567d8
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x1800567cd
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x1800567d8
inc r14
inc rsi
cmp r14, r12
jne 0x180056786
cmp rsi, r13
je 0x1800567d8
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x1800567e3
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x180056740
mov rsi, qword [rsp + 0x58]
xor r14d, r14d
cmp byte [rbx + 0x19], 0
jne 0x180056819
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x30]
call fcn.18000c120
test al, al
jne 0x180056819
cmp rbx, qword [rsi + 0x20]
je 0x180056819
add rbx, 0x40
jmp 0x180056820
lea rbx, [0x1801d8368]
lea rcx, [rbp - 0x30]
call fcn.180003f70
mov rax, qword [rbx + 0x10]
mov r8d, 8
cmp qword [rbx + 0x18], 0xf
jbe 0x180056849
cmp rax, r8
cmovb r8, rax
add r8, qword [rbx]
mov rbx, qword [rbx]
jmp 0x180056853
cmp rax, r8
cmovb r8, rax
add r8, rbx
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.180183610
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1f0]
lea rcx, [rsp + 0x68]
call fcn.180005170
nop
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x98], 0x67452301
mov dword [rbp + 0x9c], 0xefcdab89
mov dword [rbp + 0xa0], 0x98badcfe
mov dword [rbp + 0xa4], 0x10325476
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp + 0x90]
call fcn.18001b5a0
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x90]
call fcn.18001b6a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
mov edx, r9d
lea rcx, [rbp + 0x50]
call fcn.180005d50
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
movups xmm0, xmmword [rbp + 0x1f0]
movups xmmword [rax], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x38], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key3
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x38]
mov rsi, qword [rbp - 0x78]
mov rcx, rsi
call fcn.18000d4a0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
nop
lea rcx, [rbp + 0x50]
call fcn.180003f70
nop
lea rcx, [rsp + 0x68]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 9
lea rdx, str.WebSocket
lea rcx, [rsp + 0x68]
call fcn.180005170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 7
lea rdx, str.Upgrade
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.18000d4a0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
nop
lea rcx, [rsp + 0x68]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 7
lea rdx, str.Upgrade
lea rcx, [rsp + 0x68]
call fcn.180005170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 0xa
lea rdx, str.Connection
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.18000d4a0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
nop
lea rcx, [rsp + 0x68]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov r8d, shutdown
lea rdx, str.Sec_WebSocket_Origin
lea rcx, [rbp - 0x10]
call fcn.180005170
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x180056b95
nop word [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r13, qword [rbp - 0x10]
add r13, qword [rbp]
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rsi, qword [rbp - 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x180056b17
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056b21
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x180056b68
cmp rsi, r13
je 0x180056b78
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056b6d
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056b78
inc r14
inc rsi
cmp r14, r12
jne 0x180056b26
cmp rsi, r13
je 0x180056b78
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x180056b83
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x180056ae0
mov rsi, qword [rbp - 0x78]
xor r14d, r14d
cmp byte [rbx + 0x19], 0
jne 0x180056bb8
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x10]
call fcn.18000c120
test al, al
jne 0x180056bb8
cmp rbx, qword [rsi + 0x20]
je 0x180056bb8
add rbx, 0x50
jmp 0x180056bbf
lea rbx, [0x1801d8378]
mov rbx, qword [rbx]
lea rcx, [rbp - 0x10]
call fcn.180003f70
test rbx, rbx
jne 0x180056d50
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov r8d, 6
lea rdx, str.Origin
lea rcx, [rbp + 0x10]
call fcn.180005170
nop
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rdi + 0x20]
mov qword [rsp + 0x30], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x180056cd6
nop word [rax + rax]
lea r9, [r15 + 0x20]
lea r13, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova r13, qword [rbp + 0x10]
add r13, qword [rbp + 0x20]
lea rsi, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rsi, qword [rbp + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x180056c57
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056c61
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x180056ca8
cmp rsi, r13
je 0x180056cb8
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056cad
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056cb8
inc r14
inc rsi
cmp r14, r12
jne 0x180056c66
cmp rsi, r13
je 0x180056cb8
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x180056cc3
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x180056c20
mov rdi, qword [rsp + 0x58]
xor r14d, r14d
cmp byte [rbx + 0x19], 0
jne 0x180056cfc
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x10]
call fcn.18000c120
test al, al
jne 0x180056cfc
cmp rbx, qword [rdi + 0x20]
je 0x180056cfc
lea rax, [rbx + 0x40]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, shutdown
lea rdx, str.Sec_WebSocket_Origin
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rsi, qword [rbp - 0x78]
mov rcx, rsi
call fcn.18000d4a0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
nop
lea rcx, [rbp + 0x10]
call fcn.180003f70
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Sec_WebSocket_Location
lea rcx, [rbp + 0x30]
call fcn.180005170
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x60], rbx
mov r15, qword [rbx + 8]
cmp byte [r15 + 0x19], 0
jne 0x180056e45
nop dword [rax]
lea r9, [r15 + 0x20]
lea r13, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r13, qword [rbp + 0x30]
add r13, qword [rbp + 0x40]
lea rsi, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rsi, qword [rbp + 0x30]
cmp qword [r9 + 0x18], 0xf
jbe 0x180056dc7
mov r12, qword [r9]
mov r14, r12
add r12, qword [r9 + 0x10]
jmp 0x180056dd1
mov r12, qword [r9 + 0x10]
add r12, r9
mov r14, r9
cmp r14, r12
je 0x180056e18
cmp rsi, r13
je 0x180056e28
movzx edi, byte [rsi]
movzx ecx, byte [r14]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056e1d
movzx edi, byte [r14]
movzx ecx, byte [rsi]
call fcn.18016711c
mov ebx, eax
mov ecx, edi
call fcn.18016711c
cmp ebx, eax
jl 0x180056e28
inc r14
inc rsi
cmp r14, r12
jne 0x180056dd6
cmp rsi, r13
je 0x180056e28
mov r15, qword [r15 + 0x10]
mov rbx, qword [rsp + 0x60]
jmp 0x180056e33
mov rbx, r15
mov qword [rsp + 0x60], rbx
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x180056d90
mov rsi, qword [rbp - 0x78]
xor r14d, r14d
cmp byte [rbx + 0x19], 0
jne 0x180056e68
lea r8, [rbx + 0x20]
lea rdx, [rbp + 0x30]
call fcn.18000c120
test al, al
jne 0x180056e68
cmp rbx, qword [rsi + 0x20]
je 0x180056e68
add rbx, 0x50
jmp 0x180056e6f
lea rbx, [0x1801d8378]
mov rbx, qword [rbx]
lea rcx, [rbp + 0x30]
call fcn.180003f70
test rbx, rbx
jne 0x180057014
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
mov r8, qword [rsp + 0x58]
lea rdx, [rbp + 0x1f0]
call qword [rax + 0x60]
nop
mov rbx, qword [rbp + 0x1f0]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xf0]
call fcn.180183cb0
lea rcx, [rbp + 0xf0]
call fcn.18002b770
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180056eda
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x100]
call fcn.180043ba0
lea rdi, [rbx + 0x20]
lea rdx, [0x1801a3830]
mov rcx, rax
call fcn.180004d80
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x180056f0b
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.180043ba0
mov eax, 0x50
mov ecx, 0x1bb
cmp byte [rbx + 0x62], 0
cmovne ax, cx
cmp word [rbx + 0x60], ax
je 0x180056f4d
lea rdx, [0x1801a3270]
lea rcx, [rbp + 0x100]
call fcn.180004d80
movzx edx, word [rbx + 0x60]
mov rcx, rax
call fcn.18002bd60
lea rdx, [rbx + 0x40]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180056f5f
mov rdx, qword [rdx]
lea rcx, [rbp + 0x100]
call fcn.180043ba0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x108]
call fcn.180030c50
nop
lea rcx, [rbp + 0xf0]
call fcn.18000be20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Sec_WebSocket_Location
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.18000d4a0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
nop
lea rcx, [rsp + 0x68]
call fcn.180003f70
nop
mov rbx, qword [rbp + 0x1f8]
test rbx, rbx
je 0x180057014
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180057014
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180057014
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x78]
cmp qword [rbx + 0x10], 0
je 0x18005707f
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Sec_WebSocket_Protocol
lea rcx, [rsp + 0x38]
call fcn.180005170
nop
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x38]
call fcn.18002ade0
cmp rax, rbx
je 0x180057075
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180057069
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1800311e0
nop
lea rcx, [rsp + 0x38]
call fcn.180003f70
mov rax, qword [rbp + 0x80]
mov dword [rax], r14d
lea rcx, [0x1801db998]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1801525e0
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret