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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b74ee
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, 1
mov byte [esp + 0x27], al
mov eax, 1
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x40]
jmp 0x4b7169
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, ecx
mov ebp, dword [esp + 0x4c]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], esi
sub esi, edi
cmp esi, 0xc
jle 0x4b74c8
test ebp, ebp
je 0x4b74a1
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], edi
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4b71d5
mov dword [esp + 0x50], ebp
mov ebp, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
call sym.slices.breakPatternsOrdered_go.shape.int_
mov eax, dword [esp + 0x50]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call sym.slices.choosePivotOrdered_go.shape.int_
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 2
je 0x4b721e
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebx, dword [esp + 0x58]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4b727a
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call sym.slices.reverseRangeOrdered_go.shape.int_
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov edx, dword [esp + 0x58]
mov ebx, edx
sub edx, eax
lea eax, [edx - 1]
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebp, 1
mov dword [esp + 0x48], eax
je 0x4b72e4
movzx esi, byte [esp + 0x26]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4b72e9
cmp ebp, 1
jne 0x4b72e9
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call sym.slices.partialInsertionSortOrdered_go.shape.int_
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4b749d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
jmp 0x4b72e9
movzx esi, byte [esp + 0x26]
test ecx, ecx
jg 0x4b72f1
xor ebp, ebp
jmp 0x4b7334
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x18]
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + ecx*4 - 4]
mov edi, dword [ebp + eax*4]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call sym.cmp.Less_go.shape.int_
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
mov ebp, eax
mov eax, dword [esp + 0x48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4b7386
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x1c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call sym.slices.partitionEqualOrdered_go.shape.int_
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
jmp 0x4b713f
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call sym.slices.partitionOrdered_go.shape.int_
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x58]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x20]
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
mov edi, dword [esp + 0x34]
sar edi, 3
mov dword [esp + 0x3c], edi
cmp ebx, eax
jle 0x4b7440
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
call sym.slices.pdqsortOrdered_go.shape.int_
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
setle al
mov ecx, dword [esp + 0x58]
jmp 0x4b7493
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
call sym.slices.pdqsortOrdered_go.shape.int_
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
setle al
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x26]
jmp 0x4b713f
add esp, 0x5c
ret
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call sym.slices.heapSortOrdered_go.shape.int_
add esp, 0x5c
ret
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call sym.slices.insertionSortOrdered_go.shape.int_
add esp, 0x5c
ret
call sym.runtime.morestack_noctxt
jmp sym.slices.pdqsortOrdered_go.shape.int_