Function at 0x14004f490
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 [0x14012c040]
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.0x14004f500.103
je case.0x14004f500.103
lea eax, [rdx - 0x64]
cmp eax, 0xd0
ja case.0x14004f500.103
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x4f858]
mov ecx, dword [r8 + rax*4 + 0x4f850]
add rcx, r8
jmp rcx
cmp edx, 0x65
jne case.0x14004f500.103
cmp dword [rsi + 0x50], 0xb
je 0x14004f524
mov edx, 7
lea rcx, [rbp - 0x49]
call fcn.14004f930
jmp 0x14004f606
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0x90], r14
call fcn.140027820
lea r8, [rbp - 0x29]
mov rcx, rsi
lea rdx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3b0]
movaps xmmword [rbp - 0x29], xmm0
call fcn.140046330
mov rbx, qword [rbp - 0x41]
lea r14, [rsi + 0x20]
cmp rbx, r14
jne 0x14004f574
mov edx, 0xa
lea rcx, [rbp - 0x49]
call fcn.14004f930
jmp 0x14004f5f6
mov qword [rsp + 0x98], r13
test rbx, rbx
jne 0x14004f599
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x14010f030]
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.140028c50
test al, al
jne 0x14004f621
lea edx, [r13 + 0xb]
lea rcx, [rbp - 0x49]
call fcn.14004f930
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.1400c86b0
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.140050a00
mov rbx, qword [rbp - 0x41]
cmp rbx, r14
jne 0x14004f643
mov edx, 0xc
jmp 0x14004f5e5
test rbx, rbx
jne 0x14004f660
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x14010f030]
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.140028c50
test al, al
jne 0x14004f6af
mov edx, 0xd
jmp 0x14004f5e5
mov r8d, 0x119
lea rdx, [rbp - 0x41]
mov rcx, rsi
call fcn.140050a00
mov rbx, qword [rbp - 0x41]
cmp rbx, r14
jne 0x14004f6d4
mov edx, reloc.WS2_32.dll_select
jmp 0x14004f5e5
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.14002bc20
movzx r15d, byte [rbp - 9]
test rbx, rbx
jne 0x14004f732
lea r8d, [rbx + 0x3f]
lea rdx, str.E:_boost_1_83_0_boostintrusivedetailhook_traits.hpp
lea rcx, [0x14010f030]
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 0x14004f831
cmp r15, r14
jne 0x14004f831
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.14003e600
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdi + 0x58], xmm0
mov rcx, qword [rdi + 0x68]
cmp byte [rdi + 0x78], r13b
je 0x14004f7c5
lea rdx, [rcx + 0x28]
mov r9, 0xffffffffffffffff
mov rcx, qword [rcx + 0x58]
lea r8, [rdi + 0x80]
call fcn.14004f1c0
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.140031e00
jmp 0x14004f5ee
mov edx, setsockopt
jmp 0x14004f5e5
mov edx, setsockopt
lea rcx, [rbp - 0x49]
call fcn.14004f930
jmp 0x14004f606