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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x57ad8d
sub esp, 0xa4
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
lea edx, [ecx + eax*2 + 1]
mov dword [esp + 0x34], edx
lea ebx, [0x601dc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa8]
cmp ecx, eax
je 0x57a5ae
mov dword [esp + 0xa0], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov edx, dword [esp + 0x34]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x28], esi
xor esi, esi
jmp 0x57a5e0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x54], edi
cmp ebx, esi
jle 0x57a6b1
movzx ecx, byte [ecx + esi]
cmp ecx, 0x80
jge 0x57a5fb
inc esi
jmp 0x57a643
mov dword [esp + 0x74], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call sym.runtime.decoderune
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
cmp ecx, 0x80
jge 0x57a6a7
inc ebp
cmp edx, ebp
jae 0x57a699
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x601dc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
mov byte [ebp + eax - 1], cl
inc edi
mov ecx, dword [esp + 0x28]
jmp 0x57a5d5
mov ecx, dword [esp + 0x28]
inc ecx
jmp 0x57a5d5
test edi, edi
jle 0x57a6ff
inc ebp
cmp edx, ebp
jae 0x57a6fa
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x601dc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0x54]
mov byte [ebp + eax - 1], 0x2d
mov esi, dword [esp + 0x28]
mov dword [esp + 0x90], eax
mov eax, pe_nt_image_headers32
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, 0x48
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
jmp 0x57a74f
inc ecx
inc edx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xb0]
test esi, esi
je 0x57a831
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, 0x7fffffff
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
jmp 0x57a893
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
sub edx, ecx
mov dword [esp + 0x50], edx
lea ecx, [edi + 1]
sar edx, 0x1f
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mul ecx
mov ebx, dword [esp + 0x68]
imul ebx, ecx
add edx, ebx
sar ecx, 0x1f
mov ebx, dword [esp + 0x50]
imul ebx, ecx
lea ecx, [edx + ebx]
mov edx, dword [esp + 0x48]
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 0x57a8fc
lea ecx, [ebx + eax]
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
jmp 0x57a992
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 + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xa4
ret
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
cmp ebx, edx
jle 0x57a790
movzx eax, byte [ecx + edx]
cmp eax, 0x80
jge 0x57a8ad
inc edx
jmp 0x57a8df
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.runtime.decoderune
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x6c]
cmp ebp, eax
jle 0x57a8f1
mov esi, dword [esp + 0x38]
cmp esi, eax
jle 0x57a878
jmp 0x57a8f5
mov esi, dword [esp + 0x38]
mov eax, ebp
jmp 0x57a878
lea eax, [0x622ec0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x57a92b
mov ecx, dword [esp + 0xb0]
jmp 0x57a939
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x63da00]
mov dword [eax + 8], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x68c404]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xa4
ret
mov dword [esp + 0x74], ebp
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0x74]
cmp ebx, ebp
jle 0x57a72b
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x48], ecx
movzx eax, byte [eax + ebp]
cmp eax, 0x80
jge 0x57a9bf
inc ebp
jmp 0x57a9f5
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call sym.runtime.decoderune
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
cmp eax, edx
jge 0x57aa0b
inc ecx
test ecx, ecx
jl 0x57ab6c
mov eax, dword [esp + 0x4c]
jmp 0x57a97c
jle 0x57aa16
mov eax, dword [esp + 0x4c]
jmp 0x57a97c
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, 0x24
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
jmp 0x57ac43
cmp ecx, 0x1a
jae 0x57aa3e
add ecx, 0x61
jmp 0x57aa4d
lea edx, [ecx - 0x1a]
cmp edx, 0xa
jae 0x57ad57
add ecx, 0x16
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x57aa63
mov eax, dword [esp + 0x98]
jmp 0x57aaaf
mov byte [esp + 0x22], cl
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x601dc0]
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 + 0x5c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebx, ecx
movzx ecx, byte [esp + 0x22]
mov dword [esp + 0x30], edx
mov byte [edx + eax - 1], cl
mov ecx, dword [esp + 0x54]
cmp edi, ecx
jne 0x57aaec
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x48]
mov ecx, 0x5d9f7391
imul ecx
sar edx, 8
mov ecx, dword [esp + 0x48]
sar ecx, 0x1f
sub edx, ecx
mov eax, dword [esp + 0x9c]
mov ecx, edx
mov edx, dword [esp + 0x30]
jmp 0x57aafb
mov ecx, dword [esp + 0x48]
shr ecx, 0x1f
mov ebp, dword [esp + 0x48]
add ecx, ebp
sar ecx, 1
cmp edi, 0xffffffff
je 0x57ad52
lea ebp, [edi + 1]
mov edi, eax
mov eax, ecx
cmp ebp, 0xffffffff
je 0x57ab15
cdq
idiv ebp
jmp 0x57ab17
neg eax
add ecx, eax
xor eax, eax
jmp 0x57ad3c
lea edx, [ecx + ecx*8]
cmp ecx, 0xffffffda
je 0x57ad4d
shl edx, 2
add ecx, 0x26
mov eax, edx
cmp ecx, 0xffffffff
je 0x57ab3e
cdq
idiv ecx
jmp 0x57ab40
neg eax
dec esi
mov edx, dword [esp + 0x3c]
add edx, eax
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x98], edi
mov edi, ebp
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x5c]
jmp 0x57a97c
lea eax, [0x622ec0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x57ab9b
mov ecx, dword [esp + 0xb0]
jmp 0x57aba9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea ecx, [0x63da00]
mov dword [eax + 8], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x68c404]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xa4
ret
mov edx, dword [esp + 0x98]
movzx eax, byte [esp + 0x23]
mov byte [esi + edx - 1], al
lea eax, [ebx + 0x24]
mov ebx, eax
mov eax, ecx
cmp ebp, 0xffffffff
je 0x57ac0d
cdq
idiv ebp
jmp 0x57ac0f
neg eax
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x98]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x40], ebx
mov ecx, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub edx, eax
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jg 0x57ac58
mov edx, 1
jmp 0x57ac68
lea ebp, [eax + 0x1a]
cmp ebx, ebp
jl 0x57ac64
mov edx, 0x1a
mov ebp, dword [esp + 0x5c]
cmp ecx, edx
jl 0x57aa34
lea ebp, [edx - 0x24]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sub ecx, edx
test ebp, ebp
je 0x57ad87
mov dword [esp + 0x24], edx
mov eax, ecx
cmp ebp, 0xffffffff
je 0x57ac93
cdq
idiv ebp
jmp 0x57ac95
xor edx, edx
mov esi, dword [esp + 0x24]
lea eax, [edx + esi]
cmp eax, 0x1a
jae 0x57aca7
lea edx, [edx + esi + 0x61]
jmp 0x57acb8
lea eax, [edx + esi - 0x1a]
cmp eax, 0xa
jae 0x57ad6f
lea edx, [edx + esi + 0x16]
mov byte [esp + 0x23], dl
mov esi, dword [esp + 0x30]
inc esi
mov edi, dword [esp + 0x34]
cmp edi, esi
jae 0x57abec
mov dword [esp + 0x68], ecx
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x601dc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + 0x23]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov edi, ecx
mov ecx, dword [esp + 0x68]
jmp 0x57abec
mov eax, 0xea0ea0eb
imul ecx
add ecx, edx
sar ecx, 5
mov edx, dword [esp + 0x3c]
lea eax, [edx + 0x24]
mov dword [esp + 0x3c], eax
cmp ecx, 0x1c7
jg 0x57ad29
jmp 0x57ab20
call sym.runtime.panicdivide
call sym.runtime.panicdivide
lea eax, [0x601a80]
mov dword [esp], eax
lea eax, [0x68bcf8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x601a80]
mov dword [esp], eax
lea eax, [0x68bcf8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
call sym.runtime.panicdivide
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_idna.encode