Function at 0x4699f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4801df
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x12c], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], 0x1f
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Key1]
mov ecx, eax
mov dword [ebp - 0x18], 0x12
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
mov ax, word [0x487848]
mov word [ecx + 0x10], ax
mov byte [ecx + 0x12], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4c]
add esi, 0x18
push eax
mov ecx, esi
call fcn.00440060
mov edi, dword [ebp - 0x44]
cmp byte [edi + 0xd], 0
jne 0x469ae5
lea eax, [edi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d2d0
test al, al
jne 0x469ae5
cmp edi, dword [esi]
je 0x469ae5
add edi, 0x28
jmp 0x469aea
mov edi, 0x49c064
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.004559a0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x469b37
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469b2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x469b2d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Key2]
mov ecx, eax
mov dword [ebp - 0x18], 0x12
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
mov ax, word [0x48785c]
mov word [ecx + 0x10], ax
mov byte [ecx + 0x12], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00440060
mov edi, dword [ebp - 0x44]
cmp byte [edi + 0xd], 0
jne 0x469bc8
lea eax, [edi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d2d0
test al, al
jne 0x469bc8
cmp edi, dword [esi]
je 0x469bc8
add edi, 0x28
jmp 0x469bcd
mov edi, 0x49c064
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.004559a0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x469c1a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469c10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x469c10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Key3]
mov ecx, eax
mov dword [ebp - 0x18], 0x12
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
mov ax, word [0x487834]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
mov byte [ecx + 0x12], 0
push eax
mov ecx, esi
call fcn.00440060
mov edi, dword [ebp - 0x44]
cmp byte [edi + 0xd], 0
jne 0x469ca2
lea eax, [edi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d2d0
test al, al
jne 0x469ca2
cmp edi, dword [esi]
lea esi, [edi + 0x28]
jne 0x469ca7
mov esi, 0x49c064
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x469cdd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469cd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x469cd3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0xf
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x124], 8
jbe 0x469d1a
cmp edx, 8
lea edi, [ebp - 0x124]
mov edx, dword [esi]
mov esi, edx
cmovae ecx, edi
jmp 0x469d28
cmp edx, 8
lea eax, [ebp - 0x124]
mov edx, esi
cmovae ecx, eax
mov eax, dword [ecx]
add eax, esi
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x60]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [ebp - 0x124]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0x1f
push eax
movups xmmword [ebp - 0x58], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Key3]
mov ecx, eax
mov dword [ebp - 0x48], 0x12
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], ecx
movups xmmword [ecx], xmm0
mov ax, word [0x487834]
mov word [ecx + 0x10], ax
mov byte [ecx + 0x12], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x124], 0x1f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.00411520
movups xmm0, xmmword [ebp - 0x68]
mov ecx, dword [ebp - 0x124]
mov edx, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
movups xmmword [edx], xmm0
mov byte [edx + 0x10], 0
cmp ecx, 0xf
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc4], 0
cmova eax, edx
mov dword [ebp - 0xc8], 0
push 0x10
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], 0x67452301
push eax
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
call fcn.00462d00
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00462dd0
add esp, 0x30
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], 0
push 0
push 0x10
mov dword [ebp - 0x124], 1
call fcn.00407410
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x68]
mov edi, dword [ebp - 0x128]
mov ecx, edi
movups xmmword [eax], xmm0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044f670
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x469ed2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469ec8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469f45
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x469f18
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469f0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469f45
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x469f55
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469f4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x469f4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov al, byte [0x487868]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 9
movq xmm0, qword [str.WebSocket]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
mov eax, dword [str.Upgrade]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov ax, word [0x4877bc]
mov word [ebp - 0x24], ax
mov al, byte [0x4877be]
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0044f670
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x46a004
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x469ffa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a043
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x46a053
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a049
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46a049
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov eax, dword [str.Upgrade]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], eax
movzx eax, word [0x4877bc]
mov word [ebp - 0x3c], ax
mov al, byte [0x4877be]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x39], 0
movzx eax, word [0x4877c8]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 7
movq xmm0, qword [str.Connection]
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0044f670
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x46a103
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a0f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a142
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x46a152
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a148
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46a148
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Origin]
mov ecx, eax
mov dword [ebp - 0x18], 0x14
mov eax, dword [ebp - 0x124]
add esp, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
movups xmmword [ecx], xmm0
mov eax, dword [0x487790]
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [edi + 0x18]
call fcn.00440060
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x46a1e6
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.0044d2d0
test al, al
jne 0x46a1e6
cmp esi, dword [edi + 0x18]
je 0x46a1e6
add esi, 0x38
jmp 0x46a1eb
mov esi, 0x49c074
mov ecx, dword [ebp - 0x14]
mov esi, dword [esi]
cmp ecx, 0xf
jbe 0x46a223
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a219
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46a219
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
test esi, esi
jne 0x46a378
mov eax, dword [str.Origin]
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x70], eax
mov ax, word [0x4877b4]
mov dword [ebp - 0x60], 6
mov dword [ebp - 0x5c], 0xf
mov word [ebp - 0x6c], ax
mov byte [ebp - 0x6a], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x124], 0x1f
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Origin]
mov ecx, eax
mov dword [ebp - 0x18], 0x14
mov eax, dword [ebp - 0x124]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
mov eax, dword [0x487790]
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], 0
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [eax + 0x18]
call fcn.00440060
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x46a2fc
mov ecx, dword [ebp - 0x12c]
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ecx + 0x18]
call fcn.0044d2d0
test al, al
jne 0x46a2fc
mov eax, dword [ebp - 0x12c]
cmp esi, dword [eax + 0x18]
je 0x46a2fc
add esi, 0x28
jmp 0x46a301
mov esi, 0x49c064
push esi
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0044f670
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x46a347
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a33d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46a33d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xf
jbe 0x46a378
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.004076e0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0x1f
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Location]
mov ecx, eax
mov dword [ebp - 0x18], 0x16
mov eax, dword [ebp - 0x124]
add esp, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
movups xmmword [ecx], xmm0
mov eax, dword [0x48787c]
mov dword [ecx + 0x10], eax
mov ax, word [0x487880]
mov word [ecx + 0x14], ax
mov byte [ecx + 0x16], 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [edi + 0x18]
call fcn.00440060
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x46a416
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.0044d2d0
test al, al
jne 0x46a416
cmp esi, dword [edi + 0x18]
je 0x46a416
add esi, 0x38
jmp 0x46a41b
mov esi, 0x49c074
mov ecx, dword [ebp - 0x14]
mov esi, dword [esi]
cmp ecx, 0xf
jbe 0x46a453
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46a449
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46a449
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
test esi, esi
jne 0x46a662
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x48]
push dword [ebp - 0x12c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x124], 0x1f
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Location]
mov ecx, eax
mov dword [ebp - 0x18], 0x16
mov eax, dword [ebp - 0x124]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
mov eax, dword [0x48787c]
mov dword [ecx + 0x10], eax
mov ax, word [0x487880]
mov word [ecx + 0x14], ax
mov byte [ecx + 0x16], 0
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x120]
push 1
mov byte [ebp - 4], 0xc
call fcn.00445d90
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov byte [ebp - 4], 0xd
jbe 0x46a4f8
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004377b0
push 0x485928
push eax
call fcn.00435780
add esp, 0x14
lea ecx, [esi + 0x18]
cmp dword [esi + 0x2c], 0xf
jbe 0x46a522
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
push eax
call fcn.004377b0
movzx ecx, word [esi + 0x48]
add esp, 0xc
cmp byte [esi + 0x4a], 0
mov eax, 0x50
mov edx, 0x1bb
cmovne eax, edx
cmp cx, ax
je 0x46a566
push ecx
lea eax, [ebp - 0x110]
push 0x48877c
push eax
call fcn.00435780
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
cmp dword [esi + 0x44], 0xf
lea eax, [esi + 0x30]
jbe 0x46a572
mov eax, dword [esi + 0x30]
push dword [esi + 0x40]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004377b0
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x108]
push eax
call fcn.0043bd10
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.004394f0
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x100]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edi, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
mov ecx, edi
call fcn.0044f670
lea ecx, [ebp - 0x40]
call fcn.00405b20
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x46a62d
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.004076e0
add esp, 0xc
mov esi, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46a662
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46a65c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x46a65c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x134]
cmp dword [esi + 0x10], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x134], eax
je 0x46a729
lea eax, [ebp - 0x124]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0x1f
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.00411520
movups xmm0, xmmword [str.Sec_WebSocket_Protocol]
mov ecx, eax
mov dword [ebp - 0x30], 0x16
mov eax, dword [ebp - 0x124]
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], ecx
movups xmmword [ecx], xmm0
mov eax, dword [0x4877a8]
mov dword [ecx + 0x10], eax
mov ax, word [0x4877ac]
mov word [ecx + 0x14], ax
mov byte [ecx + 0x16], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x18]
call fcn.0044c5f0
mov ecx, eax
cmp ecx, esi
je 0x46a711
cmp dword [esi + 0x14], 0xf
jbe 0x46a703
mov esi, dword [esi]
mov eax, dword [ebp - 0x134]
push dword [eax]
push esi
call fcn.00406e50
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x46a729
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x40]
push eax
call fcn.004076e0
add esp, 0xc
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov dword [eax + 4], 0x49c034
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cb4
mov esp, ebp
pop ebp
ret 0x10