Function at 0x14018d140
Capabilities:
Check http status code

Disassembly:
lea r12, [rsp - 0xe8]
cmp r12, qword [r14 + 0x10]
jbe 0x14018d768
push rbp
mov rbp, rsp
sub rsp, 0x160
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x178], rbx
mov rdx, qword [rax]
mov rax, rdx
call dbg.github.com/gorilla/websocket.hostPortNoPort
mov rcx, qword [rsp + 0x170]
mov rdx, qword [rcx + 8]
mov rsi, qword [rdx]
mov rdi, rbx
mov rbx, qword [rsp + 0x180]
mov r8, rax
mov rax, qword [rsp + 0x178]
mov rcx, r8
call rsi
nop word [rax + rax]
test rcx, rcx
jne 0x14018d74d
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xd8], rbx
call dbg.runtime.makemap_small
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14018d34e
nop
cmp byte [rcx + 0x20], 0
je 0x14018d34e
mov rbx, qword [rcx]
mov rdx, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
lea rax, [rsp + 0x60]
mov rcx, rdx
lea rdi, [0x1402a2800]
mov esi, 1
call dbg.runtime.concatstring3
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x80]
nop
call dbg.runtime.stringtoslicebyte
mov rdx, qword [0x1403be490]
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call dbg.encoding/base64.(*Encoding).EncodeToString
mov ecx, 6
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x140248cb4]
call dbg.runtime.concatstring2
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x14024d69b]
mov ebx, 0x13
call dbg.net/textproto.CanonicalMIMEHeaderKey
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x58], rbx
lea rax, [0x140208620]
call sym.runtime.newobject
mov rdx, qword [rsp + 0x40]
mov qword [rax + 8], rdx
cmp dword [0x1404139d0], 0
nop
jne 0x14018d2cc
mov rdx, qword [rsp + 0xa8]
jmp 0x14018d2dc
call dbg.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0xa8]
mov qword [r11], rdx
mov qword [rsp + 0xe8], rax
mov qword [rax], rdx
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0x58]
lea rax, [0x14022d780]
call dbg.runtime.mapassign_faststr
mov qword [rax + 8], 1
mov qword [rax + 0x10], 1
cmp dword [0x1404139d0], 0
nop
jne 0x14018d32c
mov rcx, qword [rsp + 0xe8]
jmp 0x14018d343
call dbg.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0xe8]
mov qword [r11], rcx
mov rdx, qword [rax]
mov qword [r11 + 8], rdx
mov qword [rax], rcx
mov rax, qword [rsp + 0xf8]
lea rax, [0x140241260]
call sym.runtime.newobject
mov qword [rsp + 0xd0], rax
mov qword [rax + 8], 7
lea rcx, [0x140249010]
mov qword [rax], rcx
lea rax, [0x14023aba0]
nop dword [rax + rax]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x190]
mov qword [rax + 0x18], rcx
cmp dword [0x1404139d0], 0
jne 0x14018d3ac
mov rdx, qword [rsp + 0x188]
mov rsi, qword [rsp + 0xd0]
jmp 0x14018d3d0
call dbg.runtime.gcWriteBarrier3
mov rdx, qword [rsp + 0x188]
mov qword [r11], rdx
mov qword [r11 + 8], rax
mov rsi, qword [rsp + 0xd0]
mov rdi, qword [rsi + 0x10]
mov qword [r11 + 0x10], rdi
mov qword [rax + 0x10], rdx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x88], rcx
cmp dword [0x1404139d0], 0
jne 0x14018d3f2
mov rcx, qword [rsp + 0xf8]
jmp 0x14018d419
call dbg.runtime.gcWriteBarrier4
mov qword [r11], rdx
mov rcx, qword [rsi + 0x80]
mov qword [r11 + 8], rcx
mov rcx, qword [rsp + 0xf8]
mov qword [r11 + 0x10], rcx
mov rdi, qword [rsi + 0x38]
mov qword [r11 + 0x18], rdi
mov qword [rsi + 0x80], rdx
mov qword [rsi + 0x38], rcx
lea rax, [0x140214060]
mov rbx, qword [rsp + 0x100]
call dbg.runtime.convI2I
mov rbx, rax
mov rcx, qword [rsp + 0xd8]
xor edi, edi
xor esi, esi
xor r8d, r8d
mov rax, qword [rsp + 0xd0]
call dbg.net/http.(*Request).write
nop word [rax + rax]
test rax, rax
jne 0x14018d710
lea rax, [0x1402140e0]
mov rbx, qword [rsp + 0x100]
call dbg.runtime.convI2I
lea rcx, [0x1402a5060]
cmp rax, rcx
jne 0x14018d493
mov rcx, qword [rsp + 0xd8]
jmp 0x14018d498
mov ecx, 0
mov qword [rsp + 0xe0], rax
jne 0x14018d4b4
cmp qword [rcx + 8], 0x1000
jl 0x14018d4b4
mov rax, rcx
jmp 0x14018d5d3
lea rax, [0x140236c40]
nop dword [rax + rax]
call sym.runtime.newobject
mov qword [rsp + 0xc0], rax
mov ebx, 0x1000
mov rcx, rbx
lea rax, [0x1402038e0]
nop dword [rax]
call dbg.runtime.makeslice
movups xmmword [rsp + 0x108], xmm15
lea rdi, [rsp + 0x110]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.140067370
mov rbp, qword [rbp]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 0x1000
mov qword [rsp + 0x118], 0x1000
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x120], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x150], 0xffffffffffffffff
mov qword [rsp + 0x158], 0xffffffffffffffff
cmp dword [0x1404139d0], 0
je 0x14018d598
lea rax, [0x140236c40]
mov rbx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x108]
call dbg.runtime.wbMove
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x108]
mov rdi, qword [rsp + 0xc0]
mov qword [rdi], rdx
lea rdx, [rdi + 8]
lea rsi, [rsp + 0x110]
mov rax, rdi
mov rdi, rdx
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.1400676da
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0xd0]
nop dword [rax + rax]
call dbg.net/http.ReadResponse
test rbx, rbx
jne 0x14018d6d3
cmp qword [rax + 0x10], 0xc8
je 0x14018d6b6
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0xd8]
call rcx
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
lea rcx, [0x1402a2708]
mov edi, 1
xor esi, esi
mov r8d, 2
nop dword [rax]
call dbg.strings.genSplit
cmp rbx, 1
jbe 0x14018d75a
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0xb0], rdx
lea rax, [0x140217ba0]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
cmp dword [0x1404139d0], 0
jne 0x14018d68c
mov rdx, qword [rsp + 0xb0]
jmp 0x14018d69c
call dbg.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0xb0]
mov qword [r11], rdx
mov qword [rax], rdx
xor ebx, ebx
lea rcx, [0x1402a4ca0]
mov rdi, rax
xor eax, eax
add rsp, 0x160
pop rbp
ret
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xd8]
xor ecx, ecx
xor edi, edi
add rsp, 0x160
pop rbp
ret
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0xd8]
call rcx
xor eax, eax
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0xc8]
add rsp, 0x160
pop rbp
ret
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0xd8]
call rcx
xor eax, eax
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xa0]
add rsp, 0x160
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x160
pop rbp
ret
mov eax, 1
mov rcx, rbx
call dbg.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
nop
jmp dbg.github.com/gorilla/websocket.(*httpProxyDialer).Dial