Function at 0x10023e40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046429
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10058014]
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 - 0x150], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], 0
push 0x12
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf4], 0
push str.Sec_WebSocket_Key1
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2c]
add esi, 0x18
push eax
mov ecx, esi
call fcn.1001b240
mov edi, dword [ebp - 0x24]
cmp byte [edi + 0xd], 0
jne 0x10023f11
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10002dc0
test al, al
je 0x10023f13
mov edi, dword [esi]
cmp edi, dword [esi]
jne 0x10023f1e
mov edi, 0x10058108
jmp 0x10023f21
add edi, 0x28
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.100269d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x10023f6e
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023f64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023f64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 0x12
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0xf4]
push str.Sec_WebSocket_Key2
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1001b240
mov edi, dword [ebp - 0x24]
cmp byte [edi + 0xd], 0
jne 0x10023fdb
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10002dc0
test al, al
je 0x10023fdd
mov edi, dword [esi]
cmp edi, dword [esi]
jne 0x10023fe8
mov edi, 0x10058108
jmp 0x10023feb
add edi, 0x28
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.100269d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x10024038
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002402e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002402e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 0x12
push str.Sec_WebSocket_Key3
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
call fcn.100110a0
lea eax, [ebp - 0xf4]
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001b240
mov edi, dword [ebp - 0x24]
cmp byte [edi + 0xd], 0
jne 0x10024097
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10002dc0
test al, al
je 0x10024099
mov edi, dword [esi]
cmp edi, dword [esi]
jne 0x100240a4
mov edi, 0x10058108
jmp 0x100240a7
add edi, 0x28
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x100240e3
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100240d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100240d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 0xe4], 0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp dword [edi + 0x14], 0x10
mov edx, dword [edi + 0x10]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x118], 8
jb 0x1002412f
cmp edx, 8
lea edx, [ebp - 0x118]
cmovae ecx, edx
mov edx, dword [edi]
mov edi, edx
jmp 0x1002413d
cmp edx, 8
lea eax, [ebp - 0x118]
mov edx, edi
cmovae ecx, eax
mov eax, dword [ecx]
add eax, edi
sub eax, edx
push eax
push edx
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
push 0x12
push str.Sec_WebSocket_Key3
call fcn.100110a0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x20]
push 0x10
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0xf4]
push eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp - 0xe4]
cmovae edx, dword [ebp - 0xf4]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0x67452301
mov dword [ebp - 0x78], 0xefcdab89
mov dword [ebp - 0x74], 0x98badcfe
mov dword [ebp - 0x70], 0x10325476
call fcn.1000d5c0
mov edx, dword [ebp - 0x84]
mov eax, edx
mov ecx, dword [ebp - 0x80]
shr eax, 8
mov byte [ebp - 0x27], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x26], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0x25], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x23], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x22], al
mov eax, 0xfffffff7
mov byte [ebp - 0x28], dl
shr edx, 3
sub eax, edx
mov byte [ebp - 0x24], cl
shr ecx, 0x18
and eax, 0x3f
inc eax
mov byte [ebp - 0x21], cl
push eax
mov edx, 0x1004b8c8
lea ecx, [ebp - 0x84]
call fcn.1000d5c0
push 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x84]
call fcn.1000d5c0
add esp, 0xc
xor edx, edx
nop dword [eax]
mov eax, edx
mov ecx, edx
and eax, 0xfffffffc
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax - 0x7c]
shr eax, cl
mov byte [ebp + edx - 0x20], al
inc edx
cmp edx, 0x10
jl 0x10024290
push 0
push 0x10
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x130]
push dword [ebp - 0xf8]
mov dword [ebp - 0x130], 0
push 0x10
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x118], 1
call fcn.10014aa0
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
movups xmm0, xmmword [ebp - 0x20]
cmovae eax, dword [ebp - 0x130]
mov edi, dword [ebp - 0x114]
mov ecx, edi
movups xmmword [eax], xmm0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10003e70
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x1002436e
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024411
push edx
push ecx
call fcn.100427b2
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x100243c3
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100243b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024411
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp edx, 0x10
jb 0x10024421
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024417
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024417
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 9
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x110]
push str.WebSocket
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.100110a0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xf4]
push 7
mov dword [ebp - 0xf4], 0
push str.Upgrade
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xf4]
mov ecx, edi
push eax
call fcn.10003e70
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x100244e9
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100244df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024537
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp edx, 0x10
jb 0x10024547
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002453d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002453d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 7
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x110]
push str.Upgrade
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.100110a0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xf4]
push 0xa
mov dword [ebp - 0xf4], 0
push str.Connection
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xf4]
mov ecx, edi
push eax
call fcn.10003e70
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x1002460f
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024605
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002465d
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp edx, 0x10
jb 0x1002466d
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024663
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 0x14
push str.Sec_WebSocket_Origin
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
call fcn.100110a0
lea ecx, [ebp - 0x110]
push ecx
lea eax, [edi + 0x18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xf8], eax
push ecx
mov ecx, eax
call fcn.1001b240
mov edi, dword [ebp - 0x24]
cmp byte [edi + 0xd], 0
jne 0x100246dd
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002dc0
test al, al
jne 0x100246dd
mov eax, dword [ebp - 0x114]
jmp 0x100246e6
mov eax, dword [ebp - 0x114]
mov edi, dword [eax + 0x18]
cmp edi, dword [eax + 0x18]
jne 0x100246f2
mov edi, 0x10058118
jmp 0x100246f5
add edi, 0x38
mov edx, dword [ebp - 0xfc]
mov edi, dword [edi]
cmp edx, 0x10
jb 0x10024733
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024729
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
test edi, edi
jne 0x1002488e
push 6
mov dword [ebp - 0x130], edi
lea ecx, [ebp - 0x130]
push str.Origin
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
call fcn.100110a0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xf4]
push 0x14
mov dword [ebp - 0xf4], edi
push str.Sec_WebSocket_Origin
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.100110a0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1001b240
mov edi, dword [ebp - 0x24]
cmp byte [edi + 0xd], 0
jne 0x100247d3
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.10002dc0
test al, al
je 0x100247d5
mov edi, dword [esi]
cmp edi, dword [esi]
jne 0x100247e0
mov edi, 0x10058108
jmp 0x100247e3
add edi, 0x28
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0xf4]
push edi
push eax
call fcn.10003e70
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x10024830
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002487e
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp edx, 0x10
jb 0x1002488e
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024884
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
push 0x16
push str.Sec_WebSocket_Location
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
call fcn.100110a0
mov edi, dword [ebp - 0xf8]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001b240
mov esi, dword [ebp - 0x24]
cmp byte [esi + 0xd], 0
jne 0x100248fc
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002dc0
test al, al
jne 0x100248fc
cmp esi, dword [edi]
je 0x100248fc
add esi, 0x38
jmp 0x10024901
mov esi, 0x10058118
mov edx, dword [ebp - 0xfc]
mov esi, dword [esi]
cmp edx, 0x10
jb 0x1002493f
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024935
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024935
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
test esi, esi
jne 0x10024bac
mov ecx, dword [ebp - 0x150]
lea edx, [ebp - 0x28]
push dword [ebp - 0x154]
xorps xmm0, xmm0
push edx
mov eax, dword [ecx]
movlpd qword [ebp - 0x28], xmm0
call dword [eax + 0x30]
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x110]
push 0x16
mov dword [ebp - 0x110], esi
push str.Sec_WebSocket_Location
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.100110a0
push 0xb0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x28]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.1000f360
mov byte [ebp - 4], 0xd
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x100249d0
mov edx, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xcc]
call fcn.1001a860
add esp, 4
mov edx, 0x1004b03c
mov ecx, eax
call fcn.100128f0
cmp dword [esi + 0x2c], 0x10
lea edx, [esi + 0x18]
mov ecx, eax
jb 0x100249fb
mov edx, dword [esi + 0x18]
push dword [esi + 0x28]
call fcn.1001a860
movzx ecx, word [esi + 0x48]
add esp, 4
cmp byte [esi + 0x4a], 0
mov eax, 0x50
mov edx, 0x1bb
cmovne eax, edx
cmp cx, ax
je 0x10024a39
push ecx
mov edx, 0x1004b038
lea ecx, [ebp - 0xcc]
call fcn.100128f0
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], 0x10
lea edx, [esi + 0x30]
jb 0x10024a45
mov edx, dword [esi + 0x30]
push dword [esi + 0x40]
lea ecx, [ebp - 0xcc]
call fcn.1001a860
add esp, 4
lea eax, [ebp - 0x14c]
lea ecx, [ebp - 0xc4]
push eax
call fcn.10010d10
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.10010c70
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xe
push eax
call fcn.10003e70
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x10024b1c
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024b12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b67
push edx
push ecx
call fcn.100427b2
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
cmp edx, 0x10
jb 0x10024b77
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024b6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024b6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10024bac
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10024ba6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10024ba6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xf8]
mov esi, dword [ebp - 0x134]
cmp dword [esi + 0x10], 0
je 0x10024c5d
push 0x16
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x14c]
push str.Sec_WebSocket_Protocol
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
call fcn.100110a0
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.1000eb00
mov ecx, esi
cmp eax, ecx
je 0x10024c21
cmp dword [ecx + 0x14], 0x10
jb 0x10024c16
mov ecx, dword [ecx]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.100110a0
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x10024c5d
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024c53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024c53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
mov eax, dword [ebp - 0x158]
mov dword [eax], 0
mov dword [eax + 4], 0x10058030
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.10041f5c
mov esp, ebp
pop ebp
ret 0x10