Function at 0x18003ae20
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 - 0x308]
sub rsp, 0x408
mov rax, qword [0x18008b0c0]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r13, r9
mov r14, r8
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x38], rcx
mov r15, qword [rbp + 0x370]
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
lea r8d, [rsi + 0x12]
lea rdx, str.Sec_WebSocket_Key1
lea rcx, [rbp + 0x38]
call fcn.18002a330
nop
mov rdi, qword [r14 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], sil
jne 0x18003aec3
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp + 0x38]
call fcn.1800048c0
test al, al
je 0x18003aeb7
mov rbx, qword [rbx + 0x10]
jmp 0x18003aebd
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003aea0
lea r12, [0x18008b490]
cmp byte [rdi + 0x19], 0
jne 0x18003aeeb
lea r8, [rdi + 0x20]
lea rdx, [rbp + 0x38]
call fcn.1800048c0
test al, al
jne 0x18003aeeb
cmp rdi, qword [r14 + 0x20]
lea rdx, [rdi + 0x40]
jne 0x18003aeee
mov rdx, r12
lea r8, [rbp + 0x2d0]
call fcn.18003d330
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x18003af39
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003af34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003af34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key2
lea rcx, [rbp + 0x58]
call fcn.18002a330
nop
mov rdi, qword [r14 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18003af93
nop dword [rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp + 0x58]
call fcn.1800048c0
test al, al
je 0x18003af87
mov rbx, qword [rbx + 0x10]
jmp 0x18003af8d
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003af70
cmp byte [rdi + 0x19], 0
jne 0x18003afb4
lea r8, [rdi + 0x20]
lea rdx, [rbp + 0x58]
call fcn.1800048c0
test al, al
jne 0x18003afb4
cmp rdi, qword [r14 + 0x20]
lea rdx, [rdi + 0x40]
jne 0x18003afb7
mov rdx, r12
lea r8, [rbp + 0x2d4]
call fcn.18003d330
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x18003b002
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003affd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003affd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key3
lea rcx, [rbp - 0x58]
call fcn.18002a330
mov rdi, qword [r14 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18003b063
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp - 0x58]
call fcn.1800048c0
test al, al
je 0x18003b057
mov rbx, qword [rbx + 0x10]
jmp 0x18003b05d
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003b040
cmp byte [rdi + 0x19], 0
jne 0x18003b086
lea r8, [rdi + 0x20]
lea rdx, [rbp - 0x58]
call fcn.1800048c0
test al, al
jne 0x18003b086
cmp rdi, qword [r14 + 0x20]
je 0x18003b086
add rdi, 0x40
jmp 0x18003b089
mov rdi, r12
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x18003b0c7
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b0c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b0c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], 8
mov rdx, rdi
lea rax, [rsp + 0x58]
lea r8, [rsp + 0x60]
cmp qword [rdi + 0x18], 0xf
jbe 0x18003b104
mov rdx, qword [rdi]
mov rdi, rdx
cmp rcx, 8
cmovae rax, r8
mov r8, qword [rax]
add r8, rdx
sub r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x2d8]
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Sec_WebSocket_Key3
lea rcx, [rbp + 0xd8]
call fcn.18002a330
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov r8d, select
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x78]
call fcn.18002a330
nop
mov qword [rbp + 0x170], rsi
mov dword [rbp + 0x178], 0x67452301
mov dword [rbp + 0x17c], 0xefcdab89
mov dword [rbp + 0x180], 0x98badcfe
mov dword [rbp + 0x184], 0x10325476
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp + 0x170]
call fcn.180012f90
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x170]
call fcn.1800130a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x20], 0
mov edx, select
mov r9d, edx
lea rcx, [rsp + 0x38]
call fcn.18002a980
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
movups xmm0, xmmword [rbp + 0x2e0]
movups xmmword [rax], xmm0
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0xd8]
mov rcx, r15
call fcn.180005fa0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18003b283
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b27e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b27e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x18003b2d4
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b2cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b2cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x18003b329
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b324
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
mov r8d, 9
lea rdx, str.WebSocket
lea rcx, [rbp + 0xf8]
call fcn.18002a330
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 7
lea rdx, str.Upgrade
lea rcx, [rbp - 0x28]
call fcn.18002a330
nop
lea r8, [rbp + 0xf8]
lea rdx, [rbp - 0x28]
mov rcx, r15
call fcn.180005fa0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x18003b3d0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b3cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b3cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0xf
jbe 0x18003b425
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b420
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b420
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
mov r8d, 7
lea rdx, str.Upgrade
lea rcx, [rbp + 0x118]
call fcn.18002a330
nop
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8d, 0xa
lea rdx, str.Connection
lea rcx, [rbp - 8]
call fcn.18002a330
nop
lea r8, [rbp + 0x118]
lea rdx, [rbp - 8]
mov rcx, r15
call fcn.180005fa0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18003b4cc
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b4c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b4c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x18003b521
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov r8d, shutdown
lea rdx, str.Sec_WebSocket_Origin
lea rcx, [rbp + 0x78]
call fcn.18002a330
mov rdi, qword [r15 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18003b583
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp + 0x78]
call fcn.1800048c0
test al, al
je 0x18003b577
mov rbx, qword [rbx + 0x10]
jmp 0x18003b57d
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003b560
lea rsi, [0x18008b4a0]
cmp byte [rdi + 0x19], 0
jne 0x18003b5ad
lea r8, [rdi + 0x20]
lea rdx, [rbp + 0x78]
call fcn.1800048c0
test al, al
jne 0x18003b5ad
cmp rdi, qword [r15 + 0x20]
je 0x18003b5ad
add rdi, 0x50
jmp 0x18003b5b0
mov rdi, rsi
mov rbx, qword [rdi]
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x18003b5f4
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b5ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b5ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
test rbx, rbx
jne 0x18003b74d
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
lea r8d, [rbx + 6]
lea rdx, str.Origin
lea rcx, [rbp + 0x98]
call fcn.18002a330
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
lea r8d, [rbx + 0x14]
lea rdx, str.Sec_WebSocket_Origin
lea rcx, [rbp + 0x18]
call fcn.18002a330
nop
mov rdi, qword [r14 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18003b686
nop dword [rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp + 0x98]
call fcn.1800048c0
test al, al
je 0x18003b67a
mov rbx, qword [rbx + 0x10]
jmp 0x18003b680
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003b660
cmp byte [rdi + 0x19], 0
jne 0x18003b6aa
lea r8, [rdi + 0x20]
lea rdx, [rbp + 0x98]
call fcn.1800048c0
test al, al
jne 0x18003b6aa
cmp rdi, qword [r14 + 0x20]
je 0x18003b6aa
lea r12, [rdi + 0x40]
mov r8, r12
lea rdx, [rbp + 0x18]
mov rcx, r15
call fcn.180005fa0
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x18003b6f8
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b6f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b6f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x18003b74d
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b748
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b748
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc8], xmm1
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Sec_WebSocket_Location
lea rcx, [rbp + 0xb8]
call fcn.18002a330
mov rdi, qword [r15 + 0x20]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x18003b7b6
nop dword [rax]
lea rdx, [rbx + 0x20]
lea r8, [rbp + 0xb8]
call fcn.1800048c0
test al, al
je 0x18003b7aa
mov rbx, qword [rbx + 0x10]
jmp 0x18003b7b0
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18003b790
cmp byte [rdi + 0x19], 0
jne 0x18003b7da
lea r8, [rdi + 0x20]
lea rdx, [rbp + 0xb8]
call fcn.1800048c0
test al, al
jne 0x18003b7da
cmp rdi, qword [r15 + 0x20]
je 0x18003b7da
lea rsi, [rdi + 0x50]
mov rbx, qword [rsi]
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x18003b821
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b81c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b81c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
test rbx, rbx
jne 0x18003baa8
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov r8, r14
lea rdx, [rbp + 0x158]
call qword [rax + 0x60]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea r8d, [rbx + 0x16]
lea rdx, str.Sec_WebSocket_Location
lea rcx, [rsp + 0x68]
call fcn.18002a330
nop
mov rbx, qword [rbp + 0x158]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x1d0]
call fcn.1800209e0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18003b8a5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x1e0]
call fcn.180031680
lea rdx, [0x180070bf0]
mov rcx, rax
call fcn.180001460
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x18003b8d3
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x30]
mov rcx, rax
call fcn.180031680
movzx edi, word [rbx + 0x60]
mov eax, 0x50
mov ecx, 0x1bb
cmp byte [rbx + 0x62], 0
cmovne ax, cx
cmp di, ax
je 0x18003b919
lea rdx, [0x180070bec]
lea rcx, [rbp + 0x1e0]
call fcn.180001460
mov rcx, rax
movzx edx, di
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
lea rdx, [rbx + 0x40]
cmp qword [rbx + 0x58], 0xf
jbe 0x18003b928
mov rdx, qword [rbx + 0x40]
mov r8, qword [rbx + 0x50]
lea rcx, [rbp + 0x1e0]
call fcn.180031680
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1e8]
call fcn.180024500
nop
mov rax, qword [rbp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1cc], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x1e8], rax
lea rcx, [rbp + 0x1e8]
call fcn.180024450
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea r8, [rbp + 0x138]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.180005fa0
nop
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x18003ba19
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ba14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ba14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
movdqa xmm0, xmmword [0x180075de0]
movdqu xmmword [rbp + 0x148], xmm0
mov byte [rbp + 0x138], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18003ba70
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ba6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ba6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
nop
mov rbx, qword [rbp + 0x160]
test rbx, rbx
je 0x18003baa8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003baa8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003baa8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rbx, [r13 + 0x10]
cmp qword [rbx], 0
je 0x18003bb7b
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Sec_WebSocket_Protocol
lea rcx, [rsp + 0x68]
call fcn.18002a330
nop
lea rcx, [r15 + 0x20]
lea rdx, [rsp + 0x68]
call fcn.180020300
cmp rax, r13
je 0x18003bb3c
cmp qword [r13 + 0x18], 0xf
jbe 0x18003bafd
mov r13, qword [r13]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, rcx
ja 0x18003bb2d
mov rdi, rax
cmp rcx, 0xf
jbe 0x18003bb15
mov rdi, qword [rax]
mov qword [rax + 0x10], rbx
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18003bb3c
mov r9, r13
mov rdx, rbx
mov rcx, rax
call fcn.18002a840
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18003bb7b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003bb76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003bb76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800620a0
mov rax, qword [rbp - 0x30]
mov dword [rax], 0
lea rcx, [0x18008b4b0]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.180061d10
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret