Function at 0x59fef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a0503
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
jg 0x59ff13
xor ecx, ecx
jmp 0x59ff3c
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x6acbf8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
test cl, cl
jne 0x59ffd6
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7118e4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.LastIndex
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x5a030b
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jb 0x5a04fd
mov edx, ecx
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x6c]
add eax, ecx
test ebx, ebx
je 0x59ffcc
cmp byte [eax], 0x3a
jne 0x59ffc5
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], eax
lea ebp, [ebx - 1]
mov dword [esp + 0x44], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, eax
mov dword [esp + 0x5c], ebp
xor edi, edi
jmp 0x5a04a1
xor ebp, ebp
jmp 0x5a0410
mov ebp, 1
jmp 0x5a0410
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, str.__r:CB
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.LastIndex
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5a007a
lea edx, [eax + 1]
mov ecx, dword [esp + 0x70]
cmp ecx, edx
jb 0x5a0409
mov dword [esp + 0x28], eax
mov ebx, ecx
sub ecx, eax
mov dword [esp + 0x48], ecx
lea ebp, [ecx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and edx, ebp
mov ebp, dword [esp + 0x6c]
add edx, ebp
cmp ecx, 1
je 0x5a0073
cmp byte [edx], 0x3a
jne 0x5a006f
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], edx
lea edi, [ecx - 2]
mov dword [esp + 0x40], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add edi, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
jmp 0x5a0395
xor edi, edi
jmp 0x5a00c0
mov edi, 1
jmp 0x5a00c0
lea eax, [0x67ca80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6b1464]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x713830]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x68
ret
xchg edi, eax
test al, al
xchg edi, eax
je 0x5a0288
mov dword [esp], ebp
mov dword [esp + 4], eax
lea ecx, [0x6acdb4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call sym.strings.Index
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x5a030b
mov edx, dword [esp + 0x70]
cmp edx, ecx
jb 0x5a0380
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call sym.net_url.unescape
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5a0265
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp eax, ebx
ja 0x5a0379
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], ecx
sub ebx, eax
mov edx, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0x6c]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call sym.net_url.unescape
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5a0242
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x48]
mov ecx, eax
neg eax
sar eax, 0x1f
mov edx, dword [esp + 0x28]
and edx, eax
mov eax, dword [esp + 0x6c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call sym.net_url.unescape
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5a01df
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], edx
mov dword [esp + 4], esi
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x672480]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x6b4a62]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call sym.net_url.unescape
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5a0352
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov ecx, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
jge 0x5a03f7
movzx esi, byte [ecx + edi]
cmp esi, 0x80
jge 0x5a03b0
inc ecx
jmp 0x5a03dc
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.decoderune
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
add esi, 0xffffffd0
cmp esi, 9
jbe 0x5a0385
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
xor edi, edi
jmp 0x5a00c0
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x70]
mov edi, 1
jmp 0x5a00c0
mov eax, edx
call sym.runtime.panicSliceB
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5a030b
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x672480]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x6b4a62]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov ebx, dword [esp + 0x48]
cmp edi, esi
jge 0x5a04f3
movzx ebx, byte [edi + ebp]
cmp ebx, 0x80
jge 0x5a04b4
inc edi
jmp 0x5a04e0
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call sym.runtime.decoderune
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
add ebx, 0xffffffd0
cmp ebx, 9
jbe 0x5a049d
mov ebx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x5a0410
mov ebp, 1
jmp 0x5a0410
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.net_url.parseHost