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

Disassembly:
mov ecx, dword [0x6975f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50dfbc
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x50d804
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x544715]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.LastIndex
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50d790
lea ecx, [eax + 1]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
je 0x50d761
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
lea eax, [0x525bc0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffffffff
je 0x50d756
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x50dfb6
mov ebx, dword [esp + 0x78]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x50df0e
mov ecx, dword [esp + 0x7c]
xor edx, edx
jmp 0x50d834
mov eax, dword [esp + 0x78]
mov dword [esp + 0x80], eax
lea eax, [edx - 1]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50d7b9
mov ecx, dword [esp + 0x78]
jmp 0x50d7c4
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x48], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x30], edi
xor edi, edi
jmp 0x50d87b
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp ebx, esi
jle 0x50da5e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], eax
mov eax, 1
mov dword [esp + 0x4c], eax
mov eax, 0x24
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x50dad3
mov edx, dword [esp + 0x28]
cmp edx, 0x400
jge 0x50dc7f
mov ebp, dword [esp + 0x38]
mov esi, ebx
sub ebx, ebp
test ebp, ebp
jne 0x50d8e1
mov eax, 0x5d9f7391
mov ecx, edx
imul ebx
sar edx, 8
sar ebx, 0x1f
sub edx, ebx
jmp 0x50d8ee
mov ebp, ebx
shr ebx, 0x1f
add ebx, ebp
sar ebx, 1
mov ecx, edx
mov edx, ebx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x50def8
mov eax, edx
mov ecx, eax
cmp ebx, 0xffffffff
je 0x50d907
cdq
idiv ebx
jmp 0x50d909
neg eax
lea edx, [ecx + eax]
xor eax, eax
jmp 0x50de62
lea ebp, [edx + edx*8]
cmp edx, 0xffffffda
je 0x50def3
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edx
mov ecx, eax
mov eax, esi
cmp ebx, 0xffffffff
je 0x50d935
cdq
idiv ebx
jmp 0x50d937
neg eax
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x30], edx
shl ebp, 2
mov edi, dword [esp + 0x40]
add edi, 0x26
mov eax, ebp
cmp edi, 0xffffffff
je 0x50d957
cdq
idiv edi
jmp 0x50d959
neg eax
mov edx, eax
mov eax, esi
mov ebp, edx
cmp ebx, 0xffffffff
je 0x50d969
cdq
idiv ebx
jmp 0x50d96b
xor edx, edx
add ebp, ecx
mov esi, dword [esp + 0x30]
cmp esi, 0x10ffff
ja 0x50de6f
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x2c]
cmp edi, ebx
jb 0x50d993
mov eax, dword [esp + 0x6c]
jmp 0x50d9d3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x525bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov edi, ecx
mov dword [eax + ebx*4 - 4], 0
lea ecx, [edx + 1]
cmp ebx, ecx
jb 0x50deea
mov dword [esp + 0x2c], edi
mov dword [esp + 0x64], ecx
sub edi, edx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ecx, 2
sar edi, 0x1f
and edi, ecx
add edi, eax
mov ecx, ebx
sub ebx, edx
cmp ecx, edx
jb 0x50dee3
mov dword [esp + 0x68], ecx
dec ebx
sub ecx, edx
mov ebp, dword [esp + 0x2c]
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
lea edx, [ebp + eax]
cmp ecx, ebx
jl 0x50da32
mov ecx, ebx
cmp edx, edi
je 0x50d858
mov dword [esp + 0x70], eax
mov dword [esp], edi
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
jmp 0x50d858
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call sym.runtime.slicerunetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [esi + 0x24]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
mov esi, edi
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
je 0x50dddb
jbe 0x50defd
movzx eax, byte [ebp + esi]
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x50dafb
add eax, 0xffffffea
movzx eax, al
mov ecx, 1
jmp 0x50db23
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x50db0d
movzx eax, cl
mov ecx, 1
jmp 0x50db23
add eax, 0xffffff9f
cmp al, 0x19
ja 0x50db1f
movzx eax, al
mov ecx, 1
jmp 0x50db23
xor ecx, ecx
xor eax, eax
test cl, cl
je 0x50dd67
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [esp + 0x4c]
mul edx
mov ebp, dword [esp + 0x4c]
imul ecx, ebp
add edx, ecx
mov ecx, ebp
sar ebp, 0x1f
mov dword [esp + 0x64], ebp
mov ebx, dword [esp + 0x3c]
imul ebx, ebp
add edx, ebx
mov ebx, edi
sar edi, 0x1f
mov ebp, 0x7fffffff
sub ebp, ebx
mov esi, 0
sbb esi, edi
cmp esi, edx
sete dl
xchg esi, ebx
setl bl
xchg esi, ebx
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ebp
or edx, esi
test dl, dl
jne 0x50dcf3
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
mov esi, edx
sub edx, ebp
add ebx, eax
cmp esi, ebp
jg 0x50dba6
mov edx, 1
jmp 0x50dbb2
lea edi, [ebp + 0x1a]
cmp esi, edi
jl 0x50dbb2
mov edx, 0x1a
mov edi, dword [esp + 0x24]
inc edi
mov ebp, dword [esp + 0x3c]
cmp edx, ebp
jg 0x50d8b2
mov dword [esp + 0x60], ebx
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x44], edx
mov eax, edx
mul ecx
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
imul ebx, ebp
sar ebp, 0x1f
imul ecx, ebp
add edx, ecx
add edx, ebx
test edx, edx
sete dl
setg bl
cmp eax, 0x7fffffff
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x50daa6
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50dc34
mov ecx, dword [esp + 0x78]
jmp 0x50dc3f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50dca8
mov ecx, dword [esp + 0x78]
jmp 0x50dcb3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50dd1c
mov ecx, dword [esp + 0x78]
jmp 0x50dd27
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50dd90
mov ecx, dword [esp + 0x78]
jmp 0x50dd9b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50de04
mov ecx, dword [esp + 0x78]
jmp 0x50de0f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, eax
mov eax, 0xea0ea0eb
mov ebp, edx
imul edx
add edx, ebp
sar edx, 5
lea eax, [ecx + 0x24]
cmp edx, 0x1c7
jg 0x50de4f
jmp 0x50d913
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50de98
mov ecx, dword [esp + 0x78]
jmp 0x50dea3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x544778]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x57c70c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, edx
call sym.runtime.panicSliceB
mov eax, ecx
mov ecx, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicdivide
call sym.runtime.panicdivide
mov eax, esi
mov ecx, ebx
call sym.runtime.panicIndex
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x7c]
cmp esi, ecx
jge 0x50dfad
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x50df25
inc esi
jmp 0x50df5d
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call sym.runtime.decoderune
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
inc edi
cmp edx, edi
jae 0x50df06
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x525bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
jmp 0x50df06
mov ecx, edx
mov edx, edi
jmp 0x50d834
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_idna.decode