Function at 0x14004f430
Capabilities:
Check http status code

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14012e040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rdx
mov qword [rbp - 0x49], r9
mov edx, dword [rdx + 0x54]
mov r12, r9
mov r15, r8
mov rdi, rcx
cmp edx, 0x190
ja case.0x14004f4a0.103
je case.0x14004f4a0.103
lea eax, [rdx - 0x64]
cmp eax, 0xd0
ja case.0x14004f4a0.103
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x4f7f8]
mov ecx, dword [r8 + rax*4 + 0x4f7f0]
add rcx, r8
jmp rcx
cmp edx, 0x65
jne case.0x14004f4a0.103
cmp dword [rsi + 0x50], 0xb
je 0x14004f4c4
mov edx, 7
lea rcx, [rbp - 0x49]
call fcn.14004f8d0
jmp 0x14004f5a6
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0x90], r14
call fcn.140027860
lea r8, [rbp - 0x29]
mov rcx, rsi
lea rdx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3b0]
movaps xmmword [rbp - 0x29], xmm0
call fcn.1400462d0
mov rbx, qword [rbp - 0x41]
lea r14, [rsi + 0x20]
cmp rbx, r14
jne 0x14004f514
mov edx, 0xa
lea rcx, [rbp - 0x49]
call fcn.14004f8d0
jmp 0x14004f596
mov qword [rsp + 0x98], r13
test rbx, rbx
jne 0x14004f539
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x140110030]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, word [rbx + 0x32]
lea rdx, [rbx + 0x30]
movzx ecx, word [rdx]
xor r13d, r13d
test rdx, rdx
mov qword [rbp - 0x21], rax
lea rax, str.upgrade
mov qword [rbp - 0x39], 7
cmove rbx, r13
mov qword [rbp - 0x41], rax
add rcx, 0x38
lea rdx, [rbp - 0x41]
add rcx, rbx
mov qword [rbp - 0x29], rcx
lea rcx, [rbp - 0x29]
call fcn.140028c90
test al, al
jne 0x14004f5c1
lea edx, [r13 + 0xb]
lea rcx, [rbp - 0x49]
call fcn.14004f8d0
mov r13, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c8700
add rsp, 0xa0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 0x142
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.1400509a0
mov rbx, qword [rbp - 0x41]
cmp rbx, r14
jne 0x14004f5e3
mov edx, 0xc
jmp 0x14004f585
test rbx, rbx
jne 0x14004f600
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x140110030]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, word [rbx + 0x32]
lea rdx, [rbx + 0x30]
movzx ecx, word [rdx]
test rdx, rdx
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x29]
cmove rbx, r13
mov qword [rbp - 0x21], 9
add rcx, 0x38
lea rax, str.websocket
add rcx, rbx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x41], rcx
lea rcx, [rbp - 0x41]
call fcn.140028c90
test al, al
jne 0x14004f64f
mov edx, 0xd
jmp 0x14004f585
mov r8d, 0x119
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.1400509a0
mov rbx, qword [rbp - 0x41]
cmp rbx, r14
jne 0x14004f674
mov edx, reloc.WS2_32.dll_select
jmp 0x14004f585
xor eax, eax
lea rdx, [rbp - 0x29]
xor cl, cl
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], eax
xorps xmm0, xmm0
mov byte [rbp + 0x14], al
movzx eax, cl
mov byte [rbp - 9], cl
movups xmmword [rbp - 8], xmm0
mov byte [rbp + rax - 8], cl
lea rax, [r15 + 1]
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 9]
movzx eax, byte [r15]
mov qword [rbp - 0x21], rax
call fcn.14002bc60
movzx r15d, byte [rbp - 9]
test rbx, rbx
jne 0x14004f6d2
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x140110030]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r14d, word [rbx + 0x32]
lea rax, [rbx + 0x30]
movzx edx, word [rax]
lea rcx, [rbp - 8]
cmp r14, r15
mov r8, r15
cmovb r8, r14
test rax, rax
cmove rbx, r13
add rdx, 0x38
add rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004f7d1
cmp r15, r14
jne 0x14004f7d1
xorps xmm0, xmm0
mov qword [rbp - 0x19], r13
movups xmmword [r12], xmm0
lea rcx, [rbp - 0x29]
mov rdx, rsi
movsd xmm0, qword [rbp - 0x19]
movsd qword [r12 + 0x10], xmm0
call fcn.14003e5a0
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdi + 0x58], xmm0
mov rcx, qword [rdi + 0x68]
cmp byte [rdi + 0x78], r13b
je 0x14004f765
lea rdx, [rcx + 0x28]
mov r9, 0xffffffffffffffff
mov rcx, qword [rcx + 0x58]
lea r8, [rdi + 0x80]
call fcn.14004f160
mov byte [rdi + 0x78], r13b
movabs rax, 0x7fffffffffffffff
lea rcx, [rdi + 0x30]
mov qword [rdi + 0x70], rax
xor edx, edx
and byte [rdi + 0x1c5], 0xfe
mov byte [rdi + 0x973], r13b
mov word [rdi + 0xe0], r13w
mov qword [rdi + 0x8cc], r13
mov qword [rdi + 0x8d4], 1
mov qword [rdi + 0x1b0], r13
mov word [rdi + 0x8c9], 0x100
mov byte [rdi + 0x8cb], r13b
mov word [rdi + 0x8dc], r13w
mov qword [rdi + 0x8f0], r13
call fcn.140031e40
jmp 0x14004f58e
mov edx, setsockopt
jmp 0x14004f585
mov edx, setsockopt
lea rcx, [rbp - 0x49]
call fcn.14004f8d0
jmp 0x14004f5a6