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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5d2bb0
sub esp, 0xa0
lea eax, [0x5f3fe0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
lea ebx, [ecx + edx*2 + 1]
mov dword [esp + 0x30], ebx
mov dword [esp + 8], ebx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
je 0x5d239e
mov dword [esp + 0x9c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x30]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], esi
xor esi, esi
jmp 0x5d23d0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x50], edi
cmp edx, esi
jle 0x5d24ad
movzx ecx, byte [esi + ecx]
cmp ecx, 0x80
jge 0x5d23eb
inc esi
jmp 0x5d2439
mov dword [esp + 0x90], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call sym.runtime.decoderune
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x50]
cmp ecx, 0x80
jge 0x5d24a3
inc ebp
cmp ebx, ebp
jae 0x5d2495
mov dword [esp + 0x28], ecx
mov dword [esp + 0x8c], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f3fe0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x50]
mov byte [ebp + eax - 1], cl
inc edi
mov ecx, dword [esp + 0x24]
jmp 0x5d23c5
mov ecx, dword [esp + 0x24]
inc ecx
jmp 0x5d23c5
test edi, edi
jle 0x5d24fb
inc ebp
cmp ebx, ebp
jae 0x5d24f6
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f3fe0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0x50]
mov byte [ebp + eax - 1], 0x2d
mov esi, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov eax, pe_nt_image_headers32
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, 0x48
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
jmp 0x5d2545
inc ecx
inc ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0xac]
test esi, esi
je 0x5d2622
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, 0x7fffffff
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
jmp 0x5d268a
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x34]
sub ebx, ecx
mov dword [esp + 0x4c], ebx
lea ecx, [edi + 1]
sar ebx, 0x1f
mov eax, dword [esp + 0x4c]
mul ecx
imul ebx, ecx
add edx, ebx
sar ecx, 0x1f
mov ebx, dword [esp + 0x4c]
imul ebx, ecx
lea ecx, [edx + ebx]
mov edx, dword [esp + 0x44]
mov ebx, edx
sar edx, 0x1f
mov ebp, 0x7fffffff
sub ebp, ebx
mov esi, 0
sbb esi, edx
cmp esi, ecx
sete cl
setl dl
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ecx, ebp
or edx, ecx
test dl, dl
jne 0x5d26fd
lea ecx, [ebx + eax]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
jmp 0x5d2796
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa0
ret
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x30]
mov ebx, dword [esp + 0x90]
cmp edx, ebx
jle 0x5d2586
movzx eax, byte [ebx + ecx]
cmp eax, 0x80
jge 0x5d26a7
inc ebx
jmp 0x5d26d9
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.decoderune
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x88]
cmp ebp, eax
jle 0x5d26f2
mov esi, dword [esp + 0x34]
cmp esi, eax
jle 0x5d2669
jmp 0x5d26f6
mov esi, dword [esp + 0x34]
mov eax, ebp
jmp 0x5d2669
lea eax, [0x606b20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [0x7c5120]
test ecx, ecx
jne 0x5d272c
mov ecx, dword [esp + 0xac]
jmp 0x5d273a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6174f5]
mov dword [eax + 8], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [0x6684e4]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xa0
ret
mov dword [esp + 0x90], ebp
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x94], ebp
mov ebp, dword [esp + 0x90]
cmp edx, ebp
jle 0x5d2521
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x44], ecx
movzx eax, byte [ebp + eax]
cmp eax, 0x80
jge 0x5d27cd
inc ebp
jmp 0x5d280c
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.decoderune
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
cmp eax, ebx
jge 0x5d2822
inc ecx
test ecx, ecx
jl 0x5d298c
mov eax, dword [esp + 0x48]
jmp 0x5d277d
jle 0x5d282d
mov eax, dword [esp + 0x48]
jmp 0x5d277d
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, 0x24
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
jmp 0x5d2a6b
cmp ecx, 0x1a
jae 0x5d2855
add ecx, 0x61
jmp 0x5d2864
lea edx, [ecx - 0x1a]
cmp edx, 0xa
jae 0x5d2b7a
add ecx, 0x16
mov edx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x5d287a
mov eax, dword [esp + 0x94]
jmp 0x5d28cc
mov byte [esp + 0x22], cl
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f3fe0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov ebx, ecx
movzx ecx, byte [esp + 0x22]
mov dword [esp + 0x2c], edx
mov byte [edx + eax - 1], cl
mov ecx, dword [esp + 0x50]
cmp edi, ecx
jne 0x5d2909
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov ecx, 0x5d9f7391
imul ecx
sar edx, 8
mov ecx, dword [esp + 0x44]
sar ecx, 0x1f
sub edx, ecx
mov eax, dword [esp + 0x98]
mov ecx, edx
mov edx, dword [esp + 0x2c]
jmp 0x5d2918
mov ecx, dword [esp + 0x44]
shr ecx, 0x1f
mov ebp, dword [esp + 0x44]
add ecx, ebp
sar ecx, 1
cmp edi, 0xffffffff
je 0x5d2b75
lea ebp, [edi + 1]
mov edi, eax
mov eax, ecx
cmp ebp, 0xffffffff
je 0x5d2932
cdq
idiv ebp
jmp 0x5d2934
neg eax
add ecx, eax
xor eax, eax
jmp 0x5d2b5f
lea edx, [ecx + ecx*8]
cmp ecx, 0xffffffda
je 0x5d2b70
shl edx, 2
add ecx, 0x26
mov eax, edx
cmp ecx, 0xffffffff
je 0x5d295b
cdq
idiv ecx
jmp 0x5d295d
neg eax
dec esi
mov edx, dword [esp + 0x38]
add edx, eax
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x94], edi
mov edi, ebp
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x7c]
jmp 0x5d277d
lea eax, [0x606b20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [0x7c5120]
test ecx, ecx
jne 0x5d29bb
mov ecx, dword [esp + 0xac]
jmp 0x5d29c9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x6174f5]
mov dword [eax + 8], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [0x6684e4]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xa0
ret
mov edx, dword [esp + 0x94]
movzx eax, byte [esp + 0x23]
mov byte [ebx + edx - 1], al
mov edx, dword [esp + 0x3c]
add edx, 0x24
mov dword [esp + 0x3c], edx
mov eax, ecx
cmp ebp, 0xffffffff
je 0x5d2a33
cdq
idiv ebp
jmp 0x5d2a35
neg eax
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x7c]
mov ecx, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov edx, dword [esp + 0x3c]
cmp edx, eax
jg 0x5d2a80
mov ebx, 1
jmp 0x5d2a90
lea ebp, [eax + 0x1a]
cmp edx, ebp
jl 0x5d2a8c
mov ebx, 0x1a
mov ebp, dword [esp + 0x7c]
cmp ecx, ebx
jl 0x5d284b
lea ebp, [ebx - 0x24]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sub ecx, ebx
test ebp, ebp
je 0x5d2baa
mov eax, ecx
cmp ebp, 0xffffffff
je 0x5d2ab7
cdq
idiv ebp
jmp 0x5d2ab9
xor edx, edx
lea eax, [edx + ebx]
cmp eax, 0x1a
jae 0x5d2ac7
lea edx, [edx + ebx + 0x61]
jmp 0x5d2ad8
lea eax, [edx + ebx - 0x1a]
cmp eax, 0xa
jae 0x5d2b92
lea edx, [edx + ebx + 0x16]
mov byte [esp + 0x23], dl
mov ebx, dword [esp + 0x2c]
inc ebx
mov esi, dword [esp + 0x30]
cmp esi, ebx
jae 0x5d2a0c
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f3fe0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + 0x23]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x94], eax
mov esi, ecx
mov ecx, dword [esp + 0x78]
jmp 0x5d2a0c
mov eax, 0xea0ea0eb
imul ecx
add ecx, edx
sar ecx, 5
mov edx, dword [esp + 0x38]
lea eax, [edx + 0x24]
mov dword [esp + 0x38], eax
cmp ecx, 0x1c7
jg 0x5d2b4c
jmp 0x5d293d
call sym.runtime.panicdivide
call sym.runtime.panicdivide
lea eax, [0x5f3f60]
mov dword [esp], eax
lea eax, [0x667c40]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5f3f60]
mov dword [esp], eax
lea eax, [0x667c40]
mov dword [esp + 4], eax
call sym.runtime.gopanic
call sym.runtime.panicdivide
nop
call sym.runtime.morestack_noctxt
jmp sym.golang.org_x_net_idna.encode