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

Disassembly:
mov ecx, dword [0x62bbe4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d9caa
sub esp, 0x68
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ecx, 1
mov byte [esp + 0x2b], cl
mov ecx, 1
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x4c]
jmp 0x4d98b5
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov edi, edx
mov esi, dword [esp + 0x60]
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2a], bl
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
sub edi, eax
cmp edi, 0xc
jle 0x4d9c17
test esi, esi
je 0x4d9be5
mov dword [esp + 0x38], edi
movzx edi, byte [esp + 0x2b]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4d992c
mov dword [esp + 0x64], esi
mov esi, dword [ecx + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x18], edi
call sym.slices.breakPatternsCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x64]
lea esi, [eax - 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x60], esi
mov edi, dword [ecx + 0xc]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x18], esi
call sym.slices.choosePivotCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, 2
jne 0x4d9986
mov dword [esp + 0x30], ecx
nop
mov eax, dword [esp + 0x44]
lea ebx, [eax - 1]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x48]
mov edx, esi
jmp 0x4d9c5e
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov dword [esp + 0x5c], ecx
je 0x4d9a02
movzx ebp, byte [esp + 0x2a]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4d9a07
cmp eax, 1
jne 0x4d9a07
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x18], edi
call sym.slices.partialInsertionSortCmpFunc_go.shape.uint8_
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x4d9c48
mov ecx, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x2b]
movzx ebp, byte [esp + 0x2a]
jmp 0x4d9a07
movzx ebp, byte [esp + 0x2a]
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4d9a13
xor edx, edx
jmp 0x4d9a4e
mov edx, dword [esp + 0x88]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + eax*4 - 4]
mov edi, dword [ebp + ecx*4]
mov dword [esp], esi
mov dword [esp + 4], edi
call ebx
mov eax, dword [esp + 8]
test eax, eax
setge al
mov ecx, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x2b]
movzx ebp, byte [esp + 0x2a]
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x4d9aab
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x18]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
call sym.slices.partitionEqualCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
jmp 0x4d9884
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
call sym.slices.partitionCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x44]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x24]
xchg esi, eax
mov byte [esp + 0x2a], al
xchg esi, eax
mov edi, dword [esp + 0x38]
sar edi, 3
mov dword [esp + 0x40], edi
cmp ebx, eax
jle 0x4d9b7d
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax + 0x20]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x88]
mov dword [esp + 0x1c], edi
call sym.slices.pdqsortCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
setle cl
mov edx, dword [esp + 0x44]
jmp 0x4d9bdb
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x88]
mov dword [esp + 0x1c], edi
call sym.slices.pdqsortCmpFunc_go.shape.uint8_
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
setle cl
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
movzx ebx, byte [esp + 0x2a]
jmp 0x4d9884
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
call sym.slices.heapSortCmpFunc_go.shape.uint8_
add esp, 0x68
ret
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
call sym.slices.insertionSortCmpFunc_go.shape.uint8_
add esp, 0x68
ret
add esp, 0x68
ret
mov dword [ebp + esi*4], eax
mov dword [ebp + ebx*4], ecx
inc esi
dec ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
cmp ebx, esi
jle 0x4d9c92
mov edi, dword [0x62bd10]
mov eax, dword [ebp + ebx*4]
mov ecx, dword [ebp + esi*4]
test edi, edi
je 0x4d9c4c
call sym.runtime.gcWriteBarrier4
mov dword [edi], eax
mov edx, dword [ebp + esi*4]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [ebp + ebx*4]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x48]
jmp 0x4d9c4c
sub ecx, edx
sub eax, ecx
lea ecx, [eax - 1]
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov eax, 1
jmp 0x4d998d
call sym.runtime.morestack_noctxt
jmp sym.slices.pdqsortCmpFunc_go.shape.uint8_