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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fd2ab
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
lea edx, [0x5fa329]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call dbg.strings.LastIndex
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
test eax, eax
jl 0x4fd274
lea ecx, [eax + 1]
mov edx, dword [esp + 0x64]
cmp ecx, edx
ja 0x4fd2a4
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and ecx, edx
mov edx, dword [esp + 0x60]
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call dbg.net/url.parseHost
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4fd250
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x4fd22c
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x4fd29d
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.net/url.validUserinfo
movzx eax, byte [esp + 8]
test al, al
je 0x4fd1bb
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
lea edx, [0x5fa323]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call dbg.strings.Contains
movzx eax, byte [esp + 0x10]
test al, al
je 0x4fd0de
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [0x5fa323]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call dbg.net/url.split
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call dbg.net/url.unescape
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4fd0ba
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call dbg.net/url.unescape
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4fd096
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
lea eax, [0x5d7380]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x72ff50]
test ecx, ecx
jne 0x4fd080
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x72ff50]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4fd06a
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov byte [eax + 0x10], 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
jmp 0x4fd03e
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
jmp 0x4fd023
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x5c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call dbg.net/url.unescape
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
jne 0x4fd197
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ecx
lea eax, [0x5d7380]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x72ff50]
test ecx, ecx
jne 0x4fd181
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x72ff50]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4fd16b
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x4fd042
mov dword [esp], edx
mov dword [esp + 4], 0
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
jmp 0x4fd162
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
jmp 0x4fd147
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x5c
ret
lea eax, [0x5c9f00]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
mov ecx, dword [0x72ff50]
test ecx, ecx
jne 0x4fd210
lea ecx, [0x600886]
mov dword [eax], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x62abd0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov dword [esp + 0x54], eax
mov dword [esp], eax
lea ecx, [0x600886]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
jmp 0x4fd1e6
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x5c
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call dbg.net/url.parseHost
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
jmp 0x4fcecb
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.net/url.parseAuthority