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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x579b06
sub esp, 0x6c
mov edx, dword [esp + 0x80]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x84]
xor eax, eax
jmp 0x579625
mov esi, dword [esp + 0x34]
lea eax, [esi + 1]
mov ebx, ecx
cmp eax, 5
jge 0x57970f
mov dword [esp + 0x34], eax
jmp 0x57971c
cmp ebp, ebx
je 0x579818
sub ebp, edx
cmp ebp, 0x32
jl 0x57980c
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jbe 0x579af0
lea ebp, [ebx - 1]
mov edi, dword [esp + 0x74]
lea eax, [edi + ebx*8]
mov esi, dword [eax + 4]
cmp ecx, ebp
jbe 0x579ae9
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
lea ecx, [edi + ebx*8 + 4]
lea ebp, [edi + ebx*8 - 8]
mov dword [esp + 0x68], ebp
mov esi, dword [ebp + 4]
lea edi, [edi + ebx*8 - 4]
mov dword [esp + 0x64], edi
mov ebp, dword [ebp]
mov edi, dword [eax]
mov dword [ecx], esi
mov esi, dword [0x8ef900]
mov ecx, ebx
sub ebx, edx
test esi, esi
je 0x5796c6
mov esi, edi
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebp
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [esp + 0x68]
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov edi, esi
mov dword [eax], ebp
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
mov dword [esi], ebp
mov ebp, dword [esp + 0x68]
mov dword [ebp], edi
cmp ebx, 2
jl 0x5796e7
mov eax, dword [esp + 0x40]
jmp 0x5799c5
mov ebx, dword [esp + 0x84]
mov ebp, ebx
sub ebx, ecx
cmp ebx, 2
jl 0x57961c
lea ebx, [ecx + 1]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
jmp 0x579854
mov byte [esp + 0x88], 0
add esp, 0x6c
ret
inc ebx
mov dword [esp + 0x38], ebx
cmp ebp, ebx
jg 0x57972b
xor ecx, ecx
jmp 0x5797ff
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jbe 0x579afe
lea esi, [ebx - 1]
mov edi, dword [esp + 0x74]
lea eax, [edi + ebx*8]
cmp ecx, esi
jbe 0x579af7
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
test byte [edx], al
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea ebp, [edi + ebx*8 - 8]
mov esi, dword [ebp]
mov dword [esp + 0x4c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x1c], ebp
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x5797b7
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x5797b7
mov eax, 1
jmp 0x5797e4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
call sym.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
setl al
xor eax, 1
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [esp + 0x34]
test cl, cl
jne 0x57971b
jmp 0x579637
mov byte [esp + 0x88], 0
add esp, 0x6c
ret
mov byte [esp + 0x88], 1
add esp, 0x6c
ret
mov dword [ebp], ecx
mov dword [ebx], edx
mov eax, dword [esp + 0x5c]
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
cmp ebp, ebx
jle 0x57961c
cmp edi, ebx
jbe 0x57999f
lea edx, [ebx - 1]
lea ecx, [esi + ebx*8]
cmp edi, edx
jbe 0x579996
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ecx
mov edx, dword [eax]
test byte [edx], al
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
lea edi, [esi + ebx*8 - 8]
mov dword [esp + 0x60], edi
mov eax, dword [edi]
mov dword [esp + 0x44], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x5798e7
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x5798e7
mov eax, 1
jmp 0x579914
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
call sym.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
setl al
test al, al
je 0x579973
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + edx*8 + 4]
mov esi, dword [esp + 0x60]
mov edi, dword [esi + 4]
mov eax, ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp]
mov dword [esp + 0x5c], ecx
lea ebx, [ebx + edx*8 - 4]
mov edx, dword [ebp + 4]
mov ecx, dword [esi]
mov dword [eax], edi
mov edi, dword [0x8ef900]
test edi, edi
je 0x579824
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [ebp]
mov dword [edi + 4], eax
mov eax, edx
mov edx, dword [esp + 0x5c]
mov dword [edi + 8], edx
mov edx, dword [esi]
mov dword [edi + 0xc], edx
mov edx, eax
jmp 0x579824
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
jmp 0x57961c
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
mov eax, ebx
mov ecx, edi
call sym.runtime.panicIndex
mov dword [ebp], ecx
mov dword [ebx], edx
mov ebx, dword [esp + 0x5c]
mov dword [esi], ebx
mov ebx, dword [esp + 0x30]
lea eax, [ebx - 1]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
test eax, eax
jle 0x5796e7
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
test byte [edx], al
mov edx, dword [esp + 0x74]
lea ebx, [edx + eax*8]
mov dword [esp + 0x68], ebx
mov ebp, dword [ebx]
mov dword [esp + 0x54], ebp
mov esi, dword [ebx + 4]
mov dword [esp + 0x24], esi
lea edi, [edx + eax*8 - 8]
mov dword [esp + 0x60], edi
mov ecx, dword [edi]
mov dword [esp + 0x48], ecx
mov ebx, dword [edi + 4]
mov dword [esp + 0x18], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x579a4d
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x579a4d
mov eax, 1
jmp 0x579a7a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
call sym.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
setl al
test al, al
je 0x579ad9
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + edx*8 + 4]
mov esi, dword [esp + 0x60]
mov edi, dword [esi + 4]
mov eax, ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp]
mov dword [esp + 0x5c], ecx
lea ebx, [ebx + edx*8 - 4]
mov edx, dword [ebp + 4]
mov ecx, dword [esi]
mov dword [eax], edi
mov edi, dword [0x8ef900]
test edi, edi
je 0x5799a8
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [ebp]
mov dword [edi + 4], eax
mov eax, edx
mov edx, dword [esp + 0x5c]
mov dword [edi + 8], edx
mov edx, dword [esi]
mov dword [edi + 0xc], edx
mov edx, eax
jmp 0x5799a8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
jmp 0x5796e7
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, esi
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.slices.partialInsertionSortOrdered_go.shape.string_