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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5b4c5d
sub esp, 0x88
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x5b45ac
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
jmp 0x5b463d
mov ecx, dword [esp + 0x94]
cmp byte [ecx], 0x2f
je 0x5b463d
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
lea edx, [0x6c1136]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.LastIndex
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x90]
cmp edx, ecx
jb 0x5b4c57
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, ecx
mov ecx, edx
test eax, eax
je 0x5b46f0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
lea edx, [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
inc ebx
mov ebp, dword [esp + 0x7c]
cmp edx, ebx
jae 0x5b46d4
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x34], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], ebx
mov byte [ebx + ebp - 1], 0x2f
mov edx, 1
mov ebx, 1
xor ebp, ebp
xor esi, esi
jmp 0x5b471d
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov edi, edx
mov edx, ecx
mov ecx, edi
mov edi, eax
mov eax, ebx
mov ebx, esi
mov esi, ebp
mov ebp, edi
test dl, dl
je 0x5b493d
mov byte [esp + 0x27], bl
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6c1136]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.strings.Cut
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x5b476b
cmp byte [ebp], 0x2e
jne 0x5b476b
xor esi, esi
jmp 0x5b470d
mov byte [esp + 0x26], cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ebp
cmp eax, 2
jne 0x5b47d1
cmp word [ebp], 0x2e2e
jne 0x5b47d1
mov esi, dword [esp + 0x7c]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov eax, dword [esp + 0x80]
cmp eax, esi
ja 0x5b4c49
cmp eax, 1
jb 0x5b4c3d
lea esi, [eax - 1]
mov dword [esp + 0x2c], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, edi
lea edi, [eax - 2]
mov eax, dword [esp + 0x2c]
jmp 0x5b4a6e
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5b4870
mov esi, dword [esp + 0x78]
nop
nop
test esi, esi
je 0x5b47f7
lea edi, [esp + 0x78]
cmp esi, edi
je 0x5b47ff
jmp 0x5b4a50
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
inc edi
mov ecx, dword [esp + 0x7c]
cmp esi, edi
jae 0x5b485f
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x80], edi
mov byte [edi + ecx - 1], 0x2f
movzx ecx, byte [esp + 0x26]
mov esi, dword [esp + 0x78]
nop
nop
test esi, esi
je 0x5b4887
lea edi, [esp + 0x78]
cmp esi, edi
je 0x5b488f
jmp 0x5b4a38
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
lea ecx, [eax + edi]
mov edx, dword [esp + 0x7c]
cmp esi, ecx
jae 0x5b48e2
mov dword [esp + 0x40], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x686a60]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
lea ebx, [edx + edi]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
xor eax, eax
movzx ecx, byte [esp + 0x26]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
mov esi, eax
mov eax, dword [esp + 0x38]
jmp 0x5b470d
cmp ebp, 1
jne 0x5b4947
cmp byte [esi], 0x2e
je 0x5b4957
cmp ebp, 2
jne 0x5b49d2
cmp word [esi], 0x2e2e
jne 0x5b49d2
mov eax, dword [esp + 0x78]
nop
nop
test eax, eax
je 0x5b496e
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x5b4976
jmp 0x5b4a20
lea eax, [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
inc ecx
mov edx, dword [esp + 0x7c]
cmp eax, ecx
jae 0x5b49c6
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov byte [ecx + edx - 1], 0x2f
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, ecx
neg ecx
nop
cmp eax, ecx
ja 0x5b4a12
cmp eax, 1
jle 0x5b49fb
cmp byte [edx + 1], 0x2f
jne 0x5b49f7
lea ecx, [edx + 1]
dec eax
jmp 0x5b49fd
mov ecx, edx
jmp 0x5b49fd
mov ecx, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x88
ret
test edx, edx
je 0x5b4a1b
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
dec edi
movzx ecx, byte [esp + 0x26]
test edi, edi
jl 0x5b4a89
cmp edi, eax
jae 0x5b4c34
lea ecx, [edi + esi]
cmp byte [ecx], 0x2f
jne 0x5b4a68
movzx ecx, byte [esp + 0x26]
jmp 0x5b4a8e
mov edi, 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x28], edi
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
nop
nop
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
inc eax
mov ecx, dword [esp + 0x7c]
cmp esi, eax
jae 0x5b4b29
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x28]
mov eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov byte [eax + ecx - 1], 0x2f
cmp edi, 0xffffffff
jne 0x5b4b44
mov eax, 1
jmp 0x5b4921
mov eax, dword [esp + 0x2c]
cmp edi, eax
ja 0x5b4c2b
mov eax, dword [esp + 0x78]
nop
test eax, eax
je 0x5b4b66
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x5b4b6e
jmp 0x5b4c13
lea eax, [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
lea esi, [edi + ecx]
mov edx, dword [esp + 0x7c]
cmp eax, esi
jae 0x5b4bbd
mov dword [esp + 0x40], ecx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x74], edx
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
movzx eax, byte [esp + 0x27]
jmp 0x5b4921
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738850]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, edi
mov edx, eax
call sym.runtime.panicSliceAlen
mov ecx, eax
mov eax, edi
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
test edi, edi
je 0x5b4c52
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.net_url.resolvePath