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

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f856
sub esp, 0x6c
mov edx, dword [esp + 0x80]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x84]
xor eax, eax
jmp 0x58f375
mov esi, dword [esp + 0x34]
lea eax, [esi + 1]
mov ebx, ecx
cmp eax, 5
jge 0x58f45f
mov dword [esp + 0x34], eax
jmp 0x58f46c
cmp ebp, ebx
je 0x58f568
sub ebp, edx
cmp ebp, 0x32
jl 0x58f55c
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jbe 0x58f840
lea ebp, [ebx - 1]
mov edi, dword [esp + 0x74]
lea eax, [edi + ebx*8]
mov esi, dword [eax + 4]
cmp ecx, ebp
jbe 0x58f839
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 [0x927358]
mov ecx, ebx
sub ebx, edx
test esi, esi
je 0x58f416
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 0x58f437
mov eax, dword [esp + 0x40]
jmp 0x58f715
mov ebx, dword [esp + 0x84]
mov ebp, ebx
sub ebx, ecx
cmp ebx, 2
jl 0x58f36c
lea ebx, [ecx + 1]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
jmp 0x58f5a4
mov byte [esp + 0x88], 0
add esp, 0x6c
ret
inc ebx
mov dword [esp + 0x38], ebx
cmp ebp, ebx
jg 0x58f47b
xor ecx, ecx
jmp 0x58f54f
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jbe 0x58f84e
lea esi, [ebx - 1]
mov edi, dword [esp + 0x74]
lea eax, [edi + ebx*8]
cmp ecx, esi
jbe 0x58f847
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 0x58f507
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 0x58f507
mov eax, 1
jmp 0x58f534
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 0x58f46b
jmp 0x58f387
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 0x58f36c
cmp edi, ebx
jbe 0x58f6ef
lea edx, [ebx - 1]
lea ecx, [esi + ebx*8]
cmp edi, edx
jbe 0x58f6e6
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 0x58f637
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 0x58f637
mov eax, 1
jmp 0x58f664
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 0x58f6c3
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 [0x927358]
test edi, edi
je 0x58f574
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 0x58f574
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 0x58f36c
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 0x58f437
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 0x58f79d
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 0x58f79d
mov eax, 1
jmp 0x58f7ca
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 0x58f829
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 [0x927358]
test edi, edi
je 0x58f6f8
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 0x58f6f8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
jmp 0x58f437
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_